/
Examples
Examples
Remember that to use the API you need
Authenticate and get a token for the session
Use the token in the Header Authorization
End session
In the examples:
We will use āBasic XXXX
ā as APIKey
We will use "252.ucontactcloud.com
" as the Relative URL
UserLogin
Ā
UserLoging JS
var settings = {
"async": true,
"crossDomain": true,
"url": "https://dominio.ucontactcloud.com/Integra/resources/auth/UserLogin",
"method": "POST",
"headers": {
"cache-control": "no-cache",
"content-type": "application/x-www-form-urlencoded"
},
"data": {
"user": "Agente1",
"password": "123"
}
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Ā
UserLoging C#
var client = new RestClient("https://dominio.ucontactcloud.com/Integra/resources/auth/UserLogin");
var request = new RestRequest(Method.POST);
request.AddHeader("cache-control", "no-cache");
request.AddHeader("content-type", "application/x-www-form-urlencoded");
request.AddParameter("application/x-www-form-urlencoded", "user=Agente1&password=123", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Ā
UserLoging cURL
curl -X POST \
https://dominio.ucontactcloud.com/Integra/resources/auth/UserLogin \
-H 'cache-control: no-cache' \
-H 'content-type: application/x-www-form-urlencoded' \
-d 'user=Agente1&password=123'
Ā
UserLoging JAVA
Ā
Upload contact list to Dialer
UploadBase JS
Ā
UploadBase C#
Ā
UploadBase cURL
Ā
UploadBase JAVA
Start an outgoing call
AgentCall JS
Ā
AgentCall C#
Ā
AgentCall cURL
Ā
AgentCall JAVA
Ā
Schedule call
Json object
Ā
ScheduleDialerCall JS
Ā
ScheduleDialerCall C#
Ā
ScheduleDialerCall cURL
Ā
ScheduleDialerCall JAVA
Ā
Respool call
Ā
Respool JS
Ā
Respool C#
Ā
Respool cURL
Ā
Respool JAVA
Ā
Ā
, multiple selections available,