[HTTP GET] ~/files?filePath={filePath}
Description: Gets and returns a file as specified by the filePath parameter
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
filePath |
The relative path (including filename) to the file in the FTP folder |
string |
Required |
Body Parameters
None
Response Information
Description
Successful Response - OK (200):
The contents of the file
Response Content : HttpResponseMessage
Name | 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. |
Response Codes:
-
200 - OK
- The File was retrieved and returned successfully.
-
401 - Unauthorized
- Request has been denied as it lacks valid Authentication credentials.
-
403 - Forbidden
- The user is missing required FileExport permission.
-
404 - NotFound
- The specified file was not found.
-
500 - InternalServerError
- An error occurred while processing this request.