April 2024

New MTS Geofence API

2min

Date: April 24, 2024

The Motion Tracking Service (MTS) Geofence service has a new API endpoint that enables you to retrieve a specific geofence by using a unique external reference ID. This update enhances the functionality of the Geofence API by providing an alternative method to fetch geofence details.

New Endpoint:

  • Endpoint: GET /geofences/{externalRefId}
  • Description: Retrieves a particular geofence using its unique external reference ID.
  • Path Parameter:
    • externalRefId (string): The unique identifier of the geofence to be retrieved.

Enhancements to Existing APIs:

  1. POST /geofences/:
    • A new externalRefId parameter has been added to the request payload.
    • The externalRefId is a unique identifier for a particular geofence.
    • Two geofences cannot have the same externalRefId.
  2. GET /geofences/{geofenceId}:
    • The response now includes the externalRefId field, returning the external reference ID associated with the geofence.

For more details on the usage and parameters of the new endpoint and the enhancements to existing APIs, please refer to API reference and the MTS Geofence developer guide.