Use new Signature v2 for APIs that have Sign2.0 tag
| action_code | Description |
|---|---|
| 50 | SIM Card Allocation |
| 20 | Suspend |
| 12 | Resume |
| 11 | Activate |
| 22 | Cancel |
| 14 | Restore |
| 40 | Reinitialize |
| 15 | Add bundle |
| 16 | Select and Lock Local Network |
| 17 | Batch Order |
| result | Description |
|---|---|
| 20 | Allocation successful |
| 14 | Allocation failed. The SIM does not belong to the organization calling the API or its sub-organizations. |
| 15 | Allocation failed. The SIM is in the Retired state and cannot be allocated. |
| 16 | Allocation failed. Allocation is not permitted as per the SOW agreement. |
| 17 | Allocation failed. The SIM does not exist. |
| 18 | Allocation failed. The SIM's current billing organization is inconsistent with the target organization. |
| result | Description |
|---|---|
| 10 | Success |
| CB-00-0000 | Success |
| 11 | Processing |
| 12 | Failure |
| 13 | The keep-alive parameter for the cancel API is set to true, but there is no available bundle (contract) to enable. |
PartnerClient client = new PartnerClient(accessKey,privateKey)
client.v1().other().asyncResult(new AsyncResult(1, "1600331121353297920"));
client.v2().other().asyncResult(new AsyncResult(1, "1600331121353297920"));