POST api/Images/UploadImage
Request Information
URI Parameters
None.
Body Parameters
UploadImagesParametersName | Description | Type | Additional information |
---|---|---|---|
Images | Collection of ImageParameter |
None. |
|
PrivateKey | globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{ "Images": [ { "Width": 1, "Height": 1, "Quality": 1, "Compress": true, "FileContent": "QEA=", "FileName": "sample string 1", "CodigoUnico": "e8e66af1-ab86-4cfb-a308-5b065f4f0edc", "ID": 1 }, { "Width": 1, "Height": 1, "Quality": 1, "Compress": true, "FileContent": "QEA=", "FileName": "sample string 1", "CodigoUnico": "e8e66af1-ab86-4cfb-a308-5b065f4f0edc", "ID": 1 } ], "PrivateKey": "4e4e7ab8-7b0b-4d13-9149-1b1da3858237" }
application/xml, text/xml
Sample:
<UploadImagesParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SEDI_CDN.Class.Entities.Files"> <Images> <ImageParameter> <CodigoUnico>e8e66af1-ab86-4cfb-a308-5b065f4f0edc</CodigoUnico> <FileContent>QEA=</FileContent> <FileName>sample string 1</FileName> <ID>1</ID> <Compress>true</Compress> <Height>1</Height> <Quality>1</Quality> <Width>1</Width> </ImageParameter> <ImageParameter> <CodigoUnico>e8e66af1-ab86-4cfb-a308-5b065f4f0edc</CodigoUnico> <FileContent>QEA=</FileContent> <FileName>sample string 1</FileName> <ID>1</ID> <Compress>true</Compress> <Height>1</Height> <Quality>1</Quality> <Width>1</Width> </ImageParameter> </Images> <PrivateKey>4e4e7ab8-7b0b-4d13-9149-1b1da3858237</PrivateKey> </UploadImagesParameters>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |