查询单张SIM卡详细信息
GET
/sims/{sim_id}说明
查询单张SIM卡当前信息。
bundle节点中仅返回当前正在使用的套餐。已经结束或未启用的的bundle数据不返回。
版本
2.0
X-LF-Signature-Type:2.0
备注
SDK API 调用方式
支持SDK版本
PartnerClient client = new PartnerClient(accessKey,privateKey)
client.v2().sim().querySim(new QuerySim(2, "89860220190711105001"));
请求参数
Path 参数
sim_id
string
SIM卡ICCID
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
No schema defined
示例
{
"data": {
"sim_id": "89852202209089971478",
"imei": "860016040008240",
"delivery_note_no": null,
"device_name": null,
"notes": null,
"status": 10,
"tags": [],
"tech": 1,
"physical_specs": {
"type": 2,
"form_factor": null
},
"profile": [
{
"imsi": "204081234560019",
"msisdn": "FFFFFFFFFF",
"apn": "mobi",
"eid": null,
"euicc_status": null
}
],
"latest_session": {
"imsi": null,
"msisdn": null,
"status": null,
"session": null,
"start_at": null,
"end_at": null,
"country": null,
"mcc": null,
"mnc": null,
"network": null,
"radio_access_technology": null,
"ip": null
},
"sim_service": {
"type": 1,
"contract": {
"start_at": 1677654516000,
"expire_at": 1717171199000,
"end_at": 1717171199000
},
"testdata": {
"status": -1,
"limit": null,
"usage": null
},
"preactivation": {
"period_unit": 2,
"period": 3
},
"predeactivation": {
"period_unit": 2,
"period": 6
},
"global_overage_policy": [],
"bundles": []
}
},
"status": {
"code": "CB-00-0000",
"message": "成功",
"detail": "https://developer.linksfield.net/doc-1413557?nav=01GBM770ARR76AXBD5856Z6J6P"
}
}
最后修改时间: 1 年前