update_unique_id2

For device types with two modems, you can specify a second unique ID. To set a new value for the second unique ID, use the unit/update_unique_id2 method:

Copied!
svc = unit/update_unique_id2&params = {
  "itemId": <long>,         
  "uniqueId2": <text>       
}

Parameters

The request must contain the following parameters:

Parameter Description
itemId Unit ID.
uniqueId2 New value of the second unique ID.

Response

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

Copied!
{
    "uid2": <text> 
}

Otherwise, an error code is returned.

Error codes

Error code Description
4 Wrong input parameters.
6 Failed to update the second unique ID.
7 No ADF_ACL_AVL_UNIT_EDIT_HW access right to the unit.
1002 This unique ID already exists.

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

Report a mistake

Your message was sent. Thank you!

An error occurred while submitting the form

Download PDF file
Download Word document

See also