全球SIM联接 GSL-查询SIM卡列表:响应参数

时间:2024-09-11 16:46:45

响应参数

状态码: 200

表3 响应Body参数

参数

参数类型

描述

limit

Long

每页记录数

offset

Long

页码

count

Long

总数

sim_cards

Array of SimDeviceVO objects

sim卡数据集合

表4 SimDeviceVO

参数

参数类型

描述

sim_card_id

Long

sim卡id

account_id

String

账户id

cid

String

容器ID:不同类型卡含义如下 iccid(实体卡),eid(eSIM)cid(vSIM)

sim_pool_id

Long

流量池ID

imei

String

设备IMEI

sim_status

Integer

sim卡状态:

10.可测试

11.未激活

13.可激活

14.已停用

20.在用

30.已拆机

device_status

Integer

设备状态:1.注册 2.重启 3.在线 4.离线(该参数只有ESIM、VSIM返回,实体卡返回null)

device_model

String

设备模组(该参数只有ESIM、VSIM返回,实体卡返回null)

act_date

String

激活日期 例如2020-01-31T16:00:00.000Z

device_status_date

String

设备状态变更时间 例如2020-01-31T16:00:00.000Z(该参数只有ESIM、VSIM返回,实体卡返回null)

node_id

String

设备标识

iccid

String

码号iccid

network_type

String

网络类型

dbm

String

信号强度(该参数只有ESIM、VSIM返回,实体卡返回null)

signal_level

String

信号等级:1.差 2.良 3.优(该参数只有ESIM、VSIM返回,实体卡返回null)

sim_type

Integer

sim卡类型 1.vSIM 2.eSIM 3.实体卡

tag_names

String

标签名

order_id

Long

批次号

expire_time

String

到期时间 例如2021-06-30T00:00:00.000Z

price_plan_name

String

在用套餐名

sim_price_plan_id

Long

套餐订购实例ID

flow_left

Double

剩余流量(单位M),数据默认截止到昨日24点。

flow_used

Double

已用流量(单位M),数据默认截止到昨日24点。

operator_status

Integer

运营商状态 -1.正常(非停机状态) 1.停机(超流量停机) 2.停机(超流量阈值停机) 3.停机(流量池停机) 4.停机(套餐到期停机) 5.停机(主动停机) 6.停机(违规停机) 7.停机(机卡分离停机)

msisdn

String

MSISDN

imsi

String

IMSI

customer_attribute1

String

自定义属性一

customer_attribute2

String

自定义属性二

customer_attribute3

String

自定义属性三

customer_attribute4

String

自定义属性四

customer_attribute5

String

自定义属性五

customer_attribute6

String

自定义属性六

real_named

Boolean

是否已实名认证: true表示是,false表示否,系统SIM卡实名认证状态非实时。

cut_net_flag

Boolean

是否单独断网 true:断网,false:未断网 (当前只支持联通、移动的组池卡,电信卡不限制)

exceed_cut_net_flag

Boolean

是否达量断网 true:达量断网,false:未达量断网 (当前只支持联通、移动的组池卡,电信卡不限制)

exceed_cut_net_quota

Integer

达量断网阈值(单位MB 当前仅电信卡支持)

imei_bind_remain_times

Integer

本月机卡绑定剩余次数(当前仅电信卡支持)

speed_value

Integer

网络限制速率(单位Kbps,当前电信联通卡支持)

状态码: 400

表5 响应Body参数

参数

参数类型

描述

error_code

String

错误码

error_msg

String

错误描述

状态码: 403

表6 响应Body参数

参数

参数类型

描述

error_code

String

错误码

error_msg

String

错误描述

状态码: 500

表7 响应Body参数

参数

参数类型

描述

error_code

String

错误码

error_msg

String

错误描述

support.huaweicloud.com/api-ocgsl/gsl_07_0008.html