REST API Methods List
/api/service/geozones/geozones GET – acquisition of data on user geofences
The user geofences are divided into pages. It is possible to specify the desired page and the number of geofences per page in the request form.
Input Values |
---|
String Bearer {SessionID} or JWT {JWT} – session identifier received during the authorization. For example, for SessionID: Bearer 611ed1554ced2e10d13938bbd18482b060cb20f1 Integer page – the number of the page with user's geofences. If the value is not specified, the first page is returned Integer pageSize – number of geofences on the page. Possible values: from 1 to 50. Default value: 20 |
Returned Values |
Integer total – total number of geofences Integer page – number of the current page with user geofences Integer pageSize – number of geofences on the page Dataset rows – list of geofences: String name – name of the geofence |
/api/service/geozones/geozone-groups GET – acquisition of data on all user geofence groups
Input Values |
---|
String Bearer {SessionID} or JWT {JWT} – session identifier received during the authorization. For example, for SessionID: Bearer 611ed1554ced2e10d13938bbd18482b060cb20f1 |
Returned Values |
geozoneIds – identifiers of geofencesthat are not part of any group Integer geozoneIds – geofence identifier Dataset groups – list of geofence groups: Integer Id – group identifier |