4.1 添加/修改坐席
地 址
Path: /Interface/{access_token}/treatedAgent HTTP Method: Post URL Params: 无 Request Headers: 无 Request Body: {“agentId”:”1001”,“agentPassword”:”1001”,“type”:”1”} Response Body: 详情参见示例返回值,返回的 JSON 数据中会包含除上述属性之外的一些其他信息,均可以忽略。
属性说明
属性 | 类型 | 约束 | 说明 |
agentId | String | 必选 | 坐席编号 |
agentPassword | String | 必选 | 登录密码 |
type | String | 必选 | 1为添加或者修改,重复的坐席ID就修改/2为删除 |
access_token | String | 必选 | 认证成功返回的accessToken |
服务端响应内容
{ "status":"0", "message":"操作成功" }
{ "status":"1", "message":"操作失败" }
{ "status":"2", "message":"认证失败" }