API Key & Notification Key的获取请通过Cube平台自助操作,详见说明文档
curl --location --request GET 'https://api.linksfield.net/cube/v4/sims/' \
--header 'Accept-Language: zh-CN' \
--header 'Authorization;' \
--header 'X-LF-Api-Version;' \
--header 'X-LF-Signature-Type;' \
--header 'timestamp;' \
--header 'nonce;' \
--header 'Content-Type: application/json'
{
"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"
}
}