Last Updated on : 2023-06-20 14:54:03download
Query the list of data plans available to the IoT SIM card currently, and query the information about the plan, such as the plan number, plan name, and card type.
GET: /v1.0/iot-01/sim/{iccid}/package/usable
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
iccid | String | uri | true | The ID of a specified IoT SIM card. |
Parameter name | Type | Description |
---|---|---|
result | List |
Description of result
Parameter name | Type | Description |
---|---|---|
package_id | Long | The ID of a specified plan. |
package_name | String | The name of a specific plan. |
resource_type | String | Indicates the data type. Valid values:
|
date_type | String | Indicates the plan type. Valid values:
|
date_unit | String | Indicates the plan unit. Valid values:
|
period | Integer | The consecutive periods of a specified plan. |
unit | String | Indicates the plan data unit. Valid values:
|
capacity | Long | The capacity of a specified plan. |
operator_name | String | Indicates the plan carrier. Valid values:
|
GET: /v1.0/iot-01/sim/898828066600005****/package/usable
{ "result": [ { "period": 1, "unit": "MB", "date_unit": "MONTH ", "date_type": "DAY_MONTH ", "package_id": 17, "operator_name": "CTCC", "package_name": "4G Telecom 500 MB/Month" "resource_type": "TRAFFIC", "capacity": 500 } ], "success": true, "t": 1626400573773 }
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback