查询账号登录结果 (queryAgentLoginParams)
描述
移动APP与PC端业务系统统一账号查询接口。
接口方法
POST
接口URI
https://域名/apiaccess/CC-Management/v1/queryAgentLoginParams,例如域名是service.besclouds.com
请求说明
序号 | 名称 | 参数类型 | 是否必选 | 说明 |
|---|---|---|---|---|
1 | X-APP-Key | string | False | App标识 |
2 | Authorization | string | True | 鉴权字段,内容格式为: Bearer +tokenByAKSK接口的返回值中AccessToken(Bearer后有空格) |
序号 | 名称 | 参数类型 | 是否必选 | 说明 |
|---|---|---|---|---|
1.1 | password | string(100) | True | 登录密码 |
1.2 | account | string(100) | True | 登录账号 |
响应说明
- 响应状态码: 200
序号 | 名称 | 参数类型 | 是否必选 | 说明 |
|---|---|---|---|---|
1.1 | message | string(1024) | False | 账号校验信息 |
1.2 | returnCode | string(10) | False | 账号校验返回码 0:成功 1:失败 |
1.3 | results | object | False | 查询结果 |
序号 | 名称 | 参数类型 | 是否必选 | 说明 |
|---|---|---|---|---|
1.1 | workNo | string(5) | False | 座席工号 |
1.2 | password | string(100) | False | 座席签入登录平台的加密前密码 |
1.3 | sipAccount | string(24) | False | SIP软电话号码 |
1.4 | sipPwd | string(100) | False | SIP软电话加密前密码 |
1.5 | sipServerInfo | array[SIPServerInfo] | False | SIP服务信息 |
序号 | 名称 | 参数类型 | 是否必选 | 说明 |
|---|---|---|---|---|
1.1 | sipServiceIp | string(50) | False | 软电话注册地址 |
1.2 | sipServicePort | string(5) | False | 座席登录服务端口 |
1.3 | node | string(10) | False | sip服务节点 |
1.4 | type | string(10) | False | sip服务类型,默认SIP 0:SIP 1:WebRTC |
- 响应状态码: 400
错误的请求:请检查请求路径及参数。
- 响应状态码: 401
未授权:1.请确认是否购买了相关服务。2.请联系客服人员检查您账号的当前状态。
- 响应状态码: 404
请求的内容未找到:请检查请求的路径。
- 响应状态码: 500
业务失败:请依次确认您请求中各参数的取值。
错误码
无。
报文样例
"x-app-key":"e******************************a" "Authorization":"Bearer e******************************8" "Content-Type":"application/json;charset=UTF-8" "Connection":"keep-alive"
请求参数:
{
"account": "ls120201",
"password": "S*****x"
} 响应参数:
{
"returnCode": "0",
"results": {
"sipServerInfo": [{
"sipServiceIp": "10.10.10.11",
"sipServicePort": "33",
"type": "0"
}],
"password": "11****8Q",
"sipAccount": "88887818",
"workNo": "1516"
},
"message": "verify Account or password success."
} 
