Movement Tracking Service
Geofence

Creates Geofence

1min
POST
http://{base_url}/core/api/v1/mts/geofences/
This endpoint is used to create a new geofence entry in the database for which the notification is to be sent when the GPS device approaches the location.
Header Parameters
X-COREOS-TID
*
X-COREOS-ACCESS
*
X-COREOS-REQUEST-ID
*
X-COREOS-USERINFO
Body Parameters
body
*
All Of
GeofenceConfig +
name
*
geojson
*
description
externalRefId
expiry
Responses
201
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
201
400
401
503