Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Verb

PATCH

Resource

/api/datamanagement/v1/SMDevices/{id}

Content type

application/json

Body

{

“data”: {

“smrdTerminalId”: “<terminal id>”,

“smrdModel”: <device model>,

“smrdIMEI”: <device IMEI>,

“smriSecurityState”: <state>

}

}

Where:

Field

Description

smrdTerminalId

Device unique terminal Id, assigned by the administrator (max 255 chars).

smrdModel

Device model Id. The device model must exist (see 10.2.1).

smrdIMEI

Device IMEI number (max 15 chars, ‘0000 …’ if none).

smriSecurityState

Security state ('SECURE’ or ‘UNSECURE’)

The response data is a JSON object with the following structure:

...