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
32be028a
Commit
32be028a
authored
Oct 31, 2022
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
1cc7942f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
5 deletions
+62
-5
运营-数据推送和回调接口.md
callmanage2/运营-数据推送和回调接口.md
+6
-4
外呼-外部服务调用文档.md
outboundcall/外呼-外部服务调用文档.md
+56
-1
No files found.
callmanage2/数据推送和回调接口.md
→
callmanage2/
运营-
数据推送和回调接口.md
View file @
32be028a
-
BaseUrl
-
BaseUrl
...
@@ -31,7 +31,7 @@ RequestBody:
...
@@ -31,7 +31,7 @@ RequestBody:
"location"
:
"未知"
,
//
电话人地点
"location"
:
"未知"
,
//
电话人地点
"number"
:
""
,
//
电话人号码
"number"
:
""
,
//
电话人号码
"encodeNumber"
:
"simo_test_20221009142217_7"
,
//
加密后的号码
"encodeNumber"
:
"simo_test_20221009142217_7"
,
//
加密后的号码
(ID)
"serviceName"
:
"默认"
,
//
业务名
"serviceName"
:
"默认"
,
//
业务名
"customSessionId"
:
"121231"
,
//
第三方会话ID
"customSessionId"
:
"121231"
,
//
第三方会话ID
...
@@ -103,11 +103,13 @@ RequestBody:
...
@@ -103,11 +103,13 @@ RequestBody:
"outputCallTaskName"
:
"菠萝包召回"
,
//
任务名
"outputCallTaskName"
:
"菠萝包召回"
,
//
任务名
"teleNumber"
:
""
,
//
回调的电话号码
"teleNumber"
:
""
,
//
回调的电话号码
"tele_encode_number"
:
"simo_test_20221009142217_7"
,
//
加密后的号码
"tele_encode_number"
:
"simo_test_20221009142217_7"
,
//
加密后的号码
(ID)
"serviceName"
:
"默认"
,
//
业务名
"serviceName"
:
"默认"
,
//
业务名
"customSessionId"
:
"18059821525"
,
//
回调的客户自定义sessionId
"customSessionId"
:
"18059821525"
,
//
回调的客户自定义sessionId
"status"
:
2
//
客户回调状态
:
0
:
初始状态
1
:
短信发送失败
2
:
短信发送成功
3
:
用户已接收短信
4
:
用户进入宣传页面
5
:
用户召回成功
6
:
接收短信失败
"status"
:
2
,
//
客户回调状态
:
0
:
初始状态
1
:
短信发送失败
2
:
短信发送成功
3
:
用户已接收短信
4
:
用户进入宣传页面
5
:
用户召回成功
6
:
接收短信失败
可不传
"callbackType"
:
1
,
//
1
:
点击
2
:
下载
3
:
激活
4
:
充值
可不传
"cash"
:
-100.0
,
//
如果是充值类型,会有金额参数
可不传
}
}
```
```
...
...
outboundcall/外部服务调用文档.md
→
outboundcall/外
呼-外
部服务调用文档.md
View file @
32be028a
#### 号码导入-JSON方式
#### 号码导入-JSON方式
...
@@ -71,3 +71,57 @@ curl --location --request POST 'http://47.111.189.55:60012/out/import/phone/numb
...
@@ -71,3 +71,57 @@ curl --location --request POST 'http://47.111.189.55:60012/out/import/phone/numb
]
]
}'
}'
```
```
#### 号码转ID
URL: {基本地址}/out/tele/number/to/id
METHOD: POST
RequestHeaders:
| key | description |
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
| Timestamp | 请求时的时间戳,毫秒级 |
| Authorization | 签名, 将 appSecret + ":" + timestamp 字符串md5提取摘要 |
| App-Channel-Id | 渠道ID |
RequestBody:
```
json
{
"teleNumber"
:
"19925432904"
,
"teleServiceName"
:
"默认"
}
```
ResponseBody:
```
json
{
"code"
:
1
,
"msg"
:
"成功"
,
"data"
:
{
"teleEncodeNumber"
:
"simo_test_20221027105913_1"
,
//
加密后的ID
"teleServiceName"
:
"默认"
,
//
业务名称
"teleNumber"
:
"19925432904"
//
电话号码
}
}
```
Example:
```
curl --location --request POST 'http://47.111.189.55:60012/out/tele/number/to/id' \
--header 'Authorization: 863500f4657f35e263e8762f6a6f00e8' \
--header 'App-Channel-Id: simo-test' \
--header 'Timestamp: 1667201714032' \
--header 'Content-Type: application/json' \
--data-raw '{
"teleNumber":"19925432904",
"teleServiceName":"默认"
}'
```
\ No newline at end of file
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