POST Location/Regions
Get Regions
Request Information
URI Parameters
None.
Body Parameters
GetRegionsName | Description | Type | Additional information |
---|---|---|---|
CountryID | integer |
None. |
|
Lang | string |
None. |
|
StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "CountryID": 1, "Lang": "sample string 2", "StoreID": 3 }
application/xml, text/xml
Sample:
<GetRegions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.View.Location"> <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">sample string 2</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">3</StoreID> <CountryID>1</CountryID> </GetRegions>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of RegionName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "Name": "sample string 2" }, { "ID": 1, "Name": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfRegion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.View.Location"> <Region> <ID>1</ID> <Name>sample string 2</Name> </Region> <Region> <ID>1</ID> <Name>sample string 2</Name> </Region> </ArrayOfRegion>