Thales Adaptive Connect Documentation Portal

Orders and results

1. Orders

Orders are the main notion about what should be done on the eUICC.

1.1. Different order submission models:

1.1.1. 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.

Click for details : getOrder API

1.1.2. postOrder API

This postOrder API serve as the fundamental mechanism through which the Connectivity Provider communicates actions to be performed on the eUICC via the TAC server.

1.2. Order categories

The following diagram illustrates all available order categories:

orders
Figure 1. Order Connectivity Provider API

1.2.1. Different Orders categories are:

  1. GSMA SGP.22 based eUICCs and GSMA SGP.32 based eUICCs -

    1. Profile Management

    2. Applet management

  2. GSMA SGP.32 based eUICCs -

    1. Eim Management

    2. eUICC management

1.3. Common Order attributes

Connectivity Provider must set a iot_correlation_id in order to correlate orders and results.

The same iot_correlation_id is repeated in result, when eIM responds back to Connectivity provider with results.

Table 1. Order attributes
Attribute Type Presence Description

iot_correlation_id

String

M

Correlation id set by Connectivity Provider in the related order. Textual representation of UUID.

Example: "aec20767-d460-48f0-b9d4-feda26249b65"

1.4. EUICC Type

Two kind of eUICC are considered by the document.

  • GSMA SGP.22 based eUICCs

  • GSMA SGP.32 based eUICCs compliant with the GSMA SGP 32 1.2 specifications.

Even if service provided is similar, it remains some differences behind the scene, for example, regarding the methods used to push the updates to the eUICC.

GSMA SGP 32 1.2 specifications cover new notions and consequently its support comes with new orders.

From the Connectivity Provider perspective, the eUICC type can be used to determine which kind of orders is applicable and consequently could be returned.

For example, it is not possible to provide any eIM management orders for GSMA SGP 22 based eSIMs. Indeed, this notion is newly introduced by the GSMA SGP 32 1.2 specifications.

This table provides the supported order categories for each eUICC type:

Table 2. EUICC types
EUICC Type Eim Management Profile Management Applet Management Euicc management

GSMA SGP.32 based eUICCs

yes

yes

yes

yes

GSMA SGP.22 based eUICCs

no

yes

yes

no

2. Results

For each order received, TAC server will provide a result. Consequently, the results are organized in very similar way compared to submitted orders.

The Fleet Manager can be integrated and configured to received the Results from the TAC server in either of the two ways:

  • Option1: Results in getOrder request body:

    An optional parameter of the getOrders method is used to provide result(s) to the Connectivity Provider. Using this way, Connectivity Provider could decide about the next order(s) to submit according the result of the previous ones. This method reduces the "ping-pong" effect.

    For example:

    • If the Connectivity Provider receives the failed result related to a profile download, it could decide to remove an existing profile to free some space on the eUICC before continuing.

    • At opposite, if the profile download installation result is ok, then it could decide to enable it.

    • It could also just take into account the result and stop here. In this case, the response is an empty list: nothing else is required.

  • Option2: Results via Asynchronous Notificaiton API:

    The notifyResults method - an Asynchronous Notification API implemented and exposed by the Fleet Manager is used to receive the Results of the executed Orders from the TAC server. Since this is an asynchronous method of notifying results from the TAC server, the Fleet Manager cannot respond to the TAC server with the next Order to be executed on the device.

The diagram below illustrates both the Option1 and Option2 of communicating Results from the TAC server to the Fleet Manager:

cp integration results
Figure 2. Relationship between TAC solution and Connectivity Provider with results

TAC servers maintain the status of order results sent to Connectivity Provider.
If TAC servers failed to send the order results to Connectivity Provider, then TAC server will retry to send them again to Connectivity Provider based on configured retry mechanism.

results
Figure 3. Result Connectivity Provider API

if the Connectivity Provider sets a iot_correlation_id in the order, then eIM will set the same value in the matching result.

This is a way to correlate easily the submitted order and the received result.

Result comes with following attributes:

Table 3. Common Result attributes
Attribute Presence Description

order_id

O

Unique identifier of order generated by TAC solution. Textual representation of UUID This is deprecated and will be removed in upcoming releases. Consumer of these fields are expected to adapt to this as soon as possible.

iot_correlation_id

M

Correlation id set by Connectivity Provider in the related order. Textual representation of UUID.

status

M

Result status

See Result status for more details

