GET api/v2/accounts/{accountId}/addresses/{accountAddressId}
Request
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountId | integer |
Required |
|
| accountAddressId | integer |
Required |
Response
AccountAddressBasic| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer | ||
| District | string | ||
| ZipCode | string | ||
| Address1 | string | ||
| Address2 | string | ||
| Latitude | decimal number | ||
| Longitude | decimal number | ||
| Notes | string | ||
| AddressTypeId | integer | ||
| AddressType | AddressTypeBasic | ||
| CityId | integer | ||
| City | CityBasic |
Response Format
application/json, text/json
Sample:
{
"Id": 1,
"District": "sample string 2",
"ZipCode": "sample string 3",
"Address1": "sample string 4",
"Address2": "sample string 5",
"Latitude": 1.1,
"Longitude": 1.1,
"Notes": "sample string 6",
"AddressTypeId": 7,
"AddressType": {
"Id": 1,
"Identification": "sample string 2",
"Active": true
},
"CityId": 1,
"City": {
"Id": 1,
"Identification": "sample string 2",
"State": {
"Id": 1,
"Identification": "sample string 2",
"ShortName": "sample string 3",
"Country": {
"Id": 1,
"Identification": "sample string 2",
"ShortName": "sample string 3"
}
}
}
}
text/html
Sample:
{"Id":1,"District":"sample string 2","ZipCode":"sample string 3","Address1":"sample string 4","Address2":"sample string 5","Latitude":1.1,"Longitude":1.1,"Notes":"sample string 6","AddressTypeId":7,"AddressType":{"Id":1,"Identification":"sample string 2","Active":true},"CityId":1,"City":{"Id":1,"Identification":"sample string 2","State":{"Id":1,"Identification":"sample string 2","ShortName":"sample string 3","Country":{"Id":1,"Identification":"sample string 2","ShortName":"sample string 3"}}}}