update_eh_counter

To set a new value for the counter of engine hours, use the unit/update_eh_counter command.

Copied!
svc=unit/update_device_type & params = {
    "itemId": <long>,
    "deviceTypeId": <long>,
    "uniqueId": <text>
}

Parameters

The request must contain the following parameters:

Parameter Description
itemId Unit ID.
newValue New value of the engine hours counter (h). Must be within the range of 0 to 0xFFFFFFFF.

Response

If the request is completed successfully, a response in the following format is returned:

Copied!

{
    "cneh": <uint> /* Value of the engine hours counter (h). */
}

Otherwise, an error code is returned.

Error codes

Error code Description
4 Wrong input parameters.
6 Failed to update the engine hours counter.
7 No ADF_ACL_AVL_UNIT_EDIT_COUNTERS access right to the unit.

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