Commit be52ebcd by 李进峰

更新外呼的数据推送模块

parent 082af012
- BaseUrl
- BaseUrl
......@@ -30,7 +30,8 @@ RequestBody:
"sex":"先生", // 电话人性别
"job":"工程师", // 电话人职位
"location":"深圳", // 电话人地点
"number":"13009633593" // 电话人号码
"number":"13009633593", // 电话人号码
"customSessionId":"121231" // 第三方会话ID
}
]
}
......@@ -65,7 +66,8 @@ curl --location --request POST 'http://hw-gz59.heyqiwu.cn:60011/out/push/call' \
"sex":"先生",
"job":"工程师",
"location":"深圳",
"number":"13009633593"
"number":"13009633593",
"customSessionId":"121231"
}
]
}
......@@ -93,7 +95,9 @@ RequestBody:
```json
{
"teleNumber":"13009633593", // 用户电话
"tags":"还款意愿:拒绝还款,逾期原因:忘记有借款,通话状态:本人接通" // BOT打的标签
"tags":"还款意愿:拒绝还款,逾期原因:忘记有借款,通话状态:本人接通", // BOT打的标签
"customSessionId":"121231",
"callStatus": 1, // 1: 未接通, 4: 通话完成
}
```
......@@ -117,6 +121,17 @@ curl --location --request POST 'http://hw-gz59.heyqiwu.cn:60011/test/callback' \
--header 'Content-Type: application/json' \
--data-raw '{
"teleNumber":"13009633593",
"tags":"还款意愿:拒绝还款,逾期原因:忘记有借款,通话状态:本人接通"
"tags":"还款意愿:拒绝还款,逾期原因:忘记有借款,通话状态:本人接通",
"customSessionId":"121231",
"callStatus": 1,
}'
```
#### 外呼对话系统uid生成规则
```
{服务名称}_{毫秒级时间戳}_{customSessionId}
{服务名称}_{毫秒级时间戳}_{电话号码}
{服务名称}_{毫秒级时间戳}_{随机串}
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment