GET api/StatusCode/{auth}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
auth | string |
Required |
Body Parameters
None.
Response Information
Resource Description
StatusCodeRespName | Description | Type | Additional information |
---|---|---|---|
IsSuccessful | boolean |
None. |
|
ErrorMessage | string |
None. |
|
StatusCodes | Collection of StatusCodeItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccessful": true, "ErrorMessage": "sample string 2", "StatusCodes": [ { "Code": 1, "Name": "sample string 2" }, { "Code": 1, "Name": "sample string 2" } ] }
application/xml, text/xml
Sample:
<StatusCodeResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models"> <ErrorMessage>sample string 2</ErrorMessage> <IsSuccessful>true</IsSuccessful> <StatusCodes> <StatusCodeItem> <Code>1</Code> <Name>sample string 2</Name> </StatusCodeItem> <StatusCodeItem> <Code>1</Code> <Name>sample string 2</Name> </StatusCodeItem> </StatusCodes> </StatusCodeResp>