Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jiaoyou_doc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李进峰
jiaoyou_doc
Commits
be52ebcd
Commit
be52ebcd
authored
Jun 07, 2022
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新外呼的数据推送模块
parent
082af012
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
7 deletions
+21
-7
数据推送和回调接口.md
callmanage/数据推送和回调接口.md
+21
-7
No files found.
callmanage/数据推送和回调接口.md
View file @
be52ebcd
-
Bas
eUrl
-
Bas
eUrl
...
...
@@ -30,7 +30,8 @@ RequestBody:
"sex"
:
"先生"
,
//
电话人性别
"job"
:
"工程师"
,
//
电话人职位
"location"
:
"深圳"
,
//
电话人地点
"number"
:
"13009633593"
//
电话人号码
"number"
:
"13009633593"
,
//
电话人号码
"customSessionId"
:
"121231"
//
第三方会话ID
}
]
}
...
...
@@ -65,7 +66,8 @@ curl --location --request POST 'http://hw-gz59.heyqiwu.cn:60011/out/push/call' \
"sex":"先生",
"job":"工程师",
"location":"深圳",
"number":"13009633593"
"number":"13009633593",
"customSessionId":"121231"
}
]
}
...
...
@@ -93,7 +95,9 @@ RequestBody:
```
json
{
"teleNumber"
:
"13009633593"
,
//
用户电话
"tags"
:
"还款意愿:拒绝还款,逾期原因:忘记有借款,通话状态:本人接通"
//
BOT打的标签
"tags"
:
"还款意愿:拒绝还款,逾期原因:忘记有借款,通话状态:本人接通"
,
//
BOT打的标签
"customSessionId"
:
"121231"
,
"callStatus"
:
1
,
//
1
:
未接通,
4
:
通话完成
}
```
...
...
@@ -117,6 +121,17 @@ curl --location --request POST 'http://hw-gz59.heyqiwu.cn:60011/test/callback' \
--header 'Content-Type: application/json' \
--data-raw '{
"teleNumber":"13009633593",
"tags":"还款意愿:拒绝还款,逾期原因:忘记有借款,通话状态:本人接通"
"tags":"还款意愿:拒绝还款,逾期原因:忘记有借款,通话状态:本人接通",
"customSessionId":"121231",
"callStatus": 1,
}'
```
\ No newline at end of file
```
#### 外呼对话系统uid生成规则
```
{服务名称}_{毫秒级时间戳}_{customSessionId}
{服务名称}_{毫秒级时间戳}_{电话号码}
{服务名称}_{毫秒级时间戳}_{随机串}
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment