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.
Parameter | Description | Required |
---|---|---|
Guid | Your account Guid | yes |
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
Parameter | Description | Required |
---|---|---|
ID | It is the ID of your Voice request | yes |
Status | The status of voice you want filter in your request | no |
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 |
---|---|---|
ID | The ID generated by the platform | Integer |
Numbertocall | Number of wich was called | string |
Extension | the Extension of the IVR | integer |
IntervalCall | Time for generate the originate + Phone Ringing | Integer |
StartDateTimeCall | Date/Time of the call answer | aaaa-MM-ggThh:mm:ss.SSS+UTC |
EndDateTimeCall | Date/Time of the call hangup | aaaa-MM-ggThh:mm:ss.SSS+UTC |
InputDigits | What the reciever digits on his phone during the call | integer |
Price | The price of the call | decimal |
PricePerMinute | Price for instant calls | decimal |
Retries | Number of retries of the call | integer |
Start Price | Default price for the call | decimal |
Status of the call | String |
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" } ] }