Link vehicle to geofence
Example:
https://<address>/api/api.php?cmd=geofencelink
Parameters:
cmd : geofencelink
zone_id: Geofence id , mandatory if external_id not set.
external_id: external geofence id (optional). Ignored if zone_id is set
agent_id: agent ID
idle: idle control in geofence (in minutes) (optional)
speedlimit: speed limit in geofence in km/h (optional)
alerts: send alerts 0 - not send 1- Idles 2- borders crossing 3 - borders and border crossings
Request:
https://<address>/api/api.php?cmd=geofencelink&zone_id=158414&agent_id=66497&idle=10&speedlimit=80&alert=0
Answer:
{
"code":0,
"msg":"OK"
}