- 统一接口
- 分管控制台/客服坐席管理
- 客服坐席
- 主控
- 分管
- 菜单管理
- 管理员
- 首页
- IP管理
- 坐席主管
- ip2world
- 拉群
- 消息回调POST
- 重新登 录POST
- 协议回调更新手机号状态POST
- 物理IP获取POST
- 提供给协议做调用POST
分控招呼方案上传
开发中
开发环境
http://localhost:8080
开发环境
http://localhost:8080
POST
/kk/greetruleset/insertGreetRuleSet
请求参数
Header 参数
token
string
可选
示例值:
3b73164f123f4773bdd12f0e97aa2b3d
Body 参数application/json
insertGreetingRequest
object
招呼消息
contentType
string
必需
content
string
文本招呼消息
imageContentUrl
string
图片招呼消息
voiceContentUrl
string
语音招呼消息
insertAutoResponseRequest
object
自动回复消息
contentType
string
必需
content
string
自动回复文本消息
imageContentUrl
string
自动回复图片消息
voiceContentUrl
string
自动回复语音消息
name
string
方案标识名称
mainGreetRuleId
integer
主控规则Id
示例
{
"insertGreetingRequest": {
"content": "",
"imageContentUrl": "/profile/upload/2023/08/16/43874a6b-3a49-44dc-8c99-21681f8da440_2.jpg",
"voiceContentUrl": ""
},
"insertAutoResponseRequest": {
"contentType": "1",
"content": "您好 hello world!",
"imageContentUrl": "",
"voiceContentUrl": ""
},
"name": "spcfg2-zh-02",
"mainGreetRuleId": 82
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:8080/kk/greetruleset/insertGreetRuleSet' \
--header 'token: 3b73164f123f4773bdd12f0e97aa2b3d' \
--header 'Content-Type: application/json' \
--data-raw '{
"insertGreetingRequest": {
"content": "",
"imageContentUrl": "/profile/upload/2023/08/16/43874a6b-3a49-44dc-8c99-21681f8da440_2.jpg",
"voiceContentUrl": ""
},
"insertAutoResponseRequest": {
"contentType": "1",
"content": "您好 hello world!",
"imageContentUrl": "",
"voiceContentUrl": ""
},
"name": "spcfg2-zh-02",
"mainGreetRuleId": 82
}'
返回响应
🟢200成功
application/json
Body
msg
string
必需
code
integer
必需
data
boolean
必需
示例
{"msg":"操作成功","code":200,"data":true}
修改于 2023-08-16 13:49:47