Command disabled: backlink

Drivers: get bindings

To get information about binding/unbinding of a driver for specified period of time, use the command resource/get_driver_bindings:

svc=resource/get_driver_bindings&params={"resourceId":<long>,
					 "unitId":<long>,
					 "driverId":<long>,
					 "timeFrom":<uint>,
					 "timeTo":<uint>}

:!: Current request can't be executed simultaneously with following requests:

Parameters

Name Value
resourceId resource ID
unitId unit ID (0 - all units)
driverId driver ID (0 - all drivers)
timeFrom interval beginning
timeTo interval end

Response

{
	<text>:[{	/* driver ID */
		"t":<unit>,	/* time of binding/unbinding*/
		"u":<long>	/* unit ID if binding, 0 if unbinding */
	}],
	...
}
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam