List all the geofences of the group
get/v1/groups/{id}/geofences
Request
- Base URLhttps://api.gomotive.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
}
}Changes
No recorded changes to this operation across all 1 revision of this API.