查询超时回复规则详细信息
企业可通过此接口查询超时回复规则详细信息
请求方式: POST(HTTPS)
请求地址: https://open.wshoto.com/openapi/chat/timeout/rule_detail
Query参数:
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
access_token | string | 是 | 调用接口凭证 |
Body参数
{
"rule_id": "123"
}
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
rule_id | string | 是 | 规则id |
返回值:
{
"code": 0,
"msg": "请求成功",
"data": {
"rule_id": "123",
"rule_name": "test_eaaa3a8aa545",
"create_time": 123456789,
"chat_time_out": 75,
"receive_days": [
1
],
"receive_start_time": "09:09:09",
"receive_end_time": "09:09:09",
"rule_type": 1,
"notice_type_list": [
1
],
"notice_range_list": [
{
"is_department": false,
"key_id": true
}
],
"chat_notice_type": 1,
"chat_group_scope": 1,
"chat_group_name_list": [
"test_673cebfb2219"
],
"tag_info_list": [
{
"tag_id": "test_ea937e77b755",
"tag_name": "test_0db7c70a46cd"
}
],
"chat_group_owner_list": [
{
"id": "test_36a8e7b23ff5",
"type": 2
}
]
}
}
返回说明:
参数 | 类型 | 说明 |
---|---|---|
code | int | 出错返回码,为0表示成功,非0表示调用失败 |
msg | string | 返回码描述 |
data | object | 响应结果 |
rule_id | string | 规则id |
rule_name | string | 规则名称 |
create_time | long | 创建时间 |
chat_time_out | int | 超时回复提醒时长 |
receive_days | array | 接收消息时间 |
receive_start_time | string | 接收开始时间,格式:时分秒.09:09:09 |
receive_end_time | String | 接收结束时间,格式:时分秒.09:09:09 |
watch_no_range_list | object[] | 适用员工集合 |
is_department | bool | 是否部门 |
key_id | string | 人员id/部门id |
rule_type | int | 生效场景.1-单聊;2-群聊中客户发言;3-群聊中客户@我. |
notice_type_list | array | 被通知类型. 1-提醒对应员工 2-群聊触发超时回复,提醒指定人群 3-提醒所在管理组的管理员 4-提醒指定人员 |
notice_range_list | object[] | 提醒指定人员 |
is_department | bool | 是否部门 |
key_id | string | 人员id/部门id |
chat_notice_type | int | 群聊触发超时回复,提醒指定人群类型.1-群主和群管理员;2-群主,3-群管理员 |
chat_group_scope | int | 群聊范围.1-全部群聊;2-按条件筛选 |
chat_group_name_list | array | 群聊名称包含关键字 |
tag_info_list | object[] | 标签信息集合 |
tag_id | string | 标签id |
tag_name | string | 标签名称 |
chat_group_owner_list | object[] | 群聊群主信息集合 |
id | string | 群主员工id或者部门id |
type | int | id类型.1-部门,2-员工 |