POST api/FileHandling/UploadMethod
Request Information
URI Parameters
None.
Body Parameters
UploadFileName | Description | Type | Additional information |
---|---|---|---|
FilePath | string |
None. |
|
bytes | Collection of byte |
None. |
|
FileName | string |
None. |
|
FileLength | integer |
None. |
Request 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>
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. |