Versions Compared

Key

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

Available from CRM.COM R12.1.0

Excerpt

This method registers a set of devices against a specific netflix operator. Multiple devices can be registered through each call.

...

Name

Type

Description

token

String

The token retrieved from the login method

group_identifierGroup Identifier

The identifier of the group that represents the operator. The allowed group identifier fields are the following:

Include Page
V4:group_identifier
V4:group_identifier

devices

(mandatory)

Set of Devices Objects

The devices that will be registered against the specified operator

Maximum 1000 Devices can be registered through each call

...

Expand
titleExample 1

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3IiOiJtcGFkbWluaXN0cmF0b3IiLCJvcmciOiJldm5meCIsIm91biI6IjEiLCJleHAiOiIxNTAxMTY0ODQ4IiwiaWF0IjoiMTUwMTE1NzY0OCIsImp0aSI6IjdCNkJBM0RBOTMwMDQ0RDlBNDIwQjVBNUU4NEVFMzUzIn0.VfW8HoMGjS1vaH4ocUjhLjZfrM4vxcbz1LwWybxAo6s",
"group_identifier":{"name":"Telkom Operator"},
"devices":[
{
"esn":"Test_1"
},
{
"esn":"Test_6"
},
{
"esn":"Test_7"
}
]
}

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
     {
        "data":
        {
            "failed_devices_set":
            [
                {
                    "esn": "Test_1"
                }
            ]
        },
        "status":
        {
            "code": "OK",
            "description": "",
            "message": ""
        }
    }