分享页面

查询已购买按量产品列表

简要描述:

  • 获取已购买按量产品列表信息。

参数:

参数名 必选 类型 说明
resource_no 否 string 按量业务标识
offset 否 int 偏移量,默认为0
limit 否 int 限制数目,默认值20;最大值50

输入示例一:

返回示例:
JSON格式

  {
    "RequestId":"ASDF4ASF-ASDFASF",
    "Code": 200,
    "Data": {
        "Resource_no":"m2BJvcFYQ",
        "Authkey": "DOXM4R7T",
        "Number": 10000,
        "Buy_time": "2021-04-25 14:46:50",
        "End_time": "2022-04-25 14:46:50",
        "Order_status": 1,
        "Type": 1,
        "Ip_type": 2,
        "Resource_available": 10000,
        "Tunnel_url": "tunnel.qg.net:3434"
    },
    "Message":"获取成功"
  }

输入示例二:

返回示例:
JSON格式

  {
    "RequestId":"ASDF4ASF-ASDFASF",
    "Code": 200,
    "Data": [
        {
            "Resource_no":"m2BJvcFYQ",
            "Authkey": "DOXM4R7T",
            "Number": 10000,
            "Buy_time": "2021-04-25 14:46:50",
            "End_time": "2022-04-25 14:46:50",
            "Order_status": 1,
            "Type": 1,
            "Ip_type": 2,
            "Resource_available": 10000,
            "Tunnel_url": "tunnel.qg.net:3434"
        },
        {
            "Resource_no":"7cCu0BaZv",
            "Authkey": "DOXM4R7T",
            "Number": 10000,
            "Buy_time": "2021-03-25 14:46:50",
            "End_time": "2022-03-25 14:46:50",
            "Order_status": 1,
            "Type": 1,
            "Ip_type": 2,
            "Resource_available": 10000,
            "Tunnel_url": "tunnel.qg.net:3434"
        },
    ]
    "Message":"获取成功"
  }

返回参数说明:

参数名 类型 说明
RequestId string 请求编号
Code integer 返回状态码
Message string 返回内容
Resource_no string 按量业务标识
Authkey string Authkey
Number integer 按量业务总量
Connect integer 连接数
Buy_time string 购买时间
End_time string 到期时间
Order_status string 状态 1:正常, 3:过期,-4:开通失败; -5:续费失败, -6:升级失败, -7:锁定
Type integer 资源类型 1:独享,2:共享
Ip_type integer IP类型 1:静态,2:动态,3:隧道
Resource_available integer 按量业务余量
Tunnel_url string 隧道地址

备注:
更多返回错误代码请看首页的错误代码描述。

本文导读