DELETE | /conversations/{conversationId} |
---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
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: 'team.evovoice.io', types: <String, TypeInfo> {
'DeleteConversation': TypeInfo(TypeOf.Class, create:() => DeleteConversation()),
});
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.
DELETE /conversations/{conversationId} HTTP/1.1 Host: team.evovoice.io Accept: text/jsv