registry_insurance_event

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

Copied!
svc=unit/registry_insurance_event&params={
  "date":<uint>,
  "type":<uint>,
  "case_num":<uint>,
  "description":<text>,
  "itemId":<long>
}

Parameters

Parameter

Description

itemId

Unit ID.

type

If type=1, case_num is saved.

case_num

Code number.

description

Event description.

Response

If the request is completed successfully, an empty response is returned.

Copied!
{ }	

If the request fails, an error code is returned.

Error codes

Error code

Description

4

Invalid input parameters.

6

Failed to register the event.

7

The user doesn't have the required access right to the unit (ADF_ACL_AVL_UNIT_REG_EVENTS). 

If you find a mistake in the text, please select it and press Ctrl+Enter.

Your message was sent. Thank you!

Report a mistake

An error occurred while submitting the form

Download PDF file
Download Word document

See also