Cancelling Submitted Orders
The TAC server provides the capability to cancel previously submitted orders.
Orders can be cancelled using either:
-
Correlation ID – Cancels a specific order identified by an IoT correlation ID.
-
Group ID – Cancels all orders associated with a logical group.
Customers may cancel an order for various reasons, such as:
-
An incorrect order was submitted.
-
The order is stuck in execution (e.g., missing responses from card).
-
Manual administrative intervention is required.
Following behavior applies when cancelling the Order:
Cancel by groupId:
-
Group execution not started and all orders associated with group are in pending state : All orders associated with the group are marked as Cancelled, and the system responds to the cancellation request with "All clear". No result is sent via
getOrdersorNotification. -
Group execution started and one order is In Progress : The cancellation request is rejected with the response: "Chart under execution, cannot be cancelled."
Cancel by correlationId:
-
Group execution not started and all orders in the group are in Pending state: The order identified by the
iotCorrelationIdis marked as Cancelled. The remaining orders (if any) continue execution as per the workflow. After execution completes, results for all orders — including the cancelled order — are reported to the Fleet. For example:O1: Success, O2: Cancelled by eSO, O3: FailedResults are reported based on the Fleet integration mode:
-
Via
getOrdersflow, or -
Via asynchronous Notification.
-
-
All orders in the same group are cancelled individually using correlation IDs before execution starts: All orders are cancelled, and the system responds synchronously to the cancellation request.
forceCancel:
In some scenarios, an order may remain In Progress for an extended period (for example, due to device inactivity), and a forced cancellation may be required.
The TAC solution supports this using the forceCancel flag.
When submitting the cancellation request, the client may set forceCancel=true, which allows the system to cancel the order regardless of its current execution state.
|
Cancelling an order does not revert operations that have already been executed on the eUICC. |
-
PATCH /orderscheduler/core/v1/euiccs/{eid}?iotCorrelationId={iotCorrelationId}&groupId={groupId}&forceCancel={forceCancel}
Where:
-
iotCorrelationId– Identifier of the specific order to cancel. -
groupId– Identifier used to cancel all orders within a group. (For orders submitted via POST Order API, therequestIdshall be used asgroupIdfor cancellation.) -
forceCancel– Boolean flag allowing cancellation regardless of the order’s current execution state.
| For detail on API specification, please refer to the Thales Adaptive Connect API Description document. |
