Thales Adaptive Connect Documentation Portal

Device

A device compliant with GSMA SGP.32 refers to a mobile device, (usually an eUICC-enabled device) that adheres to the GSMA’s technical and security standards outlined in the SGP.32 specification. A device may belong to one or multiple groups, and each group can be associated with multiple rules. It is uniquely identified by EID. For a device to be known to the system, it must be registered with the Order Scheduler using the initialization Event. Device needs to be created in the system, and a device shall go through the Initialization event to become operable by scheduler ecosystem.

Device provisioning and allocation to groups will be dynamic, these APIs will be deprecated in later releases.

1. API Endpoints

1.1. Creation of Devices

This POST API is used to create a device in the TAC EcoSystem. The device is identified by its EID and can be associated with multiple groups and rules.

Http request
POST /order-scheduler/admin/v1/devices
Content-Type: application/json
Content-Length: XXX
Table 1. Request Fields
Parameter Name Data Type Presence Description

eid

String

M

The EID is a unique identifier for the eUICC. As TAC managing profiles in euicc, eid can be assumed referencing a device.

tac

String

O

Type Allocation Code of the device.

imei

String

O

International Mobile Equipment Identifier

group_names

List<String>

O

The unique name of the group that you want to associate with the device.

Example For Create Device request body
{
    "eid": "89033023425120002299999999999977",
    "tac": "112239441",
    "imei": "112239441572598",
    "groups": [
        "eco-psmo-group"
    ]
}
Example For Create Device response body
{
    "message": "Device Created Successfully!",
    "tenantId": "3a8aa14b-09c0-3760-bf0c-93151120b014",
    "object": {
        "eid": "89033023425120002299999999999977",
        "tac": "112239441",
        "imei": "112239441572598",
        "groups": [
            "eco-psmo-group"
        ]
    }
}
Table 2. Success Response
Code Description

201

Device created successfully!

Table 3. Error Response
Code Description

400

Invalid parameters fields in the request

404

Device details Already Exist

500

Internal server error

1.2. Updating groups for a Device

This PATCH API is used to update a device in Order Scheduler. This API is used to update groups for an existing device. The device is identified by its EID. This API does not support unlinking of the existing groups from a device. It can only be used for linking more groups to the device.

Http request
PATCH /order-scheduler/admin/v1/devices
Content-Type: application/json
Content-Length: XXX
Table 4. Request Fields
Parameter Name Data Type Presence Description

eid

String

M

The EID is a unique identifier for the eUICC/device.

group_names

List<String>

M

The unique name(s) of the group(s) that you want to associate with the device.

Example For Patch Device request body
{
    "eid": "89033023425120002299999999999976",
    "groups": [
        "smart-meters"
    ]
}

Any other fields present in the payload will be ignored, and only groups will be updated. The group to be updated, must be present in the system.

Example For Patch Device response body
{
    "message": "Device Updated Successfully!",
    "tenantId": "3a8aa14b-09c0-3760-bf0c-93151120b014",
    "object": {
        "eid": "89033023425120002299999999999976",
        "groups": [
            "smart-meters"
        ]
    }
}
Table 5. Success Response
Code Description

201

Device updated successfully!

Table 6. Error Response
Code Description

400

Invalid parameters fields in the request

404

Device details Not Found! / Group details not found

500

Internal server error

1.3. Get a Device

This GET API is used to retrive a device from TAC Ecosytem. This API is used to get device form existing devices. The device is identified by its EID.

Http request
GET /order-scheduler/admin/v1/devices/{eid}
Content-Type: application/json
Content-Length: XXX
Table 7. Request Fields
Parameter Name Data Type Presence Description

eid

String

M

The EID is a unique identifier for the eUICC/device.

Sample Request:

Request URL: order-scheduler/v1/devices/89033023425120002299999999999976
Request Method: GET
Request Headers: accept=application/json
Example For Get Device response body
{
    "message": "Device data retrieved successfully",
    "tenantId": "3a8aa14b-09c0-3760-bf0c-93151120b014",
    "object": {
        "eid": "89033023425120002299999999999976",
        "tac": "11229344",
        "imei": "112239441572598",
        "groups": [
            "77d56f43-c7b6-34c8-8b42-7f18c8dd29aa",
            "e58dce43-b3fd-3cbd-b7bb-f7686c64c77a",
            "6018407d-d9eb-3e44-baa5-34771d55df38",
            "f39a7011-dbcc-30cb-a2e8-730177ad34d1"
        ]
    }
}
Table 8. Success Response
Code Description

201

Device data retrieved successfully

Table 9. Error Response
Code Description

400

Invalid parameters fields in the request

404

Device details Not Found! / Group details not found

500

Internal server error