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": "eb7b8895-ef44-4d7a-bd0b-216c0276477c",
"AddressNumber": 1,
"CustomerAddressId": "062eb73b-00dd-45a6-81ee-c6c7fbe9fe68",
"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": "81e7a077-0ebf-4af9-8673-45410877d221",
"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>81e7a077-0ebf-4af9-8673-45410877d221</CrmContactId> <CrmEntityType>sample string 9</CrmEntityType> <AddressNumber>1</AddressNumber> <AddressTypeCode>1</AddressTypeCode> <City>sample string 5</City> <ContactId>eb7b8895-ef44-4d7a-bd0b-216c0276477c</ContactId> <Country>sample string 8</Country> <County>sample string 7</County> <CustomerAddressId>062eb73b-00dd-45a6-81ee-c6c7fbe9fe68</CustomerAddressId> <Line1>sample string 2</Line1> <Line2>sample string 3</Line2> <Line3>sample string 4</Line3> <ParentId>6f148cd4-460f-4dba-93a1-80b553e73df3</ParentId> <StateOrProvince>sample string 6</StateOrProvince> </UWEOContactAddress>