RESPONSE api/InstantCall/

Returns the status of one or more Calls.



GET https://login.sendservice.eu/MultiChannelAPI/Api/instantCall/

URL Request: http://login.sendservice.eu/MultiChannelAPI/Api/instantCall/

Returns the statuses of more calls, it use GET request.

ParameterDescriptionRequired
GuidYour account Guidyes
CodeRequests

Array of voice CodeRequests

yes
Example Application/json, Text/json
{
"Type": "CR",
	"Guid": "d7d94584-83df-11e1-9c4c-002590526dd8",
	"CodeRequests": ["1a16cc39-23bc-407b-b4b8-4a4e129337f6","2b1e0948-a844-4613-bc33-c1cda389c274"]
}


GET /instantCall/{id}/{Status}

URL Request: http://login.sendservice.eu/MultiChannelAPI/Api/instantCall/{id}

or filtered by status

URL Request: http://login.sendservice.eu/MultiChannelAPI/Api/instantCall/{id}/{Status}

Url Parameters

ParameterDescriptionRequired
ID

It is the ID of your Voice request

yes
StatusThe status of voice you want filter in your requestno

Response Parameters

Response are an array with InstantCalls objects which has parameters describe in next table. The other parameter, are defined in the InstantCall request.

PARAMETERS
DESCRIPTION
TYPE
IDThe ID generated by the platformInteger
NumbertocallNumber of wich was calledstring
Extensionthe Extension of the IVRinteger
IntervalCallTime for generate the originate + Phone RingingInteger
StartDateTimeCallDate/Time of the call answeraaaa-MM-ggThh:mm:ss.SSS+UTC
EndDateTimeCallDate/Time of the call hangupaaaa-MM-ggThh:mm:ss.SSS+UTC
InputDigits

What the reciever digits on his phone during the call

integer
PriceThe price of the calldecimal

PricePerMinute

Price for instant calls decimal

Retries

Number of retries of the callinteger

Start Price

Default price for the calldecimal

Status

Status of the callString

Example Application/json

Example Application/json, Text/json
{
    "InstantCalls": [
        {
            "Id": 36575,
            "NumberToCall": "0039....",
            "Extension": 200938,
            "StartDate": "2018-04-02T10:00:00+02:00",
            "EndDate": "2018-04-02T22:00:00+02:00",
            "Status": 5,
            "InputDigits": "1",
            "Price": 0.075,
            "DateCall": "2018-04-02T19:33:07",
            "StartDateTimeCall": "2018-04-02T19:33:23",
            "EndDateTimeCall": "2018-04-02T19:33:53",
            "StartPrice": 0,
            "PricePerMinute": 0.0375,
            "Type": 4,
            "MaxRetries": 3,
            "Retries": 1,
            "MinutesBetweenRetries": 15,
            "IVRRepeats": 3,
            "TextToSpeech": "Gentile Cliente, SENDService Le augura Buona Giornata",
            "IntervalCall": 60,
            "CallerId": "39....",
            "LanguageCode": "it-it-m1",
            "CodeRequest": "1223654058100000"
        }
    ]
}