Download OpenAPI specification:Download
The "Subscription Device Management" API provides the ability to change device/sim/device+sim/device+eSIM, device compatibility and query device details.
This method retrieves device information and network capability details based on the PEI (aka IMEI) or TAC code of the device
Note: wholesaleCustomerId is an optional parameter that allows sub nodes of the customer hierarchy to be actioned upon, e.g. this can be used to specify a particular brand
Ways to invoke API:
pei | string (pei) [ 15 .. 17 ] characters ^[0-9]{15,17}$ Example: pei=2288151828896431 PEI or IMEI of Device |
tac | string (tac) [ 8 .. 16 ] characters ^[0-9]{8,16}$ Example: tac=35646252 Type allocation Code of Device |
X-Correlation-Id | string <uuid> (CorrelationId) Example: TQA20210903155950999 Correlation Identifier denotes the process flow identifier. This is used for telemetry purposes |
wholesaleCustomerId | string (CustomerId) ^.*$ Example: 100000108464 Identifier of wholesale customer/partner |
{- "manufacturer": {
- "make": "Apple",
- "makeDesc": "Apple, Inc.",
- "makeCode": "APL",
- "model": "A2111",
- "modelDesc": "iPhone 11 (A2111)"
}, - "equipmentType": "PHONE",
- "networkCompatibilityList": [
- {
- "networkName": "ATT_MVNO",
- "networkCode": "ATT_MVNO",
- "networkDesc": "ATT_MVNO"
}
], - "blockStatus": {
- "blockStatus": "NotBlocked",
- "blockReason": "None"
}
}
This API provides the ability to swap/change device/sim/device+sim/device+eSIM of an active subscription
Prerequisites:
Supported Scenarios:
Note: wholesaleCustomerId is an optional parameter that allows sub nodes of the customer hierarchy to be actioned upon, e.g. this can be used to specify a particular brand
Note: For BYOD scenario, EID is required
X-Correlation-Id | string <uuid> (CorrelationId) Example: TQA20210903155950999 Correlation Identifier denotes the process flow identifier. This is used for telemetry purposes |
wholesaleCustomerId | string (CustomerId) ^.*$ Example: 100000108464 Identifier of wholesale customer/partner |
This represents request model of Change Device and/or SIM
partnerTransactionId required | string (PartnerTransactionId) [ 1 .. 36 ] characters ^.*$ Transaction identifier/order identifier of Wholesale API consumer/partner |
gpsi | string (GPSI) [ 11 .. 15 ] characters ^[0-9]{11,15}$ GPSI/MSISDN to be ported-in |
iccid | string (iccid) [ 19 .. 20 ] characters ^[0-9]{19,20}$ ICCID or SIM identifier |
newPei | string (pei) [ 15 .. 17 ] characters ^[0-9]{15,17}$ PEI or IMEI of Device |
changeType required | string (ChangeType) Enum: "DeviceOnly" "PSIMOnly" "DeviceAndPSIM" "DeviceAndeSIM" Change Type DeviceOnly/PSIMOnly/DeviceAndPSIM/DeviceAndeSIM |
newIccid | string (iccid) [ 19 .. 20 ] characters ^[0-9]{19,20}$ ICCID or SIM identifier |
eSimDeliveryMethod | string (eSIMDeliveryMethod) Value: "QR" eSim Delivery Method |
newEid | string (eid) [ 19 .. 32 ] characters ^[0-9]{19,32}$ EID of ESIM |
{- "changeType": "DeviceOnly",
- "partnerTransactionId": "WhlSlOrd12345",
- "gpsi": "19459986891",
- "newPei": "2288151822896431"
}
{- "status": "Success"
}
This API provides the ability to get Device details for the given subscription
Note: wholesaleCustomerId is an optional parameter that allows sub nodes of the customer hierarchy to be actioned upon, e.g. this can be used to specify a particular brand
Ways to invoke API:
pei | string (pei) [ 15 .. 17 ] characters ^[0-9]{15,17}$ Example: pei=2288151828896431 PEI or IMEI of Device |
gpsi | string (GPSI) [ 11 .. 15 ] characters ^[0-9]{11,15}$ Example: gpsi=2812368903 GPSI/MSISDN |
X-Correlation-Id | string <uuid> (CorrelationId) Example: TQA20210903155950999 Correlation Identifier denotes the process flow identifier. This is used for telemetry purposes |
wholesaleCustomerId | string (CustomerId) ^.*$ Example: 100000108464 Identifier of wholesale customer/partner |
{- "deviceStatus": "Active",
- "isBlocked": true,
- "gpsi": "2812368903",
- "supi": "1234567890",
- "iccid": "11986621644523024501",
- "pei": "2288151828896431",
- "eid": "72568199123456782654456783768376",
- "subscriberId": "SUB3742259805"
}
This API provides the ability to query Blocklist Indicator of the device
Note: wholesaleCustomerId is an optional parameter that allows sub nodes of the customer hierarchy to be actioned upon, e.g. this can be used to specify a particular brand
Ways to invoke API:
pei required | string (pei) [ 15 .. 17 ] characters ^[0-9]{15,17}$ Example: pei=2288151828896431 PEI or IMEI of Device |
X-Correlation-Id | string <uuid> (CorrelationId) Example: TQA20210903155950999 Correlation Identifier denotes the process flow identifier. This is used for telemetry purposes |
wholesaleCustomerId | string (CustomerId) ^.*$ Example: 100000108464 Identifier of wholesale customer/partner |
{- "blockListIndicator": true
}
This API provides the ability to add/remove device to/from Blocklist
Note: wholesaleCustomerId is an optional parameter that allows sub nodes of the customer hierarchy to be actioned upon, e.g. this can be used to specify a particular brand
X-Correlation-Id | string <uuid> (CorrelationId) Example: TQA20210903155950999 Correlation Identifier denotes the process flow identifier. This is used for telemetry purposes |
wholesaleCustomerId | string (CustomerId) ^.*$ Example: 100000108464 Identifier of wholesale customer/partner |
This represents request model of Blocklist Device
partnerTransactionId required | string (PartnerTransactionId) [ 1 .. 36 ] characters ^.*$ Transaction identifier/order identifier of Wholesale API consumer/partner |
gpsi required | string (GPSI) [ 11 .. 15 ] characters ^[0-9]{11,15}$ GPSI/MSISDN to be ported-in |
pei required | string (pei) [ 15 .. 17 ] characters ^[0-9]{15,17}$ PEI or IMEI of Device |
action required | string Enum: "Add" "Remove" Action Add/Remove |
{- "partnerTransactionId": "WhlSlOrd12345",
- "gpsi": "19459986891",
- "pei": "2288151828896431",
- "action": "Add"
}
{- "status": "Success"
}