Thales Adaptive Connect Documentation Portal

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:

cp integration for orders
Figure 1. Relationship between TAC solution and Connectivity Provider

Below are the conditions when TAC scheduler makes getOrder request to Connectivity Provider :

  1. For any device, when there is no Rule is provisioned at Scheduler.

  2. For any device, after rule evaluation at Scheduler, no rule matches, then getOrder request for that particular event.

  3. 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 ncp_config keys on the Connectivity Provider (see [post-connectivity-provider-api]):

  • get_order.enable (default true) — The get-order call is allowed. When false, TOS never calls get-order.

  • get_order.send_result (default false) — When true, order results are included in the get-order body.

The old flat keys enableGetOrderLookup and enableGetOrderLookupWithResults are refused — they must not be sent.

When notification.enable = false for a CP, the state_update delta is delivered via the get-order channel. State sync always reaches Fleet Manager on at least one channel.

1. HTTP Request

POST /v2/orders

Content-Type: application/json
Communication: Mutual-Auth
Connectivity Provider or Connectivity Provider need to expose end point.
Request body
Name Type Presence Description

context

Object

M

Provide information on the target which should be updated.

Context fields
Name Type Presence Description

eid

String

M

GSMA Unique eUICC identifier.

euicc_type

EuiccType

M

LEGACY

Deprecated GSMA SGP.22 based eUICCs introduced before the standardization

GSMA_SGP_22

Replace LEGACY which becomes deprecated. LEGACY or GSMA_SGP_22 represent the GSMA SGP.22 based eUICCs

GSMA_SGP_32

New eUICCs compliant with GSMA SGP 32 1.2 specifications. The one used in this section.

version

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:

  • major

  • minor

  • revision

The version is serialized as a string having this form X.Y.Z where:

  • X: major version

  • Y: minor version

  • Z: revision version

Example:

major = 2, minor = 1, revision = 0 → "2.1.0"

Added in the version 1.11 of this document.

polling_type

PollingType

O

Provides information about the polling type such as regular polling, trig…​

ON_EVENT

polling started by a local event

DEVICE_SWITCH_ON

Polling started at device switch on if enabled

REGULAR_POLLING

Regular polling depending on the configuration

TRIG

Forced Polling from remote server if available

TRIG_BY_DEVICE

Forced Polling from device application if available

euicc_connection_state

String

O

Specifies whether the eUICC is currently connected (online) or not (offline), as determined by the TAC server.

online

The card initiated a poll to TAC. TAC sends the getOrder request with euicc_connection_state = online. Fleet Manager may return orders in the response.

offline

TAC is performing a backend action (e.g. order-expired job or delayed-retry replay). euicc_connection_state = offline is set.
Behavioural constraints for offline getOrder:

  • The getOrder body includes the offline flag so Fleet Manager is aware the card is not reachable.

  • An offline card never receives orders from this call — Fleet Manager’s response is stored but not dispatched to the card.

  • No rule evaluation is performed for offline cards.

  • No "ask Fleet for new orders" getOrder is issued for offline cards; only a delivery getOrder carrying results or events is made when needed.

results

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.

events

List<Event>

O

Provide events which occurred on the field

state_update

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

Custom Data

O

Contextual/Custom data propagated along as-is, without any specific interpretation or modification from the device/eUICC to connectivity provider

current_network

RegisteredNetwork

O

Current Registered network

group_id

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.

RegisteredNetwork fields
Name Type Presence Description

mobile_country_code

String

M

Mobile Country Code of the MNO

mobile_network_code

String

M

Mobile Network Code of the MNO

Example: GetOrder Request for a GSMA SGP.32 eUICC with an IMEI Change Event (No Scheduler Rule Provisioned)
{
    "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"
    }
}
Example: GetOrder Request for a GSMA SGP.32 eUICC After Scheduler Rule Evaluation (No Scheduler Rule Matches the Activation Event, State Update Sent for Rule Evaluation Order Results)
{
    "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"
    }
}
Example: GetOrder Request for a GSMA SGP.32 eUICC with 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"
    }
}
Example: GetOrder Request for a GSMA SGP.32 eUICC with order results
{
    "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"
    }
}
Example: GetOrder Request for a GSMA SGP.22 eUICC with 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

Table 1. Response body
Name Type Presence Description

order_list

Object

M

Provide the list of orders to execute

OrderList fields
Name Type Presence Description

eid

String

M

GSMA Unique eUICC identifier.

group_id

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.

orders

List<Order>

M

List of orders. Refer to Section [Orders]

order_validity_in_days

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 SUBMITTED status before being dispatched to the card. They are not sent to the card in the same call that retrieves them from Fleet Manager — they are queued and dispatched on the next available polling cycle.

Example For Get Order response body
{
  "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.