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 */
	}],
	...
}