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
54a0f524
Commit
54a0f524
authored
Dec 14, 2022
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
d7512d8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
76 additions
and
2 deletions
+76
-2
外呼-外部服务调用文档.md
outboundcall/外呼-外部服务调用文档.md
+76
-2
No files found.
outboundcall/外呼-外部服务调用文档.md
View file @
54a0f524
####
号码导入-JSON方式
####
号码导入-JSON方式
...
...
@@ -41,7 +41,14 @@ ResponseBody:
"code"
:
1
,
"msg"
:
"成功"
,
"data"
:
{
"importFailureList"
:
[]
//
导入失败的列表
"importFailureList"
:
[],
//
导入失败的列表
"idInfoList"
:[
{
"teleNumber"
:
"19925432904"
,
//
电话号码
"teleServiceName"
:
"默认"
,
//
导入的业务名
"teleEncodeNumber"
:
"blabla"
//
电话ID
}
]
}
}
```
...
...
@@ -177,4 +184,70 @@ curl --location --request POST 'http://hw-gz3.heyqiwu.cn:60012/out/tele/id/to/nu
"teleEncodeNumber":"qiwu_test_20221104114443_3",
"teleServiceName":"IMPORT_TEST"
}'
```
#### 批量ID转号码
URL: {基本地址}/out/tele/ids/to/numbers
METHOD: POST
RequestHeaders:
| key | description |
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
| Timestamp | 请求时的时间戳,毫秒级 |
| Authorization | 签名, 将 appSecret + ":" + timestamp 字符串md5提取摘要 |
| App-Channel-Id | 渠道ID |
RequestBody:
```
json
{
"idInfoList"
:[
{
"teleEncodeNumber"
:
"qiwu_test_20221104114443_3"
,
//
号码ID
"teleServiceName"
:
"IMPORT_TEST"
//
业务名
}
]
}
```
ResponseBody:
```
json
{
"code"
:
1
,
//
1
:表示查询成功;
其他表示失败
"msg"
:
"成功"
,
"data"
:
{
"idInfoList"
:[
{
"teleEncodeNumber"
:
"qiwu_test_20221104114443_3"
,
//
号码ID
"teleServiceName"
:
"IMPORT_TEST"
,
//
业务名
"teleNumber"
:
"13871940702"
//
真实号码
}
]
}
}
```
Example:
```
curl --location --request POST 'http://hw-gz3.heyqiwu.cn:60012/out/tele/ids/to/numbers' \
--header 'App-Channel-Id: qiwu-test' \
--header 'Timestamp: 1670304976574' \
--header 'Authorization: 1a25bcae0f4ada9e6fe5a565ec384b60' \
--header 'Content-Type: application/json' \
--data-raw '{
"idInfoList":[
{
"teleEncodeNumber":"qiwu_test_20221104114443_3", // 号码ID
"teleServiceName":"IMPORT_TEST" // 业务名
}
]
}'
```
\ 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