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. |
|
PostalCode | System.String |
None. |
|
StateOrProvince | Altai.Web.Services.Models.StateProvince |
None. |
|
StateOrProvinceString | System.String |
None. |
|
NormilizedStateOrProvince | System.String |
None. |
|
Country | Altai.Web.Services.Models.Country |
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", "PostalCode": "sample string 5", "StateOrProvince": { "Id": "02310947-6359-4df3-bbe2-4acc745d298f", "Code": "sample string 2", "Name": "sample string 3", "Country": { "Id": "sample string 1", "Code": "sample string 2", "Name": "sample string 3" } }, "StateOrProvinceString": "sample string 6", "NormilizedStateOrProvince": "sample string 6", "Country": { "Id": "sample string 1", "Code": "sample string 2", "Name": "sample string 3" }, "AddressType": "sample string 7" }, { "Id": "sample string 1", "Street1": "sample string 2", "Street2": "sample string 3", "City": "sample string 4", "PostalCode": "sample string 5", "StateOrProvince": { "Id": "02310947-6359-4df3-bbe2-4acc745d298f", "Code": "sample string 2", "Name": "sample string 3", "Country": { "Id": "sample string 1", "Code": "sample string 2", "Name": "sample string 3" } }, "StateOrProvinceString": "sample string 6", "NormilizedStateOrProvince": "sample string 6", "Country": { "Id": "sample string 1", "Code": "sample string 2", "Name": "sample string 3" }, "AddressType": "sample string 7" } ]
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 7</AddressType> <City>sample string 4</City> <Country> <Code>sample string 2</Code> <Id>sample string 1</Id> <Name>sample string 3</Name> </Country> <Id>sample string 1</Id> <PostalCode>sample string 5</PostalCode> <StateOrProvince> <Code>sample string 2</Code> <Country> <Code>sample string 2</Code> <Id>sample string 1</Id> <Name>sample string 3</Name> </Country> <Id>02310947-6359-4df3-bbe2-4acc745d298f</Id> <Name>sample string 3</Name> </StateOrProvince> <StateOrProvinceString>sample string 6</StateOrProvinceString> <Street1>sample string 2</Street1> <Street2>sample string 3</Street2> </Address> <Address> <AddressType>sample string 7</AddressType> <City>sample string 4</City> <Country> <Code>sample string 2</Code> <Id>sample string 1</Id> <Name>sample string 3</Name> </Country> <Id>sample string 1</Id> <PostalCode>sample string 5</PostalCode> <StateOrProvince> <Code>sample string 2</Code> <Country> <Code>sample string 2</Code> <Id>sample string 1</Id> <Name>sample string 3</Name> </Country> <Id>02310947-6359-4df3-bbe2-4acc745d298f</Id> <Name>sample string 3</Name> </StateOrProvince> <StateOrProvinceString>sample string 6</StateOrProvinceString> <Street1>sample string 2</Street1> <Street2>sample string 3</Street2> </Address> </ArrayOfAddress>