<back to all web services

CommentsBatchDeleteRequest

The following routes are available for this service:
DELETE/RestApi/comments-api/comments/list
import 'package:servicestack/servicestack.dart';

class CommentsBatchDeleteRequest implements IConvertible
{
    List<String>? Key;

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

    fromMap(Map<String, dynamic> json) {
        Key = JsonConverters.fromJson(json['Key'],'List<String>',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Key': JsonConverters.toJson(Key,'List<String>',context!)
    };

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

TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: <String, TypeInfo> {
    'CommentsBatchDeleteRequest': TypeInfo(TypeOf.Class, create:() => CommentsBatchDeleteRequest()),
});

Dart CommentsBatchDeleteRequest 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.

DELETE /RestApi/comments-api/comments/list HTTP/1.1 
Host: www.asg.com.au 
Accept: text/jsonl