Integrare cu CallGear

De la Planfix
Salt la: navigare, căutare

Creați următoarele notificări în "Notificări":

fCGX3v.png

Toate notificările ar trebui să fie trimise prin metoda POST la URL-ul de notificare din Preferințele de integrare în Planfix:

tajga2.png

1. Apel intrare pe un număr de telefon virtual <sursă> {

 "notification_mnemonic":Format:Notification mnemonic,
 "notification_name":Format:Notification name,
 "virtual_phone_number":Format:Virtual phone number,
 "notification_time":Format:Notification time,
 "scenario_name": Format:Scenario name,
   "contact_phone_number":Format:Contact phone number,
   "communication_number":Format:Communication number,
   "contact_id": Format:Contact id,
   "contact_full_name": Format:Contact full name,
 "call_session_id":Format:Call session id

} </sursă>

2. Apel finalizat <sursă> {

 "notification_name":Format:Notification name,
 "notification_mnemonic":Format:Notification mnemonic,
 "virtual_phone_number":Format:Virtual phone number,
 "notification_time":Format:Notification time,
 "external_id": Format:External id,
   "contact_phone_number":Format:Contact phone number,
   "communication_number":Format:Communication number,
   "employee_full_name": Format:Employee full name,
   "employee_id": Format:Employee id,
   "call_source": Format:Call source,
   "direction": Format:Direction,
   "call_session_id":Format:Call session id,
   "scenario_name": Format:Scenario name,
   "talk_time_duration": Format:Talk time duration,
   "total_time_duration": Format:Total time duration,
   "wait_time_duration": Format:Wait time duration,
   "tag_names": Format:Tag names

} </sursă>

3. Înregistrarea apelului a fost finalizată <sursă> {

 "notification_name": Format:Notification name,
 "notification_mnemonic":Format:Notification mnemonic,
 "virtual_phone_number": Format:Virtual phone number,
 "notification_time": Format:Notification time,
 "scenario_name": Format:Scenario name,
   "contact_phone_number": Format:Contact phone number,
   "communication_number": Format:Communication number,
   "contact_id": Format:Contact id,
   "contact_full_name": Format:Contact full name,
 "call_session_id": Format:Call session id,
   "employee_full_name": Format:Employee full name,
   "employee_id": Format:Employee id,
   "file_link": Format:File link,
   "file_duration": Format:File duration,
 "tag_ids": Format:Tag ids,
 "tag_names": Format:Tag names

} </sursă>

4. Așteptare pentru răspuns <sursă> {

 "notification_name":Format:Notification name,
 "notification_mnemonic":Format:Notification mnemonic,
 "virtual_phone_number": Format:Virtual phone number,
 "notification_time":Format:Notification time,
 "external_id": Format:External id,
   "contact_phone_number":Format:Contact phone number,
   "contact_id": Format:Contact id,
   "employee_full_name": Format:Employee full name,
   "employee_id": Format:Employee id,
 "call_source": Format:Call source,
 "call_session_id":Format:Call session id,
 "direction": Format:Direction,
 "leg_id": Format:Leg id

} </sursă>

5. Apel ieșire <sursă> {

 "notification_name": Format:Notification name,
 "notification_mnemonic":Format:Notification mnemonic,
 "virtual_phone_number": Format:Virtual phone number,
 "notification_time": Format:Notification time,
   "contact_phone_number":Format:Contact phone number,
   "contact_id":Format:Contact id,
   "contact_full_name":Format:Contact full name,
 "call_session_id":Format:Call session id,
   "employee_full_name":Format:Employee full name,
   "employee_id":Format:Employee id,
   "employee_phone_number":Format:Employee phone number

} </sursă>

6. Discuția a început <sursă> {

 "notification_name":Format:Notification name,
 "notification_mnemonic":Format:Notification mnemonic,
 "virtual_phone_number": Format:Virtual phone number,
 "notification_time":Format:Notification time,
 "external_id": Format:External id,
   "contact_phone_number":Format:Contact phone number,
   "contact_id": Format:Contact id,
   "employee_full_name": Format:Employee full name,
   "employee_id": Format:Employee id,
 "call_source": Format:Call source,
 "call_session_id":Format:Call session id,
 "direction": Format:Direction,
 "leg_ids": Format:Leg ids

} </sursă>

7. Discuția s-a terminat <sursă> {

 "notification_name":Format:Notification name,
 "notification_mnemonic":Format:Notification mnemonic,
 "virtual_phone_number":Format:Virtual phone number,
 "notification_time":Format:Notification time,
 "external_id": Format:External id,
   "contact_phone_number":Format:Contact phone number,
   "communication_number":Format:Communication number,
   "employee_full_name": Format:Employee full name,
   "employee_id": Format:Employee id,
   "call_source": Format:Call source,
   "call_session_id":Format:Call session id,
   "direction": Format:Direction,
   "scenario_name": Format:Scenario name,
   "talk_time_duration": Format:Talk time duration,
 "leg_ids": Format:Leg ids

} </sursă>

8. Apel pierdut <sursă> {

 "notification_name":Format:Notification name,
 "notification_mnemonic":Format:Notification mnemonic,
 "virtual_phone_number":Format:Virtual phone number,
 "notification_time":Format:Notification time,
 "scenario_name": Format:Scenario name,
 "wait_time_duration" : Format:Wait time duration,
 "employee_ids":Format:Employee ids,
   "contact_phone_number":Format:Contact phone number,
   "communication_number":Format:Communication number,
   "contact_id": Format:Contact id,
   "contact_full_name":Format:Contact full name,
 "call_session_id":Format:Call session id

} </sursă>