b. API Actions v5



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

 



JSON Object





UPLOAD CALLS BASE 



File Format



SCHEDULE SMS





JSON Object





Upload SMS base






File Format



Delete Contact from Dialer

Delete Dialer Contact