Evo Voice

<back to all web services

EndTwilioCall

Ends the specified Twilio call

Requires Authentication
Requires any of the roles:Manager, SystemAdministrator
The following routes are available for this service:
DELETE/twilio/calls/{callSid}
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Voice.Api.Twilio

Namespace Global

    Namespace Voice.Api.Twilio

        '''<Summary>
        '''Ends the specified Twilio call
        '''</Summary>
        <Api(Description:="Ends the specified Twilio call")>
        Public Partial Class EndTwilioCall
            Implements IDelete
            '''<Summary>
            '''The account ID that owns the call
            '''</Summary>
            <ApiMember(Description:="The account ID that owns the call")>
            Public Overridable Property AccountId As String

            '''<Summary>
            '''The call SID of the call
            '''</Summary>
            <ApiMember(Description:="The call SID of the call")>
            Public Overridable Property CallSid As String
        End Class
    End Namespace
End Namespace

VB.NET EndTwilioCall DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

DELETE /twilio/calls/{callSid} HTTP/1.1 
Host: evovoice.io 
Accept: text/jsv