Fuel consumption: consumption math

To update parameters of fuel consumption math, use the command unit/update_fuel_math_params:

svc=unit/update_fuel_math_params&params={"itemId":<long>,
					 "idling":<double>,
					 "urban":<double>,
					 "suburban":<double>,
					 "loadCoef":<double>}

Parameters

Name Description
itemId unit ID
idling idling, litres per hour
urban urban cycle, litres per 100 km
suburban suburban cycle, litres per 100 km
loadCoef coefficient when moving under load

Response

{}	/* empty object if execution successful, if not - error code */