POST api/Files/UploadFile
Request Information
URI Parameters
None.
Body Parameters
UploadFilesParametersName | Description | Type | Additional information |
---|---|---|---|
Files | Collection of FileParameter |
None. |
|
PrivateKey | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Files": [ { "FileContent": "QEA=", "FileName": "sample string 1", "CodigoUnico": "19d67c66-943f-4b7e-bc59-71fb5e96ae57", "ID": 1 }, { "FileContent": "QEA=", "FileName": "sample string 1", "CodigoUnico": "19d67c66-943f-4b7e-bc59-71fb5e96ae57", "ID": 1 } ], "PrivateKey": "7fb08b7f-00b0-44be-97ef-570661f55776" }
application/xml, text/xml
Sample:
<UploadFilesParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SEDI_CDN.Class.Entities.Files"> <Files> <FileParameter> <CodigoUnico>19d67c66-943f-4b7e-bc59-71fb5e96ae57</CodigoUnico> <FileContent>QEA=</FileContent> <FileName>sample string 1</FileName> <ID>1</ID> </FileParameter> <FileParameter> <CodigoUnico>19d67c66-943f-4b7e-bc59-71fb5e96ae57</CodigoUnico> <FileContent>QEA=</FileContent> <FileName>sample string 1</FileName> <ID>1</ID> </FileParameter> </Files> <PrivateKey>7fb08b7f-00b0-44be-97ef-570661f55776</PrivateKey> </UploadFilesParameters>
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. |