Refresh bundle usage
POST /api/SimSubmission/BundleUsage
Creates an asynchronous bundle-usage query for Orange (France) LMVNO or Orange (France) M2M SIMs. This endpoint queues a network task; it does not return usage figures in the POST response. Use API authentication.
All requested SIMs must be accessible to the user, have an owning account and an existing MSISDN, and belong to one supported network. Supply unique serial numbers.
Request
Send a non-empty JSON array of SIM serial number strings. It is not an object containing a serialNumbers property. Although the published schema permits a nullable body, clients should provide a non-empty list because the operation needs SIMs to query.
curl --location 'https://api.cellhire.com/api/SimSubmission/BundleUsage' \
--header 'Authorization: Bearer <access-token>' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data '["01234567890"]'Responses
200 OK returns a submission ticket:
{ "ticketNumber": "1beeb8dd-1825-4bcd-8a62-f941aacb8d15" }Follow submission status and recovery and inspect the individual SIM results. The separate Read SIM bundle operation has its own network restrictions and up to 30 minutes of caching; it does not support Orange (France) M2M even though this refresh submission does. See Data usage for other usage reads. A returned ticket does not confirm refreshed usage is available.
| Status | Meaning |
|---|---|
400 | Unavailable SIMs, invalid account/network state, mixed networks, missing MSISDNs, or an unsupported network. |
403 | The authenticated user is not permitted to submit the usage query. |
500 | Task submission failed or the command type is unavailable. |