GET Service/Terminal?Terminal={Terminal}
Retrieve terminal definitions
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Terminal |
Filter by terminal code (optional) |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of AddressName | Description | Type | Additional information |
---|---|---|---|
Name |
Location name |
string |
Required |
Address1 |
Address line 1 |
string |
Required |
Address2 |
Address line 2 |
string |
None. |
City |
City |
string |
Required |
State |
State or province code |
string |
Required |
Zip |
Zip code or postal code |
string |
Required Matching regular expression pattern: (?i)^(\d{5}.*)|[A-Z]\d[A-Z]\s?\d[A-Z]\d String length: inclusive between 5 and 10 |
Country |
Country code |
string |
Required |
Contact |
Contact name |
string |
None. |
Phone |
Contact phone number |
string |
None. |
Latitude |
Latitude |
decimal number |
None. |
Longitude |
Longitude |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Name": "sample string 1", "Address1": "sample string 2", "Address2": "sample string 3", "City": "sample string 4", "State": "sample string 5", "Zip": "sample string 6", "Country": "sample string 7", "Contact": "sample string 8", "Phone": "sample string 9", "Latitude": 1.1, "Longitude": 1.1 }, { "Name": "sample string 1", "Address1": "sample string 2", "Address2": "sample string 3", "City": "sample string 4", "State": "sample string 5", "Zip": "sample string 6", "Country": "sample string 7", "Contact": "sample string 8", "Phone": "sample string 9", "Latitude": 1.1, "Longitude": 1.1 } ]
application/xml, text/xml
Sample:
<ArrayOfAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Address> <Name>sample string 1</Name> <Address1>sample string 2</Address1> <Address2>sample string 3</Address2> <City>sample string 4</City> <State>sample string 5</State> <Zip>sample string 6</Zip> <Country>sample string 7</Country> <Contact>sample string 8</Contact> <Phone>sample string 9</Phone> <Latitude>1.1</Latitude> <Longitude>1.1</Longitude> </Address> <Address> <Name>sample string 1</Name> <Address1>sample string 2</Address1> <Address2>sample string 3</Address2> <City>sample string 4</City> <State>sample string 5</State> <Zip>sample string 6</Zip> <Country>sample string 7</Country> <Contact>sample string 8</Contact> <Phone>sample string 9</Phone> <Latitude>1.1</Latitude> <Longitude>1.1</Longitude> </Address> </ArrayOfAddress>