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
songyinting
jiaoyou_doc
Commits
084d47ba
Commit
084d47ba
authored
Sep 23, 2022
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加接口调用任务暂停和启动
parent
33dfaacf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
1 deletion
+50
-1
数据推送和回调接口.md
callmanage/数据推送和回调接口.md
+50
-1
No files found.
callmanage/数据推送和回调接口.md
View file @
084d47ba
-
Bas
eUrl
-
Bas
eUrl
...
@@ -129,6 +129,55 @@ curl --location --request POST 'http://hw-gz59.heyqiwu.cn:60011/out/custom/callb
...
@@ -129,6 +129,55 @@ curl --location --request POST 'http://hw-gz59.heyqiwu.cn:60011/out/custom/callb
'
'
```
```
#### 任务执行状态更新-暂停-启动
URL: {BaseUrl}/out/task/status/update
METHOD: POST
RequestHeaders:
| key | description |
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
| Timestamp | 请求时的时间戳,毫秒级 |
| Authorization | 签名, 将 appSecret+":"+timestamp 字符串md5提取摘要 |
| App-Channel-Id | 渠道ID |
RequestBody:
```
json
{
"username"
:
"admin"
,
//
用户名
"outputCallTaskName"
:
"进峰测试sip方式留创网关"
,
//
任务名
"status"
:
2
//
0
:
立即执行;
2
:
停止
}
```
ResponseBody:
```
json
{
"code"
:
1
,
//
1
:
表示成功,
其他表示失败
"msg"
:
"成功"
,
//
提示信息
"data"
:
null
}
```
Example
```
curl --location --request POST 'http://hw-gz59.heyqiwu.cn:60011/out/task/status/update' \
--header 'Timestamp: 1663914548839' \
--header 'Authorization: e02f9d3ddcc99acb54e9c581ce280f7d' \
--header 'App-Channel-Id: qiwu-monitor-pro' \
--header 'Content-Type: application/json' \
--data-raw '{
"username":"admin",
"outputCallTaskName":"进峰测试sip方式留创网关",
"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