GET api/Areas/GetAreas

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Area
NameDescriptionTypeAdditional information
Id

integer

None.

Description

string

Required

Polygon

Collection of AreaShape

None.

Circle

Collection of AreaShape

None.

Location

DbGeography

None.

CountryCode

string

None.

GeoCodeParameters

Collection of GeoCodeParameter

None.

InfoId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "id": 1,
    "description": "sample string 2",
    "polygon": [
      {
        "$id": "2",
        "id": 1,
        "shapeType": "polygon",
        "pairValue": "sample string 2",
        "areaId": 1
      },
      {
        "$ref": "2"
      }
    ],
    "circle": [
      {
        "$ref": "2"
      },
      {
        "$ref": "2"
      }
    ],
    "location": null,
    "countryCode": "sample string 3",
    "geoCodeParameters": [
      {
        "$id": "3",
        "id": 1,
        "valueName": "sample string 2",
        "value": "sample string 3",
        "areaId": 1
      },
      {
        "$ref": "3"
      }
    ],
    "infoId": 1
  },
  {
    "$ref": "1"
  }
]