POST api/Address/GetAddressListByIdList
Request Information
URI Parameters
None.
Body Parameters
GetAddressListByIdListRequestName | Description | Type | Additional information |
---|---|---|---|
IdList | Collection of globally unique identifier |
None. |
|
UserId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "IdList": [ "254020cc-b9af-45f2-8021-4dbfa41e5af8", "8406a5c7-28cc-4afc-827b-d528728dea42" ], "UserId": "3c93b740-8ff7-4410-8853-046d4463bdd4" }
application/xml, text/xml
Sample:
<GetAddressListByIdListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request"> <IdList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>254020cc-b9af-45f2-8021-4dbfa41e5af8</d2p1:guid> <d2p1:guid>8406a5c7-28cc-4afc-827b-d528728dea42</d2p1:guid> </IdList> <UserId>3c93b740-8ff7-4410-8853-046d4463bdd4</UserId> </GetAddressListByIdListRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetAddressListByIdListResponseName | Description | Type | Additional information |
---|---|---|---|
AddressList | Collection of AddressListByIdListItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "AddressList": [ { "UserId": "3e31387f-c1bc-4292-ac0d-32cacd6a0241", "Id": "62e50393-add6-492b-b694-33d3e071cdb6", "AddressType": 3, "AddressName": "sample string 4", "FirstName": "sample string 5", "LastName": "sample string 6", "Description": "sample string 7", "AddressLine1": "sample string 8", "AddressLine2": "sample string 9", "CountryCode": "sample string 10", "CountryName": "sample string 11", "City": "sample string 12", "Town": "sample string 13", "District": "sample string 14", "ZipCode": "sample string 15", "PhoneNumber": "sample string 16", "Locale": 1, "BillingType": 17, "CompanyName": "sample string 18", "TaxOffice": "sample string 19", "TaxNumber": "sample string 20", "CitizenId": "sample string 21", "Nationality": 22, "IsDefault": true, "IsCorporateAddress": true, "FullName": "sample string 25", "Latitude": 1.1, "Longitude": 1.1, "Street": "sample string 26", "BuildingNo": "sample string 27", "Premise": "sample string 28", "Village": "sample string 29", "IsEBillResponsible": true }, { "UserId": "3e31387f-c1bc-4292-ac0d-32cacd6a0241", "Id": "62e50393-add6-492b-b694-33d3e071cdb6", "AddressType": 3, "AddressName": "sample string 4", "FirstName": "sample string 5", "LastName": "sample string 6", "Description": "sample string 7", "AddressLine1": "sample string 8", "AddressLine2": "sample string 9", "CountryCode": "sample string 10", "CountryName": "sample string 11", "City": "sample string 12", "Town": "sample string 13", "District": "sample string 14", "ZipCode": "sample string 15", "PhoneNumber": "sample string 16", "Locale": 1, "BillingType": 17, "CompanyName": "sample string 18", "TaxOffice": "sample string 19", "TaxNumber": "sample string 20", "CitizenId": "sample string 21", "Nationality": 22, "IsDefault": true, "IsCorporateAddress": true, "FullName": "sample string 25", "Latitude": 1.1, "Longitude": 1.1, "Street": "sample string 26", "BuildingNo": "sample string 27", "Premise": "sample string 28", "Village": "sample string 29", "IsEBillResponsible": true } ] }
application/xml, text/xml
Sample:
<GetAddressListByIdListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response"> <AddressList> <GetAddressListByIdListResponse.AddressListByIdListItem> <AddressLine1>sample string 8</AddressLine1> <AddressLine2>sample string 9</AddressLine2> <AddressName>sample string 4</AddressName> <AddressType>3</AddressType> <BillingType>17</BillingType> <BuildingNo>sample string 27</BuildingNo> <CitizenId>sample string 21</CitizenId> <City>sample string 12</City> <CompanyName>sample string 18</CompanyName> <CountryCode>sample string 10</CountryCode> <CountryName>sample string 11</CountryName> <Description>sample string 7</Description> <District>sample string 14</District> <FirstName>sample string 5</FirstName> <FullName>sample string 25</FullName> <Id>62e50393-add6-492b-b694-33d3e071cdb6</Id> <IsCorporateAddress>true</IsCorporateAddress> <IsDefault>true</IsDefault> <IsEBillResponsible>true</IsEBillResponsible> <LastName>sample string 6</LastName> <Latitude>1.1</Latitude> <Locale>1</Locale> <Longitude>1.1</Longitude> <Nationality>22</Nationality> <PhoneNumber>sample string 16</PhoneNumber> <Premise>sample string 28</Premise> <Street>sample string 26</Street> <TaxNumber>sample string 20</TaxNumber> <TaxOffice>sample string 19</TaxOffice> <Town>sample string 13</Town> <UserId>3e31387f-c1bc-4292-ac0d-32cacd6a0241</UserId> <Village>sample string 29</Village> <ZipCode>sample string 15</ZipCode> </GetAddressListByIdListResponse.AddressListByIdListItem> <GetAddressListByIdListResponse.AddressListByIdListItem> <AddressLine1>sample string 8</AddressLine1> <AddressLine2>sample string 9</AddressLine2> <AddressName>sample string 4</AddressName> <AddressType>3</AddressType> <BillingType>17</BillingType> <BuildingNo>sample string 27</BuildingNo> <CitizenId>sample string 21</CitizenId> <City>sample string 12</City> <CompanyName>sample string 18</CompanyName> <CountryCode>sample string 10</CountryCode> <CountryName>sample string 11</CountryName> <Description>sample string 7</Description> <District>sample string 14</District> <FirstName>sample string 5</FirstName> <FullName>sample string 25</FullName> <Id>62e50393-add6-492b-b694-33d3e071cdb6</Id> <IsCorporateAddress>true</IsCorporateAddress> <IsDefault>true</IsDefault> <IsEBillResponsible>true</IsEBillResponsible> <LastName>sample string 6</LastName> <Latitude>1.1</Latitude> <Locale>1</Locale> <Longitude>1.1</Longitude> <Nationality>22</Nationality> <PhoneNumber>sample string 16</PhoneNumber> <Premise>sample string 28</Premise> <Street>sample string 26</Street> <TaxNumber>sample string 20</TaxNumber> <TaxOffice>sample string 19</TaxOffice> <Town>sample string 13</Town> <UserId>3e31387f-c1bc-4292-ac0d-32cacd6a0241</UserId> <Village>sample string 29</Village> <ZipCode>sample string 15</ZipCode> </GetAddressListByIdListResponse.AddressListByIdListItem> </AddressList> </GetAddressListByIdListResponse>