GET api/Regions/{code}
Show details for specified region code
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
code |
Unique (exact) region code |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
RegionReportDetails()
RegionReportDetailsName | Description | Type | Additional information |
---|---|---|---|
regionID | integer |
None. |
|
regionName | string |
None. |
|
regionCode | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "regionID": 707, "regionName": "sample string 2", "regionCode": "sample string 3" }
application/xml, text/xml
Sample:
<RegionReportDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Turnpoint.Controllers"> <regionCode>sample string 3</regionCode> <regionID>707</regionID> <regionName>sample string 2</regionName> </RegionReportDetails>