Getting Started
With the Motion Tracking System (MTS) service, developers can use APIs and Pub-Sub mechanisms to track the movement of a device including monitoring when a device enters or leaves a preconfigured geofenced area. The following how-to sections describe the steps necessary to register and monitor a device for motion tracking using the MTS API.
- Credentials for an App on the OS1 Platform. For more information, see Getting Started Building Apps.
- An access token. For more information about creating an access token for testing purposes, see Postman Collection or How to use the API 'Try It' feature.
- A mechanism to call the endpoints. For testing purposes, you can use our Postman Collection or the “Try It!” feature in our API Documentation.
By using the MTS Service APIs, you can:
Define Geofence
With these APIs, developers can add a new geofence to the database, remove a geofence, access a particular geofence, or retrieve all geofences associated with a particular deviceId.
Register an IOT Device
This API allows developers to register devices from MTS.
Subscribe a device
Developers can use these APIs to add a new subscription configuration to a Cassandra table, retrieve a subscription, or deactivate a topic with no other subscriptions.
Insert and Get Trace Data
The Traces APIs allow developers to insert trace data to MTS and retrieve trace data for a particular device within a designated timeframe.
Check Missing Sequence Numbers
The Missing Sequence APIs allow developers to retrieve missing sequence numbers by trackName or trackId.