GET api/Address/CustomerAddresses/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The CRM ID of the Contact. Must be a properly formatted GUID.

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of UWEOContactAddress
NameDescriptionTypeAdditional 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": "1f57de25-0573-4b33-bf7e-d8746c96fee1",
    "AddressNumber": 1,
    "CustomerAddressId": "5903508f-86aa-4745-83cf-b7a2b328777d",
    "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": "1d4ef376-918b-49f8-8e17-55e2c853797e",
    "CrmEntityType": "sample string 9"
  },
  {
    "ContactId": "1f57de25-0573-4b33-bf7e-d8746c96fee1",
    "AddressNumber": 1,
    "CustomerAddressId": "5903508f-86aa-4745-83cf-b7a2b328777d",
    "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": "1d4ef376-918b-49f8-8e17-55e2c853797e",
    "CrmEntityType": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfUWEOContactAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UWEO.CRM.API.Base.Models">
  <UWEOContactAddress>
    <CrmContactId>1d4ef376-918b-49f8-8e17-55e2c853797e</CrmContactId>
    <CrmEntityType>sample string 9</CrmEntityType>
    <AddressNumber>1</AddressNumber>
    <AddressTypeCode>1</AddressTypeCode>
    <City>sample string 5</City>
    <ContactId>1f57de25-0573-4b33-bf7e-d8746c96fee1</ContactId>
    <Country>sample string 8</Country>
    <County>sample string 7</County>
    <CustomerAddressId>5903508f-86aa-4745-83cf-b7a2b328777d</CustomerAddressId>
    <Line1>sample string 2</Line1>
    <Line2>sample string 3</Line2>
    <Line3>sample string 4</Line3>
    <ParentId>36749f86-39eb-469d-ba88-49a066031dee</ParentId>
    <StateOrProvince>sample string 6</StateOrProvince>
  </UWEOContactAddress>
  <UWEOContactAddress>
    <CrmContactId>1d4ef376-918b-49f8-8e17-55e2c853797e</CrmContactId>
    <CrmEntityType>sample string 9</CrmEntityType>
    <AddressNumber>1</AddressNumber>
    <AddressTypeCode>1</AddressTypeCode>
    <City>sample string 5</City>
    <ContactId>1f57de25-0573-4b33-bf7e-d8746c96fee1</ContactId>
    <Country>sample string 8</Country>
    <County>sample string 7</County>
    <CustomerAddressId>5903508f-86aa-4745-83cf-b7a2b328777d</CustomerAddressId>
    <Line1>sample string 2</Line1>
    <Line2>sample string 3</Line2>
    <Line3>sample string 4</Line3>
    <ParentId>36749f86-39eb-469d-ba88-49a066031dee</ParentId>
    <StateOrProvince>sample string 6</StateOrProvince>
  </UWEOContactAddress>
</ArrayOfUWEOContactAddress>