Update parameters used in reports

To update parameters used in reports, use the command unit/update_report_settings:

svc=unit/update_report_settings&params={"itemId":<long>,
					"params":{
						"speed_limit":<uint>,
						"max_messages_interval":<uint>,
						"daily_engine_hours_rate":<uint>,
						"urban_max_speed":<uint>,
						"mileage_coefficient":<double>
					}}

Parameters

Name Description
itemId unit ID
params parameters
speed_limit speed limit, km/h
max_messages_interval maximum interval between messages, seconds
daily_engine_hours_rate daily engine hours rate, hours
urban_max_speed urban speed limit, km/h
mileage_coefficient mileage coefficient

Response

{}	/* empty object if execution successful, if not - error code */
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam