Region

List nearest regions for this device

Changed on

Get nearest regions for this device, sorted by distance. Only regions of category fence will be listed.

get/region/bylocation/{latitude}/{longitude}

Request

Path parameters

latitudenumber required

The latitude

longitudenumber required

The longitude

Query parameters

limitnumber

The maximum number of results to retrieve.

skipnumber

The number of results to skip

Response

OK

Example response

{
  "regions": [
    {
      "tags": [
        "store"
      ],
      "address": "Marconistraat 16",
      "country": "NL",
      "advancedGeometry": {
        "coordinates": [
          [
            [
              4.23456,
              52.184884
            ],
            [
              5.23456,
              50.184884
            ],
            [
              4.23456,
              52.184884
            ]
          ]
        ]
      },
      "geometry": {
        "coordinates": [
          4.23456,
          52.184884
        ]
      },
      "timezone": "Europe/Amsterdam",
      "timeZoneOffset": 1
    }
  ]
}

Changes

    • breaking

      the path request parameter latitude became required

    • info

      api operation id getRegion removed and replaced with getRegionByLocation

    • info

      the endpoint scheme security ApplicationSecret was added to the API