全球SIM联接 GSL-批量查询实体卡流量:响应示例

时间:2024-12-20 14:06:24

响应示例

状态码: 200

OK

[ {
  "id" : 100000000000,
  "account_id" : "04eexxxxxxxxxx",
  "sim_card_id" : 100000000000,
  "price_plan_id" : "10001",
  "price_plan_name" : "中国联通消费级每月30M联接服务(1年)",
  "iccid" : "898606xxxxxxxxxxxx",
  "flow_total" : 30,
  "flow_used" : 0,
  "flow_left" : 30
}, {
  "id" : 100000000001,
  "account_id" : "04eexxxxxxxxxx",
  "sim_card_id" : 100000000001,
  "price_plan_id" : "10001",
  "price_plan_name" : "中国联通消费级每月30M联接服务(1年)",
  "iccid" : "898607xxxxxxxxxxxx",
  "flow_total" : 30,
  "flow_used" : 0,
  "flow_left" : 30
} ]

状态码: 400

Parameter Invalid

{
  "error_code" : "GSL.00010004",
  "error_msg" : "参数异常"
}

状态码: 403

Forbidden

{
  "error_code" : "GSL.00010001",
  "error_msg" : "请求携带的token无效。"
}

状态码: 500

Internal Server Error

{
  "error_code" : "GSL.00010003",
  "error_msg" : "系统繁忙,请稍后重试。"
}
support.huaweicloud.com/api-ocgsl/gsl_07_0018.html