b. API Actions v5
- 1 Make Call
- 1.1 Call
- 2 HungUp Call
- 2.1 Call
- 3 Send SMS
- 3.1 SMS
- 4 Tag Record
- 4.1 Tag
- 5 Generate Report
- 5.1 Report
- 5.1.1 JSON Object
- 5.1.2 Report URL
- 5.1 Report
- 6 Close Form
- 7 Dialers
- 7.1 CTI
- 7.2 RESPOOL CALL
- 7.2.1 Respool
- 7.2.1.1 JSON Object
- 7.2.1 Respool
- 7.3 SCHEDULE CALL
- 7.3.1 Schedule Call
- 7.3.1.1 JSON Object
- 7.3.1 Schedule Call
- 7.4 UPLOAD CALLS BASE
- 7.4.1 Upload Dialer Calls
- 7.4.1.1 File Format
- 7.4.1 Upload Dialer Calls
- 7.5 SCHEDULE SMS
- 7.5.1 Schedule SMS
- 7.5.1.1 JSON Object
- 7.5.1 Schedule SMS
- 8 Upload SMS base
- 8.1 Upload Dialer Calls
- 8.1.1 File Format
- 8.1 Upload Dialer Calls
- 9 Delete Contact from Dialer
Make Call
Call
Relative URL: Integra/resources/Agents/AgentCall
Method: POST
content-type:application/x-www-form-urlencoded; charset=UTF-8
Params: callerid (From number that the call will go out with)
agent (Name of the Agent that generates the call)
phone (Phone of the Agent that generates the call)
tech (Usually SIP)
context (Context of the Agent configured in uContact)
outqueue (Name of the Outbound Campaign to compute the call)
destination (Destination number)
Result: TEXT (Guid of the generated call)
0 if Error
This is a two step call will call the agent and when answer (or auto answer), the final call it is generated.
HungUp Call
Call
Relative URL: Integra/resources/Agents/HungupPhone
Method: POST
content-type:application/x-www-form-urlencoded; charset=UTF-8
Params: phone (Phone of the Agent that generates the call)
Result: 1 Success on hung up
0 if Error
Send SMS
SMS
Relative URL: Integra/resources/SMS/SendSMS
Method: POST
content-type:application/x-www-form-urlencoded; charset=UTF-8
Params: destination (Number of the sms destination)
message (Text message)
campaign (Outbound campaign)
agent (Sender Agent)
Result: TEXT OK
ERROR
Tag Record
Generate Report
JSON Object
{"name":"Breaks Totales", //Name of the report
"file":"TiemposPausaBreakePorAgente.jrxml", // jrxml file
"description":"Breaks Totales", //Description
"dsn":"Repo", // Data source name
"parameters":"INITIAL_DATE=Timestamp=2015-11-03 00:00:00;FINAL_DATE=Timestamp=2015-11-03 3:59:59;REPORT_LOCALE=Locale=es;AGENT=Agent='Admin',,'Agente1','Agente10','Agente11',",
//Report parameters type and value for generation.
"grouped":"Agentes", //group
"language":"es", //language
"license":"CCS"}
Report URL
http://Server/tmp/69d1f895-7f5f-42d6-9d84-dd7dad559304.pdf
Or the extension you generated xlsx, docx, pdf, csv, txt, html
Close Form
From an Iframe inside uContact
parent.closeActiveTab();
Dialers
CTI
This JSON object is found on LocalStorage and encrypted, this has the information of the Answered Call and if is From a Dialer all the information of the Next alternative phone to Respool.
RESPOOL CALL
JSON Object
SCHEDULE CALL