OS1 Services
Movement Tracking System
Getting Started
4min
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 prerequisites an account on the os1 platform for more information, see getting started with the os1 platform https //docs getos1 com/docs/getting started 1 credentials for an app on the os1 platform for more information, see getting started building apps https //docs getos1 com/docs/getting started building apps an access token for more information about creating an access token for testing purposes, see postman collection https //docs getos1 com/docs/postman collection or how to use the api 'try it' feature https //docs getos1 com/reference/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 creategeofence creates a geofence updategeofencestatus deactivates or reactivates a geofence deletegeofence deletes a geofence getgeofence retrieves a geofence subscribedevices subscribes device(s) to geofenceid getsubscribeddevices fetches devices subscribed to a geofeceid unsubscribedevice unsubscribe devices subscribed to a geofencid register an iot device this api allows developers to register devices from mts register iot device retrieve iot device details deregister iot device 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 create subscription get subscription set topic to inactive 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 inserttracesbytrackname insettracesbytrackid gettracesbytrackname gettracesbytrackid check missing sequence numbers the missing sequence apis allow developers to retrieve missing sequence numbers by trackname or trackid getmissingsequencebytrackname getmissingsequencebytrackid