To register fuel filling event, use the command unit/registry_fuel_filling_event:
svc=unit/registry_fuel_filling_event¶ms={"date":<uint>, "volume":<double>, "cost":<double>, "location":<text>, "deviation":<uint>, "x":<double>, "y":<double>, "description":<text>, "itemId":<long>}
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 |
{} /* empty object if execution successful, if not - error code */