Register maintenance work

To register maintenance work, use the command unit/registry_maintenance_event:

svc=unit/registry_maintenance_event&params={"date":<uint>,
					    "info":<text>,
					    "duration":<int>,
					    "cost":<double>,
					    "location":<text>,
					    "x":<double>,
					    "y":<double>,
					    "description":<text>,
					    "mileage":<double>,
					    "eh":<int>,
					    "done_svcs":<text>,
					    "itemId":<long>}

Parameters

Name Description
date date
info kind of work
duration duration
cost cost
location location
x longitude
y latitude
description description
mileage mileage
eh engine hours
done_svcs list of services (comma-separated)
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-2021 Gurtam