Movement Tracking Service
Geofence

Subscribe device(s) to a geofenceId

1min
PUT
http://{base_url}/core/api/v1/mts/geofences/{geofenceId}/devices

This endpoint is used to subsceibe device(s) to a particular geofenceId. User can use the same API to override the details if they wish to update them for a specific geofenceId and deviceId.

Path Parameters
geofenceId
*
Header Parameters
X-COREOS-TID
*
X-COREOS-ACCESS
*
X-COREOS-REQUEST-ID
*
X-COREOS-USERINFO
Body Parameters
body
*
deviceId
*
expiry
geofenceType
callback
*
Responses
200
OK - The request succeeded.
request
error
data
400
Bad request - The server is unable to process the request due to something that is perceived to be a client error.
error
*
request
*
data
401
Unauthorized - The client's identity is unknown to the server. Verify that you are accessing the correct Tenant and that your client ID and client secret are valid on that Tenant.
error
*
request
*
data
503
Server error - The server is not ready to handle the request. This could be due to maintenance downtime or system resource constraints.
error
*
request
*
data
Curl
JS
Ruby
Python
Responses
200
400
401
503