POST api/Address/GetShippingAddressList
Request Information
URI Parameters
None.
Body Parameters
GetShippingAddressListRequestName | Description | Type | Additional information |
---|---|---|---|
UserId | globally unique identifier |
None. |
|
CountryCodes | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": "565d8add-56d5-4cf2-9bfc-b9c4b27449b5", "CountryCodes": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<GetShippingAddressListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request"> <CountryCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </CountryCodes> <UserId>565d8add-56d5-4cf2-9bfc-b9c4b27449b5</UserId> </GetShippingAddressListRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetShippingAddressListResponseName | Description | Type | Additional information |
---|---|---|---|
Items | Collection of Item |
None. |
Response Formats
application/json, text/json
Sample:
{ "Items": [ { "Id": "297975cb-0f9e-4c52-a40a-147957e6e603", "FirstName": "sample string 2", "LastName": "sample string 3", "AddressLine1": "sample string 4", "AddressLine2": "sample string 5", "City": "sample string 6", "Town": "sample string 7", "District": "sample string 8", "PhoneNumber": "sample string 9", "GsmNo": "sample string 10", "Name": "sample string 11", "CountryName": "sample string 12", "CountryCode": "sample string 13", "CityCode": "sample string 14", "TownCode": "sample string 15", "DistrictCode": "sample string 16", "ZipCode": "sample string 17" }, { "Id": "297975cb-0f9e-4c52-a40a-147957e6e603", "FirstName": "sample string 2", "LastName": "sample string 3", "AddressLine1": "sample string 4", "AddressLine2": "sample string 5", "City": "sample string 6", "Town": "sample string 7", "District": "sample string 8", "PhoneNumber": "sample string 9", "GsmNo": "sample string 10", "Name": "sample string 11", "CountryName": "sample string 12", "CountryCode": "sample string 13", "CityCode": "sample string 14", "TownCode": "sample string 15", "DistrictCode": "sample string 16", "ZipCode": "sample string 17" } ] }
application/xml, text/xml
Sample:
<GetShippingAddressListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response"> <Items> <GetShippingAddressListResponse.Item> <AddressLine1>sample string 4</AddressLine1> <AddressLine2>sample string 5</AddressLine2> <City>sample string 6</City> <CityCode>sample string 14</CityCode> <CountryCode>sample string 13</CountryCode> <CountryName>sample string 12</CountryName> <District>sample string 8</District> <DistrictCode>sample string 16</DistrictCode> <FirstName>sample string 2</FirstName> <GsmNo>sample string 10</GsmNo> <Id>297975cb-0f9e-4c52-a40a-147957e6e603</Id> <LastName>sample string 3</LastName> <Name>sample string 11</Name> <PhoneNumber>sample string 9</PhoneNumber> <Town>sample string 7</Town> <TownCode>sample string 15</TownCode> <ZipCode>sample string 17</ZipCode> </GetShippingAddressListResponse.Item> <GetShippingAddressListResponse.Item> <AddressLine1>sample string 4</AddressLine1> <AddressLine2>sample string 5</AddressLine2> <City>sample string 6</City> <CityCode>sample string 14</CityCode> <CountryCode>sample string 13</CountryCode> <CountryName>sample string 12</CountryName> <District>sample string 8</District> <DistrictCode>sample string 16</DistrictCode> <FirstName>sample string 2</FirstName> <GsmNo>sample string 10</GsmNo> <Id>297975cb-0f9e-4c52-a40a-147957e6e603</Id> <LastName>sample string 3</LastName> <Name>sample string 11</Name> <PhoneNumber>sample string 9</PhoneNumber> <Town>sample string 7</Town> <TownCode>sample string 15</TownCode> <ZipCode>sample string 17</ZipCode> </GetShippingAddressListResponse.Item> </Items> </GetShippingAddressListResponse>