Movement Tracking Service
Geofence
Creates Geofence
1min
POST
http://{base_url}/core/api/v1/mts-geofences/
HEADER PARAMETERS
X-COREOS-TID
string
*Tenant ID.
X-COREOS-ACCESS
string
*Core-os access token.
X-COREOS-REQUEST-ID
string
*Unique RequestId.
X-COREOS-USERINFO
string
Core-os user info.
BODY PARAMETERS
body
CreateGeofenceRequest
*[All Of:GeofenceConfigGeofenceProps]name
string
*unique name of the geofence
geojson
object
*geofence details in geojson format. User may provide either a point or a polygon geojson
description
string
RESPONSES
201
OK - The request succeeded.
GeofenceCreationResponse
request
Request
error
Error
Error Information
data
GeofenceID
400
Bad request - The server is unable to process the request due to something that is perceived to be a client error.
ErrorResponse
error
Error
*Error Information
request
Request
*data
ID
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.
ErrorResponse
error
Error
*Error Information
request
Request
*data
ID
503
Server error - The server is not ready to handle the request. This could be due to maintenance downtime or system resource constraints.
ErrorResponse
error
Error
*Error Information
request
Request
*data
ID


Updated 10 Nov 2023
Did this page help you?