POST v1/Generic/GetCustomerAddressDetail

Get Address based on input parameters

Request Information

URI Parameters

None.

Body Parameters

Use this parameter to get the Customer's Address

CustomerAddressRequestData
NameDescriptionTypeAdditional information
CustomerId

Returns CustomerId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": "sample string 1"
}

application/xml, text/xml

Sample:
<CustomerAddressRequestData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CustomerId>sample string 1</CustomerId>
</CustomerAddressRequestData>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CustomerAddressRequestData'.

Response Information

Response Formats

application/json, text/json

Sample:
[
  {
    "AddressType": "sample string 1",
    "Address1": "sample string 2",
    "Address2": "sample string 3",
    "Address3": "sample string 4",
    "City": "sample string 5",
    "State": "sample string 6",
    "Zip": "sample string 7",
    "Country": "sample string 8",
    "Phone1": "sample string 9",
    "ExtPhone1": "sample string 10",
    "Phone2": "sample string 11",
    "ExtPhone2": "sample string 12",
    "Email": "sample string 13"
  },
  {
    "AddressType": "sample string 1",
    "Address1": "sample string 2",
    "Address2": "sample string 3",
    "Address3": "sample string 4",
    "City": "sample string 5",
    "State": "sample string 6",
    "Zip": "sample string 7",
    "Country": "sample string 8",
    "Phone1": "sample string 9",
    "ExtPhone1": "sample string 10",
    "Phone2": "sample string 11",
    "ExtPhone2": "sample string 12",
    "Email": "sample string 13"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerAddressResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CustomerAddressResponse>
    <AddressType>sample string 1</AddressType>
    <Address1>sample string 2</Address1>
    <Address2>sample string 3</Address2>
    <Address3>sample string 4</Address3>
    <City>sample string 5</City>
    <State>sample string 6</State>
    <Zip>sample string 7</Zip>
    <Country>sample string 8</Country>
    <Phone1>sample string 9</Phone1>
    <ExtPhone1>sample string 10</ExtPhone1>
    <Phone2>sample string 11</Phone2>
    <ExtPhone2>sample string 12</ExtPhone2>
    <Email>sample string 13</Email>
  </CustomerAddressResponse>
  <CustomerAddressResponse>
    <AddressType>sample string 1</AddressType>
    <Address1>sample string 2</Address1>
    <Address2>sample string 3</Address2>
    <Address3>sample string 4</Address3>
    <City>sample string 5</City>
    <State>sample string 6</State>
    <Zip>sample string 7</Zip>
    <Country>sample string 8</Country>
    <Phone1>sample string 9</Phone1>
    <ExtPhone1>sample string 10</ExtPhone1>
    <Phone2>sample string 11</Phone2>
    <ExtPhone2>sample string 12</ExtPhone2>
    <Email>sample string 13</Email>
  </CustomerAddressResponse>
</ArrayOfCustomerAddressResponse>