v1

latestOpenAPI 3.1.02026-07-2617501.1 MB

List all the geofences of the group

get/v1/groups/{id}/geofences

Path parameters

idinteger required

Specify the ID of the group for which you want to view the geofences.

Query parameters

updated_afterstring date

Specify a date after which you want to view the associated geofences.

per_pageinteger

Denotes the number of records per page.

page_nointeger

Denotes the current page number.

Response

200

Example response

{
  "geofences": [
    {
      "geofence": {
        "id": 1294165,
        "name": "abcad001",
        "category": "Terminal / Yard",
        "status": "active",
        "location_points": [
          {
            "lat": 39.023836,
            "lon": -122.065217
          }
        ],
        "description": "notes of geofence"
      }
    }
  ],
  "pagination": {
    "per_page": 25,
    "page_no": 1,
    "total": 28
  }
}