- 概览
- SIM
- Service
- Usage
- SMS
- CDR
- 其他
- Order
查询SIM卡的可绑定套餐列表
Cube Prod
https://api.linksfield.net/cube/v4
Cube Prod
https://api.linksfield.net/cube/v4
GET
https://api.linksfield.net/cube/v4
请求参数
Path 参数
sim_id
string
SIM卡ICCID
示例值:
89852121501108202915
Query 参数
type
integer
可选
1,基础套餐
示例值:
1
Header 参数
Accept-Language
string
可选
默认值:
zh-CN
Content-Type
string
可选
默认值:
application/json
Authorization
string
必需
默认值:
{{lfToken}}
X-LF-Api-Version
string
可选
X-LF-Signature-Type
string
1.0、2.0
timestamp
string
必需
nonce
integer
必需
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.linksfield.net/cube/v4/sims/89852121501108202915/bundles/available?type=1' \
--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'
返回响应
🟢200成功
application/json
Body
data
array [object {5}]
必需
id
string
套餐ID
type
integer
必需
data_limit
integer
必需
period_unit
integer
必需
period_number
integer
套餐服务控制周期数
status
object
必需
code
string
必需
message
string
必需
detail
string
必需
示例
{
"data": [
{
"id": "LP20230816004113",
"type": 1,
"data_limit": 31457280,
"period_unit": 2,
"period_number": 1
},
{
"id": "LP20230816004114",
"type": 1,
"data_limit": 31457280,
"period_unit": 2,
"period_number": 1
},
{
"id": "LP20230816004116",
"type": 1,
"data_limit": 104857600,
"period_unit": 2,
"period_number": 1
},
{
"id": "LP20230825004135",
"type": 1,
"data_limit": 62914560,
"period_unit": 2,
"period_number": 1
},
{
"id": "LP20230826004136",
"type": 1,
"data_limit": 83886080,
"period_unit": 2,
"period_number": 1
},
{
"id": "LP20230826004137",
"type": 1,
"data_limit": 20971520,
"period_unit": 2,
"period_number": 1
},
{
"id": "LP20230826004138",
"type": 1,
"data_limit": 41943040,
"period_unit": 2,
"period_number": 1
},
{
"id": "LP20230826004139",
"type": 1,
"data_limit": 52428800,
"period_unit": 2,
"period_number": 1
},
{
"id": "LP20230826004140",
"type": 1,
"data_limit": 62914560,
"period_unit": 2,
"period_number": 1
},
{
"id": "LP20230826004141",
"type": 1,
"data_limit": 73400320,
"period_unit": 2,
"period_number": 1
},
{
"id": "LP20230829004146",
"type": 1,
"data_limit": 31457280,
"period_unit": 2,
"period_number": 1
},
{
"id": "LP20230829004147",
"type": 1,
"data_limit": 52428800,
"period_unit": 2,
"period_number": 1
},
{
"id": "LP20230829004148",
"type": 1,
"data_limit": 31457280,
"period_unit": 2,
"period_number": 1
},
{
"id": "LP20230829004149",
"type": 1,
"data_limit": 31457280,
"period_unit": 2,
"period_number": 1
},
{
"id": "LP20230829004150",
"type": 1,
"data_limit": 31457280,
"period_unit": 2,
"period_number": 1
},
{
"id": "LP20230829004151",
"type": 1,
"data_limit": 31457280,
"period_unit": 2,
"period_number": 1
},
{
"id": "LP20230829004152",
"type": 1,
"data_limit": 31457280,
"period_unit": 2,
"period_number": 1
},
{
"id": "LP20230920004176",
"type": 1,
"data_limit": 31457280,
"period_unit": 2,
"period_number": 1
},
{
"id": "LP20230920004177",
"type": 1,
"data_limit": 31457280,
"period_unit": 2,
"period_number": 1
},
{
"id": "LP20230920004178",
"type": 1,
"data_limit": 31457280,
"period_unit": 2,
"period_number": 1
},
{
"id": "LP20230928004201",
"type": 1,
"data_limit": 20971520,
"period_unit": 2,
"period_number": 1
}
],
"status": {
"code": "CB-00-0000",
"message": "成功",
"detail": "https://apidoc-cn.iotcube.link/"
}
}
🟢200success