POST netflix/operators/register_devices

Available from CRM.COM R12.1.0

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

Resource URL

Parameters

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:

Name

Type

Description

id

(semi-optional)

String

The ID of the group

name

(semi-optional)

String

The code of the group

alternative_code

(semi-optional)

String

The alternative code of  the group

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

Referred Parameter Objects Data

 Devices parameter object data

Name

Type

Description

esn

(mandatory)

String

The electronic serial number of the device

Response Data

Name

Type

Description

failed_devices_setSet of Devices Objects

The devices that failed to be registered against the specified operator

Referred Objects Response Data

 Devices response data

Name

Type

Description

esn

String

The electronic serial number of the device

Examples

 Example 1

HTTP Method: POST

 

Request:

Body:

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

Response:

    {
        "data":
        {
            "failed_devices_set":
            [
                {
                    "esn": "Test_1"
                }
            ]
        },
        "status":
        {
            "code": "OK",
            "description": "",
            "message": ""
        }
    }