<back to all web services

DeleteAllTests

The following routes are available for this service:
DELETE/RestApi/ab-testing/tests/all
import 'package:servicestack/servicestack.dart';

class DeleteAllTests implements IConvertible
{
    bool? SkipSyncToDEC;

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

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

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

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

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

Dart DeleteAllTests DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

DELETE /RestApi/ab-testing/tests/all HTTP/1.1 
Host: www.asg.com.au 
Accept: application/json