GET api/AccessorialList?User={User}&Pass={Pass}
Use this function to retrieve a list of valid Accessorial Service codes and their associated descriptions.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| User |
Enter the Logon Code assigned to your account (1-8 characters) |
string |
Required |
| Pass |
Enter the Password associated with your Logon Code |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
an XML or JSON representation of the Accessorial list.
AccessorialList| Name | Description | Type | Additional information |
|---|---|---|---|
| Errorinfo |
This field will be emtpy (blank) if the API Request was processed without error; Otherwise, information pertaining to the nature of the error(s) encountered will be included. |
string |
None. |
| AccList |
Represents a list of valid Accessorial Service codes and their associated descriptions |
Collection of Acc |
None. |
Response Formats
application/json, text/json
Sample:
{
"Errorinfo": "sample string 1",
"AccList": [
{
"Code": "sample string 1",
"Description": "sample string 2",
"Context": "sample string 3"
},
{
"Code": "sample string 1",
"Description": "sample string 2",
"Context": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<AccessorialList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DUBLAPI">
<AccList>
<Acc>
<Code>sample string 1</Code>
<Context>sample string 3</Context>
<Description>sample string 2</Description>
</Acc>
<Acc>
<Code>sample string 1</Code>
<Context>sample string 3</Context>
<Description>sample string 2</Description>
</Acc>
</AccList>
<Errorinfo>sample string 1</Errorinfo>
</AccessorialList>