Register fuel filling

To register fuel filling event, use the command unit/registry_fuel_filling_event:

svc=unit/registry_fuel_filling_event&params={"date":<uint>,
					     "volume":<double>,
					     "cost":<double>,
					     "location":<text>,
					     "deviation":<uint>,
					     "x":<double>,
					     "y":<double>,
					     "description":<text>,
					     "itemId":<long>}

Parameters

Name Description
date date
volume filled volume, lt
cost cost
location location
deviation time deviation (±), min
x longitude
y latitude
description description
itemId unit ID

Response

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