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": "98f486b3-73dd-4c57-aab4-00040f8044c8", "ID": 1 }, { "FileContent": "QEA=", "FileName": "sample string 1", "CodigoUnico": "98f486b3-73dd-4c57-aab4-00040f8044c8", "ID": 1 } ], "PrivateKey": "7c4b702f-fcbc-432c-81a3-f2b7cf692350" }
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>98f486b3-73dd-4c57-aab4-00040f8044c8</CodigoUnico> <FileContent>QEA=</FileContent> <FileName>sample string 1</FileName> <ID>1</ID> </FileParameter> <FileParameter> <CodigoUnico>98f486b3-73dd-4c57-aab4-00040f8044c8</CodigoUnico> <FileContent>QEA=</FileContent> <FileName>sample string 1</FileName> <ID>1</ID> </FileParameter> </Files> <PrivateKey>7c4b702f-fcbc-432c-81a3-f2b7cf692350</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. |