API文档管理
客户可通过本接口来创建属于自己的子账号信息,创建成功之后可直接登录客户管理平台(http://mp.weiliaokefu.com)与访客聊天。
接口调用请求说明
http请求方式: POST(请使用https协议) http://api.weiliaokefu.com/company-create_service?appid=appid&sign=sign
参数 | 是否必须 | 传值方式 | 说明 |
appid | 是 | GET | 调用接口凭证(代理商appid) |
sign | 是 | GET |
接口签名 |
timestamp |
是 | POST |
请求时间 |
name |
是 |
POST | 子账号名称 |
link_mobile |
是 |
POST |
手机号(即登陆的账号) |
password |
是 |
POST | 登录密码(建议6-32位英文或字母) |
confirmpwd |
是 |
POST | 确认密码 |
type |
是 |
POST | 账号类型 (1:管理员 2:普通客服) |
no |
否 |
POST | 编号 |
realname |
否 |
POST | 真实姓名 |
返回说明
正确时返回JSON数据包:
{"errcode":"200",errmsg":"success"}
错误时返回JSON数据包:
{"errcode":"-1",errmsg":"error"}