Evo Voice

<back to all web services

CogitoRecordCallRequest

The following routes are available for this service:
All Verbs/nodes/cogito/call-recording
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class CogitoRecordCallRequest
{
    open var sessionId:String? = null
    open var callSid:String? = null
    open var fileName:String? = null
}

open class CogitoRecordCallResponse
{
    open var uri:String? = null
}

Kotlin CogitoRecordCallRequest DTOs

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

HTTP + OTHER

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

POST /nodes/cogito/call-recording HTTP/1.1 
Host: evovoice.io 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"sessionId":"String","callSid":"String","fileName":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"uri":"String"}