FIBUdataServiceStack

<back to all web services

OnlinehandelAbrechnungWiederherstellenRequest

The following routes are available for this service:
GET, POST/fibuscan/Onlinehandel/AbrechnungWiederherstellen
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

class OnlinehandelAbrechnungWiederherstellenResponse implements IConvertible
{
    bool? Result;
    List<String>? NotAllowedToDelete;

    OnlinehandelAbrechnungWiederherstellenResponse({this.Result,this.NotAllowedToDelete});
    OnlinehandelAbrechnungWiederherstellenResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

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

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

class OnlinehandelAbrechnungWiederherstellenRequest implements IConvertible
{
    List<String>? GuidListe;
    bool? endgueltig_loeschen;

    OnlinehandelAbrechnungWiederherstellenRequest({this.GuidListe,this.endgueltig_loeschen});
    OnlinehandelAbrechnungWiederherstellenRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

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

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

TypeContext _ctx = TypeContext(library: 'ws4.fibudata.net', types: <String, TypeInfo> {
    'OnlinehandelAbrechnungWiederherstellenResponse': TypeInfo(TypeOf.Class, create:() => OnlinehandelAbrechnungWiederherstellenResponse()),
    'OnlinehandelAbrechnungWiederherstellenRequest': TypeInfo(TypeOf.Class, create:() => OnlinehandelAbrechnungWiederherstellenRequest()),
});

Dart OnlinehandelAbrechnungWiederherstellenRequest DTOs

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

HTTP + JSV

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

POST /fibuscan/Onlinehandel/AbrechnungWiederherstellen HTTP/1.1 
Host: ws4.fibudata.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	GuidListe: 
	[
		String
	],
	endgueltig_loeschen: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Result: False,
	NotAllowedToDelete: 
	[
		String
	]
}