Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuming
/
developer-docs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
cookieLM
2016-09-05 20:14:06 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
08993430c9c750fcbeafd0c8c616568f087a6531
08993430
1 parent
1be35c65
Updated 打电话接口 (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
84 additions
and
1 deletions
打电话接口.md
打电话接口.md
View file @
0899343
### 1. 通话
\ No newline at end of file
### 1. 通话接口
接口地址:/v1/app/call/{targetId}?access_token=token
Request Method:GET
Request params:
|参数名 |是否必须 |说明 |参数类型 |
|--------------|----------|--------|----------|
|targetId |是 |被叫的用户id |Long |
|access_token |是 |系统当前登录用户的token |String |
Response Body:
成功建立通话连接:
```
{
"data"
:
{
"callSid"
:
"16090510160925480001030600243044"
}
}
,
"returnCode"
:
200
,
"returnMsg"
:
"success"
}
```
系统异常:
```
{
"returnCode"
:
500
,
"returnMsg"
:
""
}
```
主叫或被叫未绑定电话号:
```
{
"returnCode"
:
400
,
"returnMsg"
:
"账号未绑定手机号,请手动拨打010-56469588!"
}
```
无通讯子账户:
```
{
"returnCode"
:
400
,
"returnMsg"
:
"无通讯子账户,请联系管理员!"
}
```
用户信息有误:
```
{
"returnCode"
:
400
,
"returnMsg"
:
"用户信息有误!"
}
```
用户信息有误:
```
{
"returnCode"
:
400
,
"returnMsg"
:
"用户信息有误!"
}
```
用户信息有误:
```
{
"returnCode"
:
400
,
"returnMsg"
:
"用户信息有误!"
}
```
### 2. 客服呼叫
### 3. 取消呼叫
### 4. 获取通话状态
\ No newline at end of file
...
...
Please
register
or
login
to post a comment