Skip to main content

Retrieving a specific Geofence (GET)

https://core.rock7.com/API3/Geofence/{geofence_id}/Get

This request will return a specific Geofence.

ParameterTypeDescriptionExample/Possible Values
PATH PARAMS
geofence_idstringrequired
Geofence identifier
RoDmGzOePxrJZKBAvvnagyQXlpAkvMwj

Example with Parameters

curl --request GET \
--url 'https://core.rock7.com/API3/Geofence/RoDmGzOePxrJZKBAvvnagyQXlpAkvMwj/Get?username=myUsername&password=myPassword' \
--header 'accept: application/json'

Response

{
"geofence": {
"name": "bermuda_triangle",
"definition": "25.41,-80.23,32.38,-64.67,18.38,-65.63",
"id": "JYXyvGekqxMKABvYGyEzbRDgVQZOwmdp",
"type": "geofence"
}
}