<back to all web services

ExportForArchiveConfigurationMessage

The following routes are available for this service:
POST/RestApi/Sitefinity/packaging/archive
import 'package:servicestack/servicestack.dart';

class ExportForArchiveConfigurationMessage implements IConvertible
{
    List<String>? StructureExportConfiguration;
    List<String>? ContentExportConfiguration;

    ExportForArchiveConfigurationMessage({this.StructureExportConfiguration,this.ContentExportConfiguration});
    ExportForArchiveConfigurationMessage.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

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

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

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

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

POST /RestApi/Sitefinity/packaging/archive HTTP/1.1 
Host: www.asg.com.au 
Accept: application/json
Content-Type: application/json
Content-Length: length

{}