GET api/Customers/{cid}/Addresses
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
cid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CustomerAddressDTOName | Description | Type | Additional information |
---|---|---|---|
AddressId | integer |
None. |
|
Name | string |
None. |
|
Address1 | string |
None. |
|
Address2 | string |
None. |
|
City | string |
None. |
|
StateProvinceId | integer |
None. |
|
PostalCode | string |
None. |
|
ZipCode | string |
None. |
|
PhoneNum | string |
None. |
|
FaxNum | string |
None. |
|
Contact | string |
None. |
|
LocationCode | string |
None. |
|
LastUpdated | date |
None. |
Response Formats
application/json, text/json
Sample:
[ { "AddressId": 1, "Name": "sample string 1", "Address1": "sample string 2", "Address2": "sample string 3", "City": "sample string 4", "StateProvinceId": 1, "PostalCode": "sample string 5", "ZipCode": "sample string 6", "PhoneNum": "sample string 7", "FaxNum": "sample string 8", "Contact": "sample string 9", "LocationCode": "sample string 10", "LastUpdated": "2025-08-29T01:14:14.5943306+00:00" }, { "AddressId": 1, "Name": "sample string 1", "Address1": "sample string 2", "Address2": "sample string 3", "City": "sample string 4", "StateProvinceId": 1, "PostalCode": "sample string 5", "ZipCode": "sample string 6", "PhoneNum": "sample string 7", "FaxNum": "sample string 8", "Contact": "sample string 9", "LocationCode": "sample string 10", "LastUpdated": "2025-08-29T01:14:14.5943306+00:00" } ]
text/html, multipart/form-data, application/zip
Sample:
[{"AddressId":1,"Name":"sample string 1","Address1":"sample string 2","Address2":"sample string 3","City":"sample string 4","StateProvinceId":1,"PostalCode":"sample string 5","ZipCode":"sample string 6","PhoneNum":"sample string 7","FaxNum":"sample string 8","Contact":"sample string 9","LocationCode":"sample string 10","LastUpdated":"2025-08-29T01:14:14.5943306+00:00"},{"AddressId":1,"Name":"sample string 1","Address1":"sample string 2","Address2":"sample string 3","City":"sample string 4","StateProvinceId":1,"PostalCode":"sample string 5","ZipCode":"sample string 6","PhoneNum":"sample string 7","FaxNum":"sample string 8","Contact":"sample string 9","LocationCode":"sample string 10","LastUpdated":"2025-08-29T01:14:14.5943306+00:00"}]
application/xml, text/xml
Sample:
<ArrayOfCustomerAddressDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DentaCad.DTO"> <CustomerAddressDTO> <Address1>sample string 2</Address1> <Address2>sample string 3</Address2> <AddressId>1</AddressId> <City>sample string 4</City> <Contact>sample string 9</Contact> <FaxNum>sample string 8</FaxNum> <LastUpdated>2025-08-29T01:14:14.5943306+00:00</LastUpdated> <LocationCode>sample string 10</LocationCode> <Name>sample string 1</Name> <PhoneNum>sample string 7</PhoneNum> <PostalCode>sample string 5</PostalCode> <StateProvinceId>1</StateProvinceId> <ZipCode>sample string 6</ZipCode> </CustomerAddressDTO> <CustomerAddressDTO> <Address1>sample string 2</Address1> <Address2>sample string 3</Address2> <AddressId>1</AddressId> <City>sample string 4</City> <Contact>sample string 9</Contact> <FaxNum>sample string 8</FaxNum> <LastUpdated>2025-08-29T01:14:14.5943306+00:00</LastUpdated> <LocationCode>sample string 10</LocationCode> <Name>sample string 1</Name> <PhoneNum>sample string 7</PhoneNum> <PostalCode>sample string 5</PostalCode> <StateProvinceId>1</StateProvinceId> <ZipCode>sample string 6</ZipCode> </CustomerAddressDTO> </ArrayOfCustomerAddressDTO>