GET api/Address/SingleAddress/{id}
Gets a single customer address.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the address in CRM, in GUID format. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
UWEOContactAddress| Name | Description | Type | Additional information |
|---|---|---|---|
| ContactId | globally unique identifier |
None. |
|
| AddressNumber | integer |
None. |
|
| CustomerAddressId | globally unique identifier |
None. |
|
| AddressTypeCode | integer |
None. |
|
| Line1 | string |
None. |
|
| Line2 | string |
None. |
|
| Line3 | string |
None. |
|
| City | string |
None. |
|
| StateOrProvince | string |
None. |
|
| County | string |
None. |
|
| Country | string |
None. |
|
| CrmContactId | globally unique identifier |
None. |
|
| CrmEntityType | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
{
"ContactId": "7aed58b7-1139-428b-951a-c6679e18a889",
"AddressNumber": 1,
"CustomerAddressId": "f378f5c2-c5a2-4dd2-b745-11ffbf51e45f",
"AddressTypeCode": 1,
"Line1": "sample string 2",
"Line2": "sample string 3",
"Line3": "sample string 4",
"City": "sample string 5",
"StateOrProvince": "sample string 6",
"County": "sample string 7",
"Country": "sample string 8",
"CrmContactId": "3e63691d-345b-4c26-8e97-01f8fb2d2b86",
"CrmEntityType": "sample string 9"
}
application/xml, text/xml
Sample:
<UWEOContactAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UWEO.CRM.API.Base.Models"> <CrmContactId>3e63691d-345b-4c26-8e97-01f8fb2d2b86</CrmContactId> <CrmEntityType>sample string 9</CrmEntityType> <AddressNumber>1</AddressNumber> <AddressTypeCode>1</AddressTypeCode> <City>sample string 5</City> <ContactId>7aed58b7-1139-428b-951a-c6679e18a889</ContactId> <Country>sample string 8</Country> <County>sample string 7</County> <CustomerAddressId>f378f5c2-c5a2-4dd2-b745-11ffbf51e45f</CustomerAddressId> <Line1>sample string 2</Line1> <Line2>sample string 3</Line2> <Line3>sample string 4</Line3> <ParentId>51fc4fc4-ded3-478b-a2ba-df1159d664a3</ParentId> <StateOrProvince>sample string 6</StateOrProvince> </UWEOContactAddress>