1.Suspend SIM By ICCID
2.Request parameters
2.1.Request header
You need to add “token” information in the request header.

If you do not add token information, you will not be able to pass identity authentication authentication.

2.2.Parameters example
{
"iccid":"89314404001235546594"
}
2.3.Parameters description
Properties |
Type |
Description |
Required |
iccid |
String |
SIM ICCID |
Y |
3.Response content
3.1.Response example
{
"code": 200,
"message": "Operation succeeded",
"data": {
"status": true,
"code": "CB-00-0000",
"requestId": "F999710D3E5C45DEA45D378F536CA95B"
}
3.2.Response description
Field |
Data type |
description |
code |
int |
Return code |
message |
String |
Return message |
data |
object |
Response data |
data description
Field |
Data type |
description |
status |
boolen |
Operational state |
code |
String |
Return status code |
requestId |
String |
Asynchronous Request ID |
code description
code |
description |
CB-00-0000 |
Success |
CB-00-0001 |
Start time is later than end time |
CB-00-0002 |
End time is earlier than request time |
CB-00-0003 |
Start time is too far from request time |
CB-99-9400 |
Invalid parameters |
CB-99-9401 |
Authorization missing |
CB-99-9402 |
Missing parameters |
CB-99-9403 |
Authentication failed |
CB-99-9500 |
Internal call error |
CB-99-9999 |
Internal serivice error |
CB-01-9999 |
SIM validation error |
CB-02-9999 |
Bundle validation error |
CB-04-9999 |
SMS validation error |
CB-01-0001 |
SIM does not exist |
CB-01-0002 |
IMEI does not exist |
CB-01-0003 |
SN does not exist |
CB-01-0004 |
This operation is not supported for OTA SIM |
CB-01-0005 |
This operation is only supported for OTA (BIP) SIM |
CB-01-0006 |
SIM does not belong to this organisation |
CB-01-0101 |
SIM is already activated |
CB-01-0102 |
No valid bundle is found for the SIM |
CB-01-0103 |
SIM information error |
CB-01-0104 |
Failed to activate the SIM |
CB-01-0105 |
No bundle is in use for the SIM |
CB-01-0106 |
This operation is not supported for this SIM due to MNO restrictions |
CB-01-0107 |
This operation is not allowed in the current status |
CB-01-0108 |
SIM status is pending - in activation; operation not allowed |
CB-01-0109 |
SIM status is pending - in deactivation; operation not allowed |
CB-01-0111 |
Last request is being processed; operation not allowed |
CB-01-0200 |
Failed to suspend |
CB-01-0202 |
Failed to order bundle - incompatible with SIM |
CB-01-0204 |
Operation not allowed for expired or terminated SIM |
CB-01-0300 |
Last request is being processed; operation not allowed |
CB-01-0302 |
Duplicate SIMs |
CB-01-0310 |
Request by request_id not found |
CB-02-0002 |
Bundle type cannot be daily |
CB-02-0003 |
Specified bundle does not exist |
CB-02-0004 |
Bundle speicified by bundle id does not match with bundle type |
CB-02-0005 |
Bundle can’t be ordered via API |
CB-02-0006 |
Ordered cycles exceed maximum cycles allowed for the bundle |
CB-02-0007 |
Bundle is no longer valid |
CB-02-0008 |
Bundle is not assigned to the organisation; permission denied |
CB-02-0101 |
No available bundle to switch to |
CB-02-0102 |
Mutiple bundles in use |
CB-02-0103 |
Order bundle exception |
CB-02-0104 |
Failed to order bundle |
CB-02-0200 |
No bundle available |
CB-04-0001 |
Insufficient SMS quota |
CB-04-0002 |
SMS service is off for the organisation |
CB-04-0200 |
Job by job_id not found |
CB-04-0206 |
SMS message type not supported for the SIM |
作者:admin 创建时间:2023-10-17 13:34
最后编辑:admin 更新时间:2023-10-31 18:39