Read provisioning details
Read provisioning orders or a SIM's assigned tariff and BoltOns using the bearer token described in Authentication. These are read operations; use Provision or Change Provision to request changes.
Get a provisioning order
GET /api/account/{accountId}/network/{networkId}/provisioningOrder/{provisioningOrderNumber}
| Path parameter | Type | Description |
|---|---|---|
accountId | integer | Required account identifier |
networkId | integer | Required Atlas network identifier from Networks |
provisioningOrderNumber | integer | Required order number returned by Get available provisioning orders |
curl --location 'https://api.cellhire.com/api/account/456/network/3/provisioningOrder/12' \
--header 'Authorization: Bearer <access-token>'The implementation returns one provisioning order object from the upstream lookup. The published OpenAPI response incorrectly declares an array for this route, so do not rely on that array declaration when generating a client. A missing upstream order produces no populated order; handle an empty response without inventing an order. A Hireman network returns 409 Conflict with Not valid for this network.
{
"number": 12,
"name": "ExampleOrder",
"displayName": "ExampleOrder",
"isPooled": false,
"isNetworkAccountDefault": true,
"hiremanCurrencyId": null
}| Order field | Type | Description |
|---|---|---|
number | integer | Provisioning order number |
name, displayName | string or null | Order name and display label |
isPooled | boolean | Whether the order uses pooling |
isNetworkAccountDefault | boolean or null | Whether it is the network account default, when available |
hiremanCurrencyId | integer or null | Currency identifier when populated |
Get current provisioning for an MSISDN
GET /api/provisioning/{msisdn}
msisdn is the required telephone number as a string, not the SIM serial number. Obtain it from the SIM's tel field. URL-encode the path value when necessary.
curl --location 'https://api.cellhire.com/api/provisioning/447700900001' \
--header 'Authorization: Bearer <access-token>'200 OK returns one provisioning object with the fields below. This lookup obtains provisioning information through Atlas. The response may have no populated provisioning fields when the caller's access hides them. Missing stock, ownership/account information, permission or upstream provisioning information returns 404 Not Found.
| Field | Type | Description |
|---|---|---|
subscriberId | UUID or null | Subscriber identifier when populated |
tariff | object or null | Assigned tariff with integer number, nullable string name, booleans isLegacy, requiresDataBoltOn, supportsFullPooling, and nullable string configurationAttributes |
standardBoltOns | array or null | Non-temporal BoltOns |
temporalBoltOns | array or null | Temporal BoltOns |
provisioningOrder | object or null | Assigned order using the order fields above |
Each BoltOn includes integer number, nullable string name, booleans isDataBoltOn, isLegacy and isTemporal, nullable string configurationAttributes, and nullable booleans publicIp and fixedIp. Only use fields actually populated in the response; a nullable value does not establish that a feature is disabled. See Provisioning extras to obtain available alternatives for a new request.
Both operations require a valid API token; missing or invalid credentials return 401 Unauthorized. Invalid integer path values in the order lookup return 400 Bad Request. These reads do not confirm completion of an outstanding provisioning submission; check its submission status.