To register maintenance work, use the command unit/registry_maintenance_event:
svc=unit/registry_maintenance_event¶ms={"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>}
| 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 |
{} /* empty object if execution successful, if not - error code */