POST api/ExportData/RunReport/User
Retrieve the Export Data file (when ExportSourceID=10009)
Request Information
URI Parameters
None.
Body Parameters
ExportDataUserParm| Name | Description | Type | Additional information |
|---|---|---|---|
| auth | string |
None. |
|
| ExportMasterID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ExportMasterID": 2,
"auth": "sample string 1"
}
application/xml, text/xml
Sample:
<ExportDataUserParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mnx.WebApi.Shipper.Models"> <ExportMasterID>2</ExportMasterID> <auth>sample string 1</auth> </ExportDataUserParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ExportDataUserResp| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccessful |
Used to determine if method call was successful (true) or failure (false) |
boolean |
None. |
| ErrorMessage |
The error message if method call was not successful |
string |
None. |
| FileData |
The raw file data |
string |
None. |
| FileName |
The name of the data file created |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ErrorMessage": "sample string 2",
"FileData": "sample string 3",
"FileName": "sample string 4",
"IsSuccessful": true
}
application/xml, text/xml
Sample:
<ExportDataUserResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mnx.WebApi.Shipper.Models"> <ErrorMessage>sample string 2</ErrorMessage> <FileData>sample string 3</FileData> <FileName>sample string 4</FileName> <IsSuccessful>true</IsSuccessful> </ExportDataUserResp>