GET v1/Locations/{locationID}/Contacts/AddressInfo
Get the default address information
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| locationID |
Id of the location |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Default address information
LocationAddressInfoDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| LocationID | integer |
None. |
|
| AreaCode | string |
None. |
|
| City | string |
None. |
|
| Zip | string |
None. |
|
| State | string |
None. |
|
| Country | string |
None. |
|
| Province | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"LocationID": 1,
"AreaCode": "sample string 2",
"City": "sample string 3",
"Zip": "sample string 4",
"State": "sample string 5",
"Country": "sample string 6",
"Province": "sample string 7"
}
application/xml, text/xml
Sample:
<LocationAddressInfoDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Locations"> <AreaCode>sample string 2</AreaCode> <City>sample string 3</City> <Country>sample string 6</Country> <LocationID>1</LocationID> <Province>sample string 7</Province> <State>sample string 5</State> <Zip>sample string 4</Zip> </LocationAddressInfoDTO>