Last Updated on : 2023-06-20 14:54:03download
Query the data of the IoT SIM card by card number.
GET: /v1.0/iot-01/sim/{iccid}/resources/list
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
iccid | String | uri | true | The ID of a specified IoT SIM card. |
Parameter name | Type | Description |
---|---|---|
result | List | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
type | String | Indicates the data type. Valid values:
|
res_name | String | The name of a specific plan. |
traffic_usable | Long | The total amount of the data. |
traffic_used | Long | The amount of used data. |
traffic_surplus | Long | The remaining data. |
traffic_effect_date | Long | The time when the data takes effect. |
traffic_expire_date | Long | The time when the data expires. |
unit | String | Indicates the unit to measure data usage in the plan. Valid values:
|
GET: /v1.0/iot-01/sim/898828066600005****/resources/list
{
"result": [
{
"traffic_effect_date": 1627636216066,
"traffic_used": 0,
"res_name": "4G Telecom 10 MB/Month",
"type": "TRAFFIC",
"unit": "MB",
"traffic_expire_date": 1630314653000,
"traffic_usable": 10000,
"traffic_surplus": 10000
}
],
"t": 1626400694469,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback