URL:https://open.ikuai8.com/apis/action/<open_id>/<dev_id>/1

支持格式:JSON

HTTPS请求方式:POST

请求参数:{} 或 []

返回结果


            {
                "errno": 0,
                "errmsg": "success",
                "data": [{
                    "id": "1",
                     "state": "up",
                    "comment": "测试",
                    "username": "s101",
                    "passwd": "101",
                    "date": "2016-06-09",
                    "ppptype": "pppoe",
                    "share": "1",
                    "auto_mac": "0",
                    "upload": "50",
                    "download": "900",
                    "ip_addr": "",
                    "mac": "",
                    "address": "",
                    "name": "",
                    "phone": "",
                    "start_date": "2015-09-01",
                    "cardid": "",
                    "packages": "3",
                    "money": "0",
                    "create_date": ""
                }, {
                    "id": "82",
                    "state": "up",
                    "comment": "",
                    "username": "jgguo",
                    "passwd": "jgguo",
                    "date": "",
                    "ppptype": "pppoe",
                    "share": "1",
                    "auto_mac": "0",
                    "upload": "0",
                    "download": "0",
                    "ip_addr": "",
                    "mac": "",
                    "address": "",
                    "name": "",
                    "phone": "",
                    "start_date": "2016-07-11",
                    "cardid": "",
                    "packages": "0",
                    "money": "0",
                    "create_date": "1468221393"
                }]
            }
                   

结果字段说明:

errno 错误号
errmsg 错误信息
data 返回的具体数据
id 此配置id
state 状态
up
down
comment 备注
username 用户名
passwd 密码
date 有效日期
ppptype
拨号类型
web
pppoe
pptp
l2tp
不限
share 共享数
auto_mac
绑定MAC
1:自动
0:手动
upload 上行速率
download 下行速率
ip_addr 固定IP
mac 绑定MAC
address 住址
name 姓名
phone 手机
start_date 开始时期
cardid 证件号码
packages 套餐类型,0 :自定义,目前只支持自定义
money 收款金额
create_date 创建时间

* 关于错误返回值与错误代码,参见错误代码说明