getOrder API
This getOrder API request is a synchronous API used by the TAC server to ask Connectivity Provider for orders based on the eventList, resultList and stateChange provided.
Basically TAC will execute each received order one by one and provide a result for each of them to the Connectivity Provider.
Following diagram illustrates the flow:
Below are the conditions when TAC scheduler makes getOrder request to Connectivity Provider :
-
For any device, when there is no Rule is provisioned at Scheduler.
-
For any device, after rule evaluation at Scheduler, no rule matches, then getOrder request for that particular event.
-
For any device, when there is no event for rule evaluation at Scheduler, and there is no Universal Rule provisioned, then getOrder request with no event is made.
For all the mentioned above conditions, the basic common part is that when for any device, Scheduler becomes incapable of executing or giving any order to TAC server, then scheduler invokes GetOrder request to Connectivity Provider to retrieve any order for the device.
|
The get-order channel is controlled by the following
The old flat keys
|
1. HTTP Request
POST /v2/orders Content-Type: application/json Communication: Mutual-Auth
| Connectivity Provider or Connectivity Provider need to expose end point. |
| Name | Type | Presence | Description |
|---|---|---|---|
|
Object |
M |
Provide information on the target which should be updated. |
| Name | Type | Presence | Description | ||
|---|---|---|---|---|---|
|
String |
M |
GSMA Unique eUICC identifier. |
||
|
EuiccType |
M |
|
||
|
VersionType |
O |
This is not applicable for SGP.32. For SGP.22 cards, this field contains the TAC applet version. The version provides 3 int:
The version is serialized as a string having this form X.Y.Z where:
Example: major = 2, minor = 1, revision = 0 → "2.1.0"
|
||
|
PollingType |
O |
Provides information about the polling type such as regular polling, trig…
|
||
|
String |
O |
Specifies whether the eUICC is currently connected (online) or not (offline), as determined by the TAC server.
|
||
|
List<Result> |
O |
Provide results of previous submitted orders which could influence the decision-making, refer to result section in [legacy-support] and [eim-support] orders via getOrder API. |
||
|
List<Event> |
O |
Provide events which occurred on the field |
||
|
StateUpdate |
O |
stateUpdate is the delta information which needs to be in sync with Connectivity Provider coming from scheduler, refer to [state-update] |
||
|
Custom Data |
O |
Contextual/Custom data propagated along as-is, without any specific interpretation or modification from the device/eUICC to connectivity provider |
||
|
RegisteredNetwork |
O |
Current Registered network |
||
|
String |
O |
Unique identifier which groups logically the provided orders. These orders will be executed in sequence and the results will be provided only when all of them are completed. In case of error, the group execution stops and the result is provided. The orders which are not executed in such case are CANCELLED. Textual representation of UUID. |
| Name | Type | Presence | Description |
|---|---|---|---|
|
String |
M |
Mobile Country Code of the MNO |
|
String |
M |
Mobile Network Code of the MNO |
{
"eid": "89033023425120002299999999999976",
"euicc_type": "GSMA_SGP_32",
"euicc_connection_state": "online",
"results": [],
"events": [
{
"type": "IMEI_CHANGE_EVENT",
"creation_time": "2026-07-30T13:00:21.883023672Z",
"new_imei": "112239441572598",
"new_tac": "11229344",
"old_imei": "112239441572595",
"old_tac": "11229344"
}
],
"current_network": {
"mobile_country_code": "208",
"mobile_network_code": "00"
}
}
{
"eid": "89033023425120002299999999999976",
"euicc_type": "GSMA_SGP_32",
"euicc_connection_state": "online",
"results": [],
"events": [
{
"type": "PROFILE_ACTIVATION_EVENT",
"creation_time": "2026-07-30T12:24:03.916585042Z",
"iccid": "89880000000777716589"
}
],
"state_update": {
"profiles": [
{
"iccid": "89880000000777716589",
"enabled": true,
"profile_configuration": {
"polling_configuration": {
"polling_at_power_on": true,
"polling_every_number_of_power_on": 1,
"polling_at_imei_change": true,
"regular_polling_enabled": true,
"polling_period_in_hours": 1,
"polling_local_interface": "ENABLED_BY_APDU_AND_STK_MENU",
"polling_at_mcc_change": true
}
}
},
{
"iccid": "89880000000777716662",
"enabled": false,
"fallback_attribute": false,
"smdp_transaction_id": "10C1FE6C3C764EFA852A95767D7790F5",
"smdp_oid": "1.3.6.1.4.1.31746.1.220.100.104.8",
"sima_response": "3007A0053003800100"
}
],
"eim_management": [
{
"eim_id": "1.3.6.1.4.1.31746.1.800.25",
"association_token": 14
}
]
},
"current_network": {
"mobile_country_code": "208",
"mobile_network_code": "00"
}
}
TRIG_BY_DEVICE Polling Type (No Event Available for Scheduler Rule Evaluation and No Universal Rule Provisioned){
"eid": "89033023425120002299999999999976",
"polling_type": "TRIG_BY_DEVICE",
"euicc_type": "GSMA_SGP_32",
"euicc_connection_state": "online",
"results": [],
"current_network": {
"mobile_country_code": "208",
"mobile_network_code": "00"
}
}
{
"eid": "89033023425120002299999999999976",
"euicc_type": "GSMA_SGP_32",
"euicc_connection_state": "online",
"results": [
{
"type": "LIST_PROFILE_RESULT",
"status": "Executed-Success",
"error_code": 0,
"iot_correlation_id": "23f50290-8c14-11f1-86c4-a9c342668d3f",
"order_id": "341768e0-8c14-11f1-8fa6-5be4171dcd88",
"eid": "89033023425120002299999999999976",
"submission_time": "2026-07-30T12:43:02.638Z",
"completion_time": "2026-07-30T12:43:05.535Z",
"profiles": [
{
"iccid": "89000000086964496410",
"isdp_aid": "A0000005591010FFFFFFFF8900001100",
"enabled": false,
"profile_name": "Bootstrap Profile",
"profile_class": "OPERATIONAL",
"service_provider_name": "Thales",
"ecall_indication": false,
"fallback_attribute": false,
"fallback_allowed": false
},
{
"iccid": "89880000000777716589",
"isdp_aid": "A0000005591010FFFFFFFF8900001200",
"enabled": true,
"profile_name": "Profile without subscription for Mobile Simulator",
"profile_class": "OPERATIONAL",
"service_provider_name": "Demo Center",
"ecall_indication": false,
"fallback_attribute": false,
"fallback_allowed": false
}
]
}
],
"current_network": {
"mobile_country_code": "208",
"mobile_network_code": "00"
}
}
TRIG_BY_DEVICE Polling Type and EUICC_INITIALIZATION_EVENT{
"eid": "89033023425120111399999999999976",
"version": "2.0.0",
"polling_type": "TRIG_BY_DEVICE",
"euicc_type": "GSMA_SGP_22",
"euicc_connection_state": "online",
"events": [
{
"type": "EUICC_INITIALIZATION_EVENT",
"creation_time": "2026-07-30T15:22:15.434351059Z",
"profiles": [
{
"iccid": "89880000000010113607",
"enabled": true,
"fallback_attribute": true
}
],
"device_info": {
"imei": "222413123244127",
"tac": "222413123"
},
"current_network": {
"mobile_country_code": "123",
"mobile_network_code": "01"
}
}
],
"current_network": {
"mobile_country_code": "123",
"mobile_network_code": "01"
}
}
2. HTTP Response
| Name | Type | Presence | Description |
|---|---|---|---|
|
Object |
M |
Provide the list of orders to execute |
| Name | Type | Presence | Description |
|---|---|---|---|
|
String |
M |
GSMA Unique eUICC identifier. |
|
String |
O |
Unique identifier which groups logically the provided orders. These orders will be executed in sequence and the results will be provided only when all of them are completed. In case of error, the group execution stops and the result is provided. The orders which are not executed in such case are CANCELLED. Textual representation of UUID. |
|
List<Order> |
M |
List of orders. Refer to Section [Orders] |
|
Integer |
O |
Defines the number of days for which an order remains valid for execution from the date it is created. After the specified number of days has passed, the order will be marked as expired. |
|
Orders returned in the getOrder response are stored internally as |
{
"eid": "89033023425120000099999999999975",
"order_validity_in_days": 11,
"orders": [
{
"type":"DOWNLOAD_PROFILE_ORDER",
"iot_correlation_id":"56cee9a5-a47c-449a-bdb2-b34bd03c1949",
"matching_id":"4D55334836333433585A4C3532385334",
"smdp_address":"mnoname.prod.ondemandconnectivity.com",
"download_mode_hint":"DIRECT_MODE"
}
]
}
|
To clarify the functional distinction between the Order Provisioning APIs and the Get Order API, as referencing both together can lead to confusion — particularly for customers who are using only one of the two. The Order Provisioning APIs is intended for use cases where the Connectivity Provider actively pushes orders to the TAC server. The Get Order API, on the other hand, enables the TAC server to pull orders from the Connectivity Provider and is suited for polling-based workflows. These two APIs are mutually exclusive in terms of integration, customers should implement one or the other, depending on their chosen architecture. |
