GET api/CustomerAddress/GetAddressByRegionID?custId={custId}&RegionID={RegionID}
Documentation for 'GetAddressByRegionID'.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| custId | Documentation for 'custId'. |
Define this parameter in the request URI. |
| RegionID | Documentation for 'RegionID'. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
[
{
"$id": "1",
"AddressTitle": "sample string 1",
"ID": "ab8daea1-92b2-4f09-a75b-30f7b19b2606",
"CustomerID": "ec2b3523-67e3-422d-aeb9-a7f91ff64d95",
"Phone": "sample string 4",
"Street": "sample string 5",
"District": "sample string 6",
"ZipCode": "sample string 7",
"IsDefault": true,
"ProvinceId": "af4d05c9-0ab2-47ce-9b3b-5631726f8eea",
"Street2": "sample string 9",
"CityId": 10,
"Region": "04324a3e-98af-4420-9d9e-5ecb14c8b197",
"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": "33e59b0c-bf72-4dce-a0bf-c6c294281fe0",
"ProvinceName": "sample string 2",
"IsDeleted": true
},
"DistrictId": 1,
"ReceiverName": "sample string 17",
"ReceiverPhone": "sample string 18",
"DefaultAddressID": "3ac1c2c5-05a8-4240-bcf9-5f96af17ddf7",
"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>ab8daea1-92b2-4f09-a75b-30f7b19b2606</ID>
<CustomerID>ec2b3523-67e3-422d-aeb9-a7f91ff64d95</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>af4d05c9-0ab2-47ce-9b3b-5631726f8eea</ProvinceId>
<Street2>sample string 9</Street2>
<CityId>10</CityId>
<Region>04324a3e-98af-4420-9d9e-5ecb14c8b197</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>33e59b0c-bf72-4dce-a0bf-c6c294281fe0</ID>
<ProvinceName>sample string 2</ProvinceName>
<IsDeleted>true</IsDeleted>
</Province>
<DistrictId>1</DistrictId>
<ReceiverName>sample string 17</ReceiverName>
<ReceiverPhone>sample string 18</ReceiverPhone>
<DefaultAddressID>3ac1c2c5-05a8-4240-bcf9-5f96af17ddf7</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>ab8daea1-92b2-4f09-a75b-30f7b19b2606</ID>
<CustomerID>ec2b3523-67e3-422d-aeb9-a7f91ff64d95</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>af4d05c9-0ab2-47ce-9b3b-5631726f8eea</ProvinceId>
<Street2>sample string 9</Street2>
<CityId>10</CityId>
<Region>04324a3e-98af-4420-9d9e-5ecb14c8b197</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>33e59b0c-bf72-4dce-a0bf-c6c294281fe0</ID>
<ProvinceName>sample string 2</ProvinceName>
<IsDeleted>true</IsDeleted>
</Province>
<DistrictId>1</DistrictId>
<ReceiverName>sample string 17</ReceiverName>
<ReceiverPhone>sample string 18</ReceiverPhone>
<DefaultAddressID>3ac1c2c5-05a8-4240-bcf9-5f96af17ddf7</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>ab8daea1-92b2-4f09-a75b-30f7b19b2606</ID>
<CustomerID>ec2b3523-67e3-422d-aeb9-a7f91ff64d95</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>af4d05c9-0ab2-47ce-9b3b-5631726f8eea</ProvinceId>
<Street2>sample string 9</Street2>
<CityId>10</CityId>
<Region>04324a3e-98af-4420-9d9e-5ecb14c8b197</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>33e59b0c-bf72-4dce-a0bf-c6c294281fe0</ID>
<ProvinceName>sample string 2</ProvinceName>
<IsDeleted>true</IsDeleted>
</Province>
<DistrictId>1</DistrictId>
<ReceiverName>sample string 17</ReceiverName>
<ReceiverPhone>sample string 18</ReceiverPhone>
<DefaultAddressID>3ac1c2c5-05a8-4240-bcf9-5f96af17ddf7</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>