POST api/Upload/fileImport

Request Information

URI Parameters

None.

Body Parameters

ImageModel
NameDescriptionTypeAdditional information
MineType

string

None.

Bytes

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "mineType": "sample string 1",
  "bytes": "QEA="
}

application/xml, text/xml

Sample:
<ImageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Image">
  <Bytes>QEA=</Bytes>
  <MineType>sample string 1</MineType>
</ImageModel>

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>