Evo Voice

<back to all web services

DeleteSessions

Clears out sessions.

The following routes are available for this service:
DELETE/sessions
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Voice.Api.Sessions

Namespace Global

    Namespace Voice.Api.Sessions

        '''<Summary>
        '''Clears out sessions.
        '''</Summary>
        <Api(Description:="Clears out sessions.")>
        Public Partial Class DeleteSessions
            Implements IDelete
            '''<Summary>
            '''The account ID you are clearing out
            '''</Summary>
            <ApiMember(Description:="The account ID you are clearing out")>
            Public Overridable Property AccountId As String

            '''<Summary>
            '''The start date to delete from in ISO8601
            '''</Summary>
            <ApiMember(Description:="The start date to delete from in ISO8601")>
            Public Overridable Property StartDateTime As String

            '''<Summary>
            '''The end date to delete from in ISO8601
            '''</Summary>
            <ApiMember(Description:="The end date to delete from in ISO8601")>
            Public Overridable Property EndDateTime As String
        End Class
    End Namespace
End Namespace

VB.NET DeleteSessions DTOs

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

HTTP + CSV

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

DELETE /sessions HTTP/1.1 
Host: evovoice.io 
Accept: text/csv