Спасибо!

Мы исправим ошибку в ближайшее время

Сообщить об ошибке

Site Tools


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
Integer id – geofence identifier
Integer rootGroupId – root group of the goefence
Integer geozoneTypeId – geofence type identifier
string geozoneTypeName – geofence type
Number radius – radius of a “circle” type geofence
Integer geometryTypeId – geofence shape identifier. A polygon is used for a “circle” type geofence
String geometryTypeName – shape of the geofence
Integer lineWidth – width of a “line” type geofence
Integer status – – status identifier (active/inactive)
String statusName – status
String uuid – uuid geofence identifier
Number latitude – latitude of the geographic center point of a “circle” type geofence
Number longitude – longitude of the geographic center point of a “circle” type geofence
Integer countPoints – number of points in a geofence
Dataset points – points of a geofence:
Integer pointId – point identifier
Number latitude – latitude
Number longitude – longitude

/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
Integer parentGroupId – parent group identifier
String name – name of the group
geozoneIds – identifiers of geofences that are part of any group
Integer geozoneIds – geofence identifier