FIBUdataServiceStack

<back to all web services

OnlinehandelBereinigenRequest

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

class fehler_log implements IPrimaryKey, IMandnr, ITableBase, IConvertible
{
    int? id;
    int? mandant;
    int? nutzerid;
    String? stufe;
    String? modul;
    String? funktion;
    String? meldung;
    DateTime? _erstellt;
    DateTime? _aenderung;
    // @Ignore()
    int? PrimaryKey;

    fehler_log({this.id,this.mandant,this.nutzerid,this.stufe,this.modul,this.funktion,this.meldung,this._erstellt,this._aenderung,this.PrimaryKey});
    fehler_log.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        id = json['id'];
        mandant = json['mandant'];
        nutzerid = json['nutzerid'];
        stufe = json['stufe'];
        modul = json['modul'];
        funktion = json['funktion'];
        meldung = json['meldung'];
        _erstellt = JsonConverters.fromJson(json['_erstellt'],'DateTime',context!);
        _aenderung = JsonConverters.fromJson(json['_aenderung'],'DateTime',context!);
        PrimaryKey = json['PrimaryKey'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'id': id,
        'mandant': mandant,
        'nutzerid': nutzerid,
        'stufe': stufe,
        'modul': modul,
        'funktion': funktion,
        'meldung': meldung,
        '_erstellt': JsonConverters.toJson(_erstellt,'DateTime',context!),
        '_aenderung': JsonConverters.toJson(_aenderung,'DateTime',context!),
        'PrimaryKey': PrimaryKey
    };

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

class FehlerLogResponse implements IConvertible
{
    List<fehler_log>? FehlerLogListe;

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

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

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

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

class OnlinehandelBereinigenRequest implements IConvertible
{
    OnlinehandelBereinigenRequest();
    OnlinehandelBereinigenRequest.fromJson(Map<String, dynamic> json) : super();
    fromMap(Map<String, dynamic> json) {
        return this;
    }

    Map<String, dynamic> toJson() => {};
    getTypeName() => "OnlinehandelBereinigenRequest";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'ws4.fibudata.net', types: <String, TypeInfo> {
    'fehler_log': TypeInfo(TypeOf.Class, create:() => fehler_log()),
    'FehlerLogResponse': TypeInfo(TypeOf.Class, create:() => FehlerLogResponse()),
    'List<fehler_log>': TypeInfo(TypeOf.Class, create:() => <fehler_log>[]),
    'OnlinehandelBereinigenRequest': TypeInfo(TypeOf.Class, create:() => OnlinehandelBereinigenRequest()),
});

Dart OnlinehandelBereinigenRequest 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/bereinigen HTTP/1.1 
Host: ws4.fibudata.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	FehlerLogListe: 
	[
		{
			id: 0,
			mandant: 0,
			nutzerid: 0,
			stufe: String,
			modul: String,
			funktion: String,
			meldung: String,
			_erstellt: 0001-01-01,
			_aenderung: 0001-01-01,
			PrimaryKey: 0
		}
	]
}