error_code

M

error code (0 stands for success)

error_message

O

Contextual and optional error message providing more information about the error

root_error_code

O

Optional Root error code (Type String containing Either hexa string or integer value)

root_error_message

O

Contextual and optional root error message providing more information about the error

submission_time

M

Time when the order was submitted, expected in ISO 8601 Extended Format such as YYYY-MM-DDThh:mm:ss.sssZ.

completion_time

M

Time when the order was completed, expected in ISO 8601 Extended Format such as YYYY-MM-DDThh:mm:ss.sssZ.

Table 4. Result status
Status Description

Executed-Success

Meaning order is executed successfully

Executed-WithWarning

Meaning order is executed successfully with warnings (should be considered as success).")

Failed

Meaning that the order was not properly executed. Please refer to error code and error message.

Expired

Meaning that the validity of the order is reached and consequently the order is aborted by TAC solution

Cancelled

Meaning that the order execution was aborted by the TAC solution.

Rejected

Meaning that the order is not accepted by the TAC solution and rejected immediately

Ignored

Meaning that the order is not ignored by the TAC solution because not supported

Results are categorized by following types:

  1. Eim Management

  2. Profile Management

  3. Applet management

  4. eUICC management

Only information pertinent for the Connectivity Provider will be provided. Any information specific to the eIM implementation will be discarded. For example, for GSMA SGP 32 implementation, the IPA capabilities are not provided to Connectivity Provider since not relevant from its perspective.

2.1. UnknownOrderResult

This result is returned to Fleet Manager when an order with an unknown or unsupported type field is received. It indicates that the TAC solution does not recognise the order type and has rejected it without attempting execution. As TAC server supports orders for both SGP.22 and SGP.32 based eUICC, it is possible that some SGP.32 based eUICC order is not supported on SGP.22 based eUICC. Or vice a versa. Example: RegisterEimOrder (type=CREATE_EIM_ORDER) is supported for SGP.32 based eUICC but not for SGP.22 based eUICC. So when TAC server receives RegisterEimOrder for SGP.22 based eUICC, it is rejected by the TAC server and it’s rejection is sent using UnknownOrderResult(type=UNKNOWN_ORDER_RESULT).

When any single order in a group is unknown or unsupported, all orders in that group are rejected simultaneously. The unknown order receives status Rejected (error code 3), while any other valid orders in the same group are cancelled with status Cancelled (error code 2). Results are sent back to Fleet Manager immediately, without waiting for the next device polling cycle.
Table 5. UnknownOrderResult fields
Field Type Required Description

type

string

Yes

Always UNKNOWN_ORDER_RESULT. Used as the discriminator to identify this result type.

status

string (enum)

Yes

Always Rejected for the unsupported order itself.

error_code

integer

Yes

Always 3 (TAC internal code for Rejected).

error_message

string

Yes

Error message describing rejection reason. Format:
"Order type '<unknownType>' is not supported by this TAC version"

iot_correlation_id

string (UUID)

Yes

The iot_correlation_id from the original order, used to correlate this result back to the Fleet Manager order.

submission_time

string

Yes

Timestamp when the order was received and the rejection was initiated.
Example: 2026-04-15T08:58:47.760346800Z

completion_time

string

Yes

Timestamp when the rejection processing completed.
Example: 2026-04-15T08:58:47.760346800Z

Example: Single unknown order rejected
{
  "type": "UNKNOWN_ORDER_RESULT",
  "status": "Rejected",
  "error_code": 3,
  "error_message": "rejected",
  "iot_correlation_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "submission_time": "2026-04-15T08:58:47.760346800Z",
  "completion_time": "2026-04-15T08:58:47.760346800Z"
}
Example: Mixed group — one unknown order and one valid order (group-level rejection)
[
  {
    "type": "UNKNOWN_ORDER_RESULT",
    "status": "Rejected",
    "error_code": 3,
    "error_message": "rejected",
    "iot_correlation_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "submission_time": "2025-04-15T12:30:00.000Z",
    "completion_time": "2025-04-15T12:30:00.015Z"
  },
  {
    "type": "ENABLE_PROFILE_RESULT",
    "status": "Cancelled",
    "error_code": 2,
    "error_message": "cancelled",
    "iot_correlation_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
    "submission_time": "2025-04-15T12:30:00.000Z",
    "completion_time": "2025-04-15T12:30:00.016Z"
  }
]