Query IoT SIM Card Status

Last Updated on : 2021-08-27 03:28:39download

Query the status of the IoT SIM card by card number.

API address

GET: /v1.0/iot-01/sim/{iccid}/status

Request parameter

Parameter name Type IN Required Description
iccid String uri true The ID of a specified IoT SIM card.

Return parameter

Parameter name Type Description
result CardStatusRes

Description of result

Parameter name Type Description
iccid String The ID of a specified IoT SIM card.
msisdn String The Mobile Station International Subscriber Director Number (MSISDN), a number used for the international identification of mobile phone numbers.
status Integer Indicates the status of the IoT card. Valid values:
  • 0: The card is to be activated.
  • 1: The card is activated.
  • 2: The card is out of service.

Request example

GET: /v1.0/iot-01/sim/898611212100361****/status

Return example

{ "result": { "iccid": "898611212100361****", "msisdn": "141034183****", "status": 2 }, "t": 1626343039923, "success": true }

Error code

For more information, see error code.