Evo Voice

<back to all web services

DeleteConversation

Requires Authentication
The following routes are available for this service:
DELETE/conversations/{conversationId}
import 'package:servicestack/servicestack.dart';

class DeleteConversation implements IConvertible
{
    String? conversationId;

    DeleteConversation({this.conversationId});
    DeleteConversation.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        conversationId = json['conversationId'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'conversationId': conversationId
    };

    getTypeName() => "DeleteConversation";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'evovoice.io', types: <String, TypeInfo> {
    'DeleteConversation': TypeInfo(TypeOf.Class, create:() => DeleteConversation()),
});

Dart DeleteConversation 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 /conversations/{conversationId} HTTP/1.1 
Host: evovoice.io 
Accept: text/csv