账户卡片列表查询
1.功能说明:
查询当前账户下的卡片的详细信息
2. 接口调用说明:
URL:api/listAllCards
格式:json
http请求方式:get、post
输入参数说明:
参数名称 | 类型 | 描述 |
---|---|---|
pageNum | Integer | 页号,大于最大页数返回最后一页,默认500条一页 |
返回参数说明
参数名称 | 类型 | 描述 |
---|---|---|
code | String | 0:表示成功,其他失败 |
message | String | 成功或失败原因 |
data | ||
imsi | String | IMSI |
iccid | String | ICCID |
status | String | 卡状态:1.未激活/2.已激活/3.已停用 |
useData | String | 本月已用量(单位:M) |
leftData | String | 剩余用量(单位:M) |
sendTime | String | 发卡时间 |
activeTime | String | 激活时间 |
expiredTime | String | 到期时间 |
username | String | 归属客户 |
响应示例说明
{
"code": "0", "message": "success", "data": { "cardInfoList": [{ "iccid": "89860999999050000010", "leftData": 11, "useData": 0, "activeTime": "", "imsi": "425099999900010", "expiredTime": "", "status": 1, "sendTime": "2020-08-25 10:26:11" }, { "iccid": "89860999999050000004", "leftData": 1000, "useData": 0, "activeTime": "", "imsi": "425099999900004", "expiredTime": "", "status": 1, "sendTime": "2020-07-06 14:14:15" }, { "iccid": "89860999999050000003", "leftData": 1000, "useData": 0, "activeTime": "", "imsi": "425099999900003", "expiredTime": "", "status": 1, "sendTime": "2020-07-06 14:13:25" }, { "iccid": "89860999999050000002", "leftData": 1000, "useData": 0, "activeTime": "", "imsi": "425099999900002", "expiredTime": "", "status": 1, "sendTime": "2020-07-06 12:13:14" }, { "iccid": "89860999999050000001", "leftData": 1000, "useData": 0, "activeTime": "", "imsi": "425099999900001", "expiredTime": "", "status": 1, "sendTime": "2020-07-06 12:12:53" }, { "iccid": "89860012020011155242", "leftData": 1234, "useData": 0, "activeTime": "", "imsi": "425019611060261", "expiredTime": "", "status": 1, "sendTime": "2020-06-02 10:19:18" }, { "iccid": "89852241101002740150", "leftData": 2184, "useData": 0, "activeTime": "", "imsi": "454030227101732", "expiredTime": "", "status": 1, "sendTime": "2020-06-02 10:17:30" }, { "iccid": "99852241101002740151", "leftData": 1234, "useData": 0, "activeTime": "", "imsi": "954030227101733", "expiredTime": "", "status": 1, "sendTime": "2020-06-02 10:16:23" }, { "iccid": "99852241101002740150", "leftData": 30, "useData": 0, "activeTime": "", "imsi": "954030227101732", "expiredTime": "", "status": 1, "sendTime": "2020-05-22 15:34:00" }], "totalPage": 2 }
}