| All Verbs | /nodes/cogito/call-recording |
|---|
export class NodeParameterMap
{
[key:string] : NodeParameter;
public constructor(init?: Partial<NodeParameterMap>) { (Object as any).assign(this, init); }
}
export class CogitoRecordCallRequest
{
public sessionId: string;
public callSid: string;
public fileName: string;
public constructor(init?: Partial<CogitoRecordCallRequest>) { (Object as any).assign(this, init); }
}
export class CogitoRecordCallResponse
{
public uri: string;
public constructor(init?: Partial<CogitoRecordCallResponse>) { (Object as any).assign(this, init); }
}
TypeScript CogitoRecordCallRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
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/csv
Content-Type: text/csv
Content-Length: length
{"sessionId":"String","callSid":"String","fileName":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"uri":"String"}