POST api/Ecourier/Status
Use this method to send status from e-courier system to MxTMS
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
EcourierStatusResp| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccessful |
True=success status update, false = error |
boolean |
None. |
| ErrorMessage |
Error message if IsSuccessful=false |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccessful": true,
"ErrorMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<EcourierStatusResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mnx.WebApi.Transportation.Models"> <ErrorMessage>sample string 2</ErrorMessage> <IsSuccessful>true</IsSuccessful> </EcourierStatusResp>