This is an old revision of the document!


Get parameters used in reports

To get parameters used in reports, use the command unit/get_report_settings:

svc=unit/get_report_settings&params={"itemId":<long>}

Parameters

Name Description
itemId unit ID

Response

{
	"speedLimit":<uint>,		/* speed limit, km/h */
	"maxMessagesInterval":<uint>,	/* maximum interval between messages, seconds */
	"dailyEngineHoursRate":<uint>,	/* daily engine hours rate, seconds */
	"urbanMaxSpeed":<uint>,		/* urban speed limit, km/h */
	"mileageCoefficient":<uint>	/* mileage coefficient */
	"speedingTolerance":<uint>,	/* allowed speeding, km/h (used if speedingMode = 1) */
	"speedingMinDuration":<uint>,   /* min speeding time, seconds */
	"speedingMode":<uint>           /* speeding detection mode: 0 - use speedLimit, 1 - use map data */
}

If speedingMode = 0 and speedLimit = 0 then no any speeding table is built.

Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2020 Gurtam