GET api/CustomerAddress/GetAddressByID/{ID}
Documentation for 'GetAddressByID'.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| ID | Documentation for 'ID'. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
[
{
"$id": "1",
"AddressTitle": "sample string 1",
"ID": "1a11689a-cb95-4f67-8993-4bd55c7e14d1",
"CustomerID": "5d3ed0ea-0de8-4b74-97ff-7604091a1c94",
"Phone": "sample string 4",
"Street": "sample string 5",
"District": "sample string 6",
"ZipCode": "sample string 7",
"IsDefault": true,
"ProvinceId": "88b8c64c-556c-4b4a-a232-8d9d6c5e0111",
"Street2": "sample string 9",
"CityId": 10,
"Region": "d394e1a2-22f4-42ba-85de-f22c57d9fb6b",
"CityLabel": "sample string 11",
"Street3": "sample string 12",
"ProvinceName": "sample string 13",
"RegionName": "sample string 14",
"DefaultStore": "sample string 15",
"AddressType": 16,
"Province": {
"$id": "2",
"ID": "87108781-2a92-48e3-b403-422a2b20482a",
"ProvinceName": "sample string 2",
"IsDeleted": true
},
"DistrictId": 1,
"ReceiverName": "sample string 17",
"ReceiverPhone": "sample string 18",
"DefaultAddressID": "225be7e7-8b78-4539-a784-c9c0bd66224b",
"IsDeliveryStoreActivated": true,
"IsIPP": true,
"IsBDIPP": true,
"Longitude": 1.0,
"Latitude": 1.0,
"GoogleAddress": "sample string 23",
"KetAlamat": "sample string 24",
"IPPServiceType": 25,
"StoreCode": "sample string 26",
"FullRegionName": "sample string 27"
},
{
"$ref": "1"
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfCustomerAddressModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CustomerAddressModel>
<AddressTitle>sample string 1</AddressTitle>
<ID>1a11689a-cb95-4f67-8993-4bd55c7e14d1</ID>
<CustomerID>5d3ed0ea-0de8-4b74-97ff-7604091a1c94</CustomerID>
<Phone>sample string 4</Phone>
<Street>sample string 5</Street>
<District>sample string 6</District>
<ZipCode>sample string 7</ZipCode>
<IsDefault>true</IsDefault>
<ProvinceId>88b8c64c-556c-4b4a-a232-8d9d6c5e0111</ProvinceId>
<Street2>sample string 9</Street2>
<CityId>10</CityId>
<Region>d394e1a2-22f4-42ba-85de-f22c57d9fb6b</Region>
<CityLabel>sample string 11</CityLabel>
<Street3>sample string 12</Street3>
<ProvinceName>sample string 13</ProvinceName>
<RegionName>sample string 14</RegionName>
<DefaultStore>sample string 15</DefaultStore>
<AddressType>16</AddressType>
<Province>
<ID>87108781-2a92-48e3-b403-422a2b20482a</ID>
<ProvinceName>sample string 2</ProvinceName>
<IsDeleted>true</IsDeleted>
</Province>
<DistrictId>1</DistrictId>
<ReceiverName>sample string 17</ReceiverName>
<ReceiverPhone>sample string 18</ReceiverPhone>
<DefaultAddressID>225be7e7-8b78-4539-a784-c9c0bd66224b</DefaultAddressID>
<IsDeliveryStoreActivated>true</IsDeliveryStoreActivated>
<IsIPP>true</IsIPP>
<IsBDIPP>true</IsBDIPP>
<Longitude>1</Longitude>
<Latitude>1</Latitude>
<GoogleAddress>sample string 23</GoogleAddress>
<KetAlamat>sample string 24</KetAlamat>
<IPPServiceType>25</IPPServiceType>
<StoreCode>sample string 26</StoreCode>
<FullRegionName>sample string 27</FullRegionName>
</CustomerAddressModel>
<CustomerAddressModel>
<AddressTitle>sample string 1</AddressTitle>
<ID>1a11689a-cb95-4f67-8993-4bd55c7e14d1</ID>
<CustomerID>5d3ed0ea-0de8-4b74-97ff-7604091a1c94</CustomerID>
<Phone>sample string 4</Phone>
<Street>sample string 5</Street>
<District>sample string 6</District>
<ZipCode>sample string 7</ZipCode>
<IsDefault>true</IsDefault>
<ProvinceId>88b8c64c-556c-4b4a-a232-8d9d6c5e0111</ProvinceId>
<Street2>sample string 9</Street2>
<CityId>10</CityId>
<Region>d394e1a2-22f4-42ba-85de-f22c57d9fb6b</Region>
<CityLabel>sample string 11</CityLabel>
<Street3>sample string 12</Street3>
<ProvinceName>sample string 13</ProvinceName>
<RegionName>sample string 14</RegionName>
<DefaultStore>sample string 15</DefaultStore>
<AddressType>16</AddressType>
<Province>
<ID>87108781-2a92-48e3-b403-422a2b20482a</ID>
<ProvinceName>sample string 2</ProvinceName>
<IsDeleted>true</IsDeleted>
</Province>
<DistrictId>1</DistrictId>
<ReceiverName>sample string 17</ReceiverName>
<ReceiverPhone>sample string 18</ReceiverPhone>
<DefaultAddressID>225be7e7-8b78-4539-a784-c9c0bd66224b</DefaultAddressID>
<IsDeliveryStoreActivated>true</IsDeliveryStoreActivated>
<IsIPP>true</IsIPP>
<IsBDIPP>true</IsBDIPP>
<Longitude>1</Longitude>
<Latitude>1</Latitude>
<GoogleAddress>sample string 23</GoogleAddress>
<KetAlamat>sample string 24</KetAlamat>
<IPPServiceType>25</IPPServiceType>
<StoreCode>sample string 26</StoreCode>
<FullRegionName>sample string 27</FullRegionName>
</CustomerAddressModel>
<CustomerAddressModel>
<AddressTitle>sample string 1</AddressTitle>
<ID>1a11689a-cb95-4f67-8993-4bd55c7e14d1</ID>
<CustomerID>5d3ed0ea-0de8-4b74-97ff-7604091a1c94</CustomerID>
<Phone>sample string 4</Phone>
<Street>sample string 5</Street>
<District>sample string 6</District>
<ZipCode>sample string 7</ZipCode>
<IsDefault>true</IsDefault>
<ProvinceId>88b8c64c-556c-4b4a-a232-8d9d6c5e0111</ProvinceId>
<Street2>sample string 9</Street2>
<CityId>10</CityId>
<Region>d394e1a2-22f4-42ba-85de-f22c57d9fb6b</Region>
<CityLabel>sample string 11</CityLabel>
<Street3>sample string 12</Street3>
<ProvinceName>sample string 13</ProvinceName>
<RegionName>sample string 14</RegionName>
<DefaultStore>sample string 15</DefaultStore>
<AddressType>16</AddressType>
<Province>
<ID>87108781-2a92-48e3-b403-422a2b20482a</ID>
<ProvinceName>sample string 2</ProvinceName>
<IsDeleted>true</IsDeleted>
</Province>
<DistrictId>1</DistrictId>
<ReceiverName>sample string 17</ReceiverName>
<ReceiverPhone>sample string 18</ReceiverPhone>
<DefaultAddressID>225be7e7-8b78-4539-a784-c9c0bd66224b</DefaultAddressID>
<IsDeliveryStoreActivated>true</IsDeliveryStoreActivated>
<IsIPP>true</IsIPP>
<IsBDIPP>true</IsBDIPP>
<Longitude>1</Longitude>
<Latitude>1</Latitude>
<GoogleAddress>sample string 23</GoogleAddress>
<KetAlamat>sample string 24</KetAlamat>
<IPPServiceType>25</IPPServiceType>
<StoreCode>sample string 26</StoreCode>
<FullRegionName>sample string 27</FullRegionName>
</CustomerAddressModel>
</ArrayOfCustomerAddressModel>