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.
POST /order-scheduler/admin/v1/devices Content-Type: application/json Content-Length: XXX
| Parameter Name | Data Type | Presence | Description |
|---|---|---|---|
|
String |
M |
The EID is a unique identifier for the eUICC. As TAC managing profiles in euicc, eid can be assumed referencing a device. |
|
String |
O |
Type Allocation Code of the device. |
|
String |
O |
International Mobile Equipment Identifier |
|
List<String> |
O |
The unique name of the group that you want to associate with the device. |
{
"eid": "89033023425120002299999999999977",
"tac": "112239441",
"imei": "112239441572598",
"groups": [
"eco-psmo-group"
]
}
{
"message": "Device Created Successfully!",
"tenantId": "3a8aa14b-09c0-3760-bf0c-93151120b014",
"object": {
"eid": "89033023425120002299999999999977",
"tac": "112239441",
"imei": "112239441572598",
"groups": [
"eco-psmo-group"
]
}
}
| Code | Description |
|---|---|
|
Device created successfully! |
| Code | Description |
|---|---|
|
Invalid parameters fields in the request |
|
Device details Already Exist |
|
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.
PATCH /order-scheduler/admin/v1/devices Content-Type: application/json Content-Length: XXX
| Parameter Name | Data Type | Presence | Description |
|---|---|---|---|
|
String |
M |
The EID is a unique identifier for the eUICC/device. |
|
List<String> |
M |
The unique name(s) of the group(s) that you want to associate with the device. |
{
"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.
{
"message": "Device Updated Successfully!",
"tenantId": "3a8aa14b-09c0-3760-bf0c-93151120b014",
"object": {
"eid": "89033023425120002299999999999976",
"groups": [
"smart-meters"
]
}
}
| Code | Description |
|---|---|
|
Device updated successfully! |
| Code | Description |
|---|---|
|
Invalid parameters fields in the request |
|
Device details Not Found! / Group details not found |
|
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.
GET /order-scheduler/admin/v1/devices/{eid}
Content-Type: application/json
Content-Length: XXX
| Parameter Name | Data Type | Presence | Description |
|---|---|---|---|
|
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
{
"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"
]
}
}
| Code | Description |
|---|---|
|
Device data retrieved successfully |
| Code | Description |
|---|---|
|
Invalid parameters fields in the request |
|
Device details Not Found! / Group details not found |
|
Internal server error |
