Retrieve a SIM Status
GET
/sims/{sim_id}/{element}Last modified: 1 年前
Description
Query SIM's current status information.
Version
v1.0
Notes
- current status of the SIM
- more about status:SIM
//Example with SDK
PartnerClient client = new PartnerClient(accessKey,privateKey)
client.v1().sim().simStatus(new SimStatus(1, "8965011909030066336", "status"));
client.v2().sim().simStatus(new SimStatus(1, "8965011909030066336", "status"));
请求参数
Path Params
sim_id
string
required
SIM card ICCID
Example:
89000100010003125832
element
string
required
support: status
Example:
status
示例代码
Responses
查询status(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
data
object
required
sim_id
string
required
SIM card ICCID
status
string
required
SIM status
status_code
integer
required
SIM status code
status
object
required
code
string
required
message
string
required
detail
string
required
Example
{
"data": {
"sim_id": "89852123456789012345",
"status": "Active-live",
"status_code": "23"
},
"status": {
"code": "CB-00-0000",
"message": "Success",
"detail": null
}
}
Last modified: 1 年前