POST api/FileHandling/Post
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
UploadFile| Name | Description | Type | Additional information |
|---|---|---|---|
| FilePath | string |
None. |
|
| bytes | Collection of byte |
None. |
|
| FileName | string |
None. |
|
| FileLength | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"FilePath": "sample string 1",
"bytes": "QEA=",
"FileName": "sample string 2",
"FileLength": 3
}
application/xml, text/xml
Sample:
<UploadFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NHAWK_FLEET_API.Controllers"> <FileLength>3</FileLength> <FileName>sample string 2</FileName> <FilePath>sample string 1</FilePath> <bytes>QEA=</bytes> </UploadFile>