| All Verbs | /nodes/cogito/call-recording |
|---|
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Voice.Api.Nodes.AI;
namespace Voice.Api.Nodes.AI
{
public partial class CogitoRecordCallRequest
{
public virtual string SessionId { get; set; }
public virtual string CallSid { get; set; }
public virtual string FileName { get; set; }
}
public partial class CogitoRecordCallResponse
{
public virtual string Uri { get; set; }
}
}
C# CogitoRecordCallRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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/jsv
Content-Type: text/jsv
Content-Length: length
{
sessionId: String,
callSid: String,
fileName: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
uri: String
}