GET api/Chef/GetRegions

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of R_PolygonCordinates
NameDescriptionTypeAdditional information
RegionNumber

integer

None.

RegionNickName

string

None.

PolygonCodinates

string

None.

ListingIDs

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "regionNumber": 1,
    "regionNickName": "sample string 2",
    "polygonCodinates": "sample string 3",
    "listingIDs": "sample string 4"
  },
  {
    "regionNumber": 1,
    "regionNickName": "sample string 2",
    "polygonCodinates": "sample string 3",
    "listingIDs": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfR_PolygonCordinates xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures">
  <R_PolygonCordinates>
    <ListingIDs>sample string 4</ListingIDs>
    <PolygonCodinates>sample string 3</PolygonCodinates>
    <RegionNickName>sample string 2</RegionNickName>
    <RegionNumber>1</RegionNumber>
  </R_PolygonCordinates>
  <R_PolygonCordinates>
    <ListingIDs>sample string 4</ListingIDs>
    <PolygonCodinates>sample string 3</PolygonCodinates>
    <RegionNickName>sample string 2</RegionNickName>
    <RegionNumber>1</RegionNumber>
  </R_PolygonCordinates>
</ArrayOfR_PolygonCordinates>

multipart/form-data

Sample:
<ArrayOfR_PolygonCordinates xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures"><R_PolygonCordinates><ListingIDs>sample string 4</ListingIDs><PolygonCodinates>sample string 3</PolygonCodinates><RegionNickName>sample string 2</RegionNickName><RegionNumber>1</RegionNumber></R_PolygonCordinates><R_PolygonCordinates><ListingIDs>sample string 4</ListingIDs><PolygonCodinates>sample string 3</PolygonCodinates><RegionNickName>sample string 2</RegionNickName><RegionNumber>1</RegionNumber></R_PolygonCordinates></ArrayOfR_PolygonCordinates>