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
jixudong
jiaoyou_doc
Commits
e17b3738
Commit
e17b3738
authored
Jun 28, 2022
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
538372d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
1 deletion
+56
-1
数据推送和回调接口.md
callmanage/数据推送和回调接口.md
+56
-1
No files found.
callmanage/数据推送和回调接口.md
View file @
e17b3738
-
Bas
eUrl
-
Bas
eUrl
...
...
@@ -74,6 +74,61 @@ curl --location --request POST 'http://hw-gz59.heyqiwu.cn:60011/out/push/call' \
'
```
#### 客户回调接口
URL: {BaseUrl}/out/custom/callback
METHOD: POST
RequestHeaders:
| key | description |
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
| Timestamp | 请求时的时间戳,毫秒级 |
| Authorization | 签名, 将 appSecret+":"+timestamp 字符串md5提取摘要 |
| App-Channel-Id | 渠道ID |
RequestBody:
```
json
{
"username"
:
"boluobao0001"
,
//
用户名
"outputCallTaskName"
:
"菠萝包召回"
,
//
任务名
"teleNumber"
:
"18059821525"
,
//
回调的电话号码
"customSessionId"
:
"18059821525"
,
//
回调的客户自定义sessionId
"status"
:
2
//
客户回调状态
:
0
:
初始状态
1
:
短信发送失败
2
:
短信发送成功
3
:
用户已接收短信
4
:
用户进入宣传页面
5
:
用户召回成功
}
```
ResponseBody:
```
json
{
"code"
:
1
,
//
1
:
表示成功,
其他表示失败
"msg"
:
"成功"
,
//
提示信息
"data"
:
null
}
```
Example
```
curl --location --request POST 'http://hw-gz59.heyqiwu.cn:60011/out/custom/callback' \
--header 'App-Channel-Id: boluobao-pro' \
--header 'Timestamp: 1656397270262' \
--header 'Authorization: 8a969f6dbac5d09660c19c2a686cac0a' \
--header 'Content-Type: application/json' \
--data-raw '{
"username":"boluobao0001",
"outputCallTaskName":"菠萝包召回",
"teleNumber":"18059821525",
"customSessionId":"18059821525",
"status":2
}
'
```
#### 回调标签
...
...
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