GET api/Address?parentId={parentId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
parentId | System.String |
Required |
Body Parameters
None.
Response Information
Resource Description
System.Collections.Generic.IEnumerable`1[Altai.Web.Services.Models.Address]Name | Description | Type | Additional information |
---|---|---|---|
Id | System.String |
None. |
|
Street1 | System.String |
None. |
|
Street2 | System.String |
None. |
|
City | System.String |
None. |
|
StateOrProvince | System.String |
None. |
|
PostalCode | System.String |
None. |
|
Country | System.String |
None. |
|
AddressType | System.String |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "sample string 1", "Street1": "sample string 2", "Street2": "sample string 3", "City": "sample string 4", "StateOrProvince": "sample string 5", "PostalCode": "sample string 6", "Country": "sample string 7", "AddressType": "sample string 8" }, { "Id": "sample string 1", "Street1": "sample string 2", "Street2": "sample string 3", "City": "sample string 4", "StateOrProvince": "sample string 5", "PostalCode": "sample string 6", "Country": "sample string 7", "AddressType": "sample string 8" } ]
application/xml, text/xml
Sample:
<ArrayOfAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Altai.Web.Services.Models"> <Address> <AddressType>sample string 8</AddressType> <City>sample string 4</City> <Country>sample string 7</Country> <Id>sample string 1</Id> <PostalCode>sample string 6</PostalCode> <StateOrProvince>sample string 5</StateOrProvince> <Street1>sample string 2</Street1> <Street2>sample string 3</Street2> </Address> <Address> <AddressType>sample string 8</AddressType> <City>sample string 4</City> <Country>sample string 7</Country> <Id>sample string 1</Id> <PostalCode>sample string 6</PostalCode> <StateOrProvince>sample string 5</StateOrProvince> <Street1>sample string 2</Street1> <Street2>sample string 3</Street2> </Address> </ArrayOfAddress>