Trailers: get trailer bindings

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

svc=resource/get_trailer_bindings&params={"resourceId":<long>,
					  "unitId":<long>,
					  "trailerId":<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)
trailerId trailer ID (0 - all trailers)
timeFrom interval beginning
timeTo interval end

Response

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