POST api/MakeCall/

TypeAPI MethodDescription
POSThttp://login.sendservice.eu/MultiChannelapi/api/MakeCallBegin a new Call Center call
POSThttp://login.sendservice.eu/MultiChannelapi/api/HangupHangup a Call Center call

POST api/MakeCall

Begin a new Call Center call with an Operator.

The Operator must have his softphone configured with his credentials. For more information visit: Configurazione Softphone

Parameters

ParametersDescriptionObject/Right formatRequired
userIt represents required object for the authorization  

"User": {

"username": "your username",
"password": "your password"
}
yes
OperatorUsernameUsername of the Call Center OperatorStringyes
NumberToCallPhone Number wich will be calledString (with international prefix)yes
Guid (on response)Univoque identifier of your callString

Example Application/json or Text/json

Application/Json or Text/Json
{
"User": {
"username": "useradmin",
"password": "passadmin"
},
"OperatorUsername": "operatorUsername",
"NumberToCall": "00390299393848"
}

Example Response


Application/Json or Text/Json
"{\"Extension\":\"0000000569\",
\"Guid\":\"4927c93c-45cd-4fd3-9a67-3e0c0a314cde\"}"

POST api/Hangup

Hangup a Call Center call

URL: http://login.sendservice.eu/MultiChannelapi/api/Hangup

Parameters

ParametersDescriptionObject/Right formatRequired
userIt represents required object for the authorization  

"User": {

"username": "your username",
"password": "your password"
}
yes
ExtensionExtension of the Call Center CallStringyes

Example Application/json or Text/json

Application/Json or Text/Json
{
  "User": {
    "username": "useradmin",
    "password": "passadmin"
  },
  "Extension": "0000000111"
}