POST api/Upload/UploadFile

Request Information

URI Parameters

None.

Body Parameters

UploadModel
NameDescriptionTypeAdditional information
ImageName

string

None.

ContentType

string

None.

ContentSize

integer

None.

Image

Collection of byte

None.

Path

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ImageName": "sample string 1",
  "ContentType": "sample string 2",
  "ContentSize": 3,
  "Image": "QEA=",
  "Path": "sample string 4"
}

application/xml, text/xml

Sample:
<UploadModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DocumentUpload.Models">
  <ContentSize>3</ContentSize>
  <ContentType>sample string 2</ContentType>
  <Image>QEA=</Image>
  <ImageName>sample string 1</ImageName>
  <Path>sample string 4</Path>
</UploadModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>