November 2023
MTS Geofence New APIs
3 min
release date november 9, 2023 we are pleased to announce enhanced functionality within our mts geofence feature, which now includes a series of new apis designed to streamline geofencing operations for developers developers can now create polygon shaped geofences in addition to the circular geofences also, developers can create the geofences using the geojson format lastly, the update provides additional control over geofence management and device notifications, ensuring more dynamic and responsive geofencing applications new apis https //docs getos1 com/reference/deactivatereactivate geofence allows developers to deactivate or reactivate a geofence as needed, providing flexibility in geofence management https //docs getos1 com/reference/subscribe devices to a geofenceid enables devices to be subscribed to a geofence, allowing for targeted notifications and efficient tracking https //docs getos1 com/reference/unsubscribe device subscribed to a geofenceid removes devices from a geofence subscription list, ensuring accurate and up to date monitoring https //docs getos1 com/reference/fetch devices subscribed to a geofenceid retrieves all devices currently subscribed to a geofence, offering a comprehensive view of the tracked devices the updated geofence feature provides developers with enhanced control and flexibility dynamic geofence control toggle geofences on or off in response to changing conditions without deleting and recreating them efficient device management manage device subscriptions to geofences easily, optimizing the tracking of entry and exit events accurate subscription lists maintain up to date geofence subscription lists, ensuring that notifications are sent to the correct devices comprehensive device retrieval fetch a complete list of devices associated with a geofence, simplifying monitoring and analytics tasks for further details on the integration flow, and api usage, and to start utilizing these new features, please refer to the updated https //docs getos1 com/integrate mts geofences postman collection you can import v2 2 0 of the os1 postman collection with the new geofence endpoints from our https //github com/os1 logistics/postman collection/blob/main/os1%20postman%20collection%20v2 2 0 postman collection json