Command disabled: backlink

Geofences: presence in geofences:

To find out if current point presents in certain geofences use the command resource/get_zones_by_point:

svc=resource/get_zones_by_point&params={"spec": {
						"zoneId":{
							"<long>":[<long>],
							...
						},
						"lat":<double>,
						"lon":<double>
					}}

Parameters

Name Description
zoneId list of geofences descriptions:
format: {resId1: [], resId2: [zId1, zId2, …], …}
resN - resource ID,
zIdN - geofence ID
:!: If array of geofences IDs is empty it means that all geofences will be taken
lat latitude
lon longitude

Response

{
	<text>:[<uint>],	/* resource ID: list of geofences IDs*/
	...
}
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2019 Gurtam