Следующая версия | Предыдущая версия |
uis:settings:lk:notifications:patientanswer [20-11-2024 12:23] – создано Ермилов Егор Павлович | uis:settings:lk:notifications:patientanswer [20-11-2024 12:54] (текущий) – [Способы уведомлений] Ермилов Егор Павлович |
---|
====== JSON Для тела запроса ====== | ====== Уведомление "Поднятие трубки" ====== |
| |
<code bash> | ===== Основные настройки ===== |
| |
| Название уведомления: ''Поднятие трубки клиентом'' |
| |
| Тип события: ''Поднятие трубки'' |
| |
| Активно: ''Включено'' |
| ===== Условия уведомлений ===== |
| |
| ==== Группа 1 ==== |
| |
| Включить → Сотрудник → Пустое |
| |
| ===== Способы уведомлений ===== |
| |
| HTTP - ''Включено'' |
| |
| Метод - ''POST'' |
| |
| URL - ''< адрес модуля связи mgerm_external > /uis/call/patientAnswer'' |
| |
| ===== JSON Для тела запроса ===== |
| |
| <code javascript> |
{ | { |
"app_id":{{app_id}}, | "app_id": {{app_id}}, |
"attributes":{{attributes}}, | "attributes": {{attributes}}, |
"call_session_id":{{call_session_id}}, | "call_session_id": {{call_session_id}}, |
"call_source":{{call_source}}, | "call_source": {{call_source}}, |
"called_phone_number":{{called_phone_number}}, | "called_phone_number": {{called_phone_number}}, |
"calling_phone_number":{{calling_phone_number}}, | "calling_phone_number": {{calling_phone_number}}, |
"communication_id":{{communication_id}}, | "communication_id": {{communication_id}}, |
"communication_type":{{communication_type}}, | "communication_type": {{communication_type}}, |
"connection_time":{{connection_time}}, | "connection_time": {{connection_time}}, |
"contact_full_name":{{contact_full_name}}, | "contact_full_name": {{contact_full_name}}, |
"contact_group_ids":{{contact_group_ids}}, | "contact_group_ids": {{contact_group_ids}}, |
"contact_id":{{contact_id}}, | "contact_id": {{contact_id}}, |
"contact_phone_number":{{contact_phone_number}}, | "contact_phone_number": {{contact_phone_number}}, |
"cpn_region_id":{{cpn_region_id}}, | "cpn_region_id": {{cpn_region_id}}, |
"cpn_region_name":{{cpn_region_name}}, | "cpn_region_name": {{cpn_region_name}}, |
"direction":{{direction}}, | "direction": {{direction}}, |
"employee_full_name":{{employee_full_name}}, | "employee_full_name": {{employee_full_name}}, |
"employee_group_ids":{{employee_group_ids}}, | "employee_group_ids": {{employee_group_ids}}, |
"employee_id":{{employee_id}}, | "employee_id": {{employee_id}}, |
"employee_phone_number":{{employee_phone_number}}, | "employee_phone_number": {{employee_phone_number}}, |
"extension_phone_number":{{extension_phone_number}}, | "extension_phone_number": {{extension_phone_number}}, |
"external_id":{{external_id}}, | "external_id": {{external_id}}, |
"is_internal":{{is_internal}}, | "is_internal": {{is_internal}}, |
"is_operator":{{is_operator}}, | "is_operator": {{is_operator}}, |
"is_transferred":{{is_transferred}}, | "is_transferred": {{is_transferred}}, |
"leg_direction":{{leg_direction}}, | "leg_direction": {{leg_direction}}, |
"leg_id":{{leg_id}}, | "leg_id": {{leg_id}}, |
"notification_mnemonic":{{notification_mnemonic}}, | "notification_mnemonic": {{notification_mnemonic}}, |
"notification_name":{{notification_name}}, | "notification_name": {{notification_name}}, |
"notification_time":{{notification_time}}, | "notification_time": {{notification_time}}, |
"notification_timestamp":{{notification_timestamp}}, | "notification_timestamp": {{notification_timestamp}}, |
"scenario_id":{{scenario_id}}, | "scenario_id": {{scenario_id}}, |
"scenario_name":{{scenario_name}}, | "scenario_name": {{scenario_name}}, |
"start_time":{{start_time}}, | "start_time": {{start_time}}, |
"tp_project":{{tp_project}}, | "tp_project": {{tp_project}}, |
"transferred_by_employee_full_name":{{transferred_by_employee_full_name}}, | "transferred_by_employee_full_name": {{transferred_by_employee_full_name}}, |
"transferred_by_employee_id":{{transferred_by_employee_id}}, | "transferred_by_employee_id": {{transferred_by_employee_id}}, |
"virtual_phone_number":{{virtual_phone_number}}, | "virtual_phone_number": {{virtual_phone_number}}, |
"visitor_country":{{visitor_country}}, | "visitor_country": {{visitor_country}}, |
"wait_time_duration":{{wait_time_duration}} | "wait_time_duration": {{wait_time_duration}} |
} | } |
| |