FIBUdataServiceStack

<back to all web services

OnlinehandelTrefferAufhebenRequest

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

class OnlinehandelModel implements IConvertible
{
    double? Zahlbetrag;
    DateTime? Datum;
    String? Treffertyp;
    String? OrderID;
    List<OnlinehandelModel>? lstTreffer;
    String? ID;
    String? ID1;
    String? Buchungstext;
    String? Zahlsystem;
    String? Sonstiges;
    String? Treffer;
    String? ÜbrigeDaten;
    bool? hasTreffer;
    String? Geparsed_guid;
    String? Fileguid;
    int? OnlinehandelDateiID;
    int? OnlinehandelTalkID;
    String? DateiName;
    int? ZeilNummer;
    String? Dateiname;
    String? dateitype;
    int? DBDateitype;
    int? LetzteDateiId;
    int? TrefferStelle;
    String? TrefferInfo;
    String? Volltext;

    OnlinehandelModel({this.Zahlbetrag,this.Datum,this.Treffertyp,this.OrderID,this.lstTreffer,this.ID,this.ID1,this.Buchungstext,this.Zahlsystem,this.Sonstiges,this.Treffer,this.ÜbrigeDaten,this.hasTreffer,this.Geparsed_guid,this.Fileguid,this.OnlinehandelDateiID,this.OnlinehandelTalkID,this.DateiName,this.ZeilNummer,this.Dateiname,this.dateitype,this.DBDateitype,this.LetzteDateiId,this.TrefferStelle,this.TrefferInfo,this.Volltext});
    OnlinehandelModel.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Zahlbetrag = JsonConverters.toDouble(json['Zahlbetrag']);
        Datum = JsonConverters.fromJson(json['Datum'],'DateTime',context!);
        Treffertyp = json['Treffertyp'];
        OrderID = json['OrderID'];
        lstTreffer = JsonConverters.fromJson(json['lstTreffer'],'List<OnlinehandelModel>',context!);
        ID = json['ID'];
        ID1 = json['ID1'];
        Buchungstext = json['Buchungstext'];
        Zahlsystem = json['Zahlsystem'];
        Sonstiges = json['Sonstiges'];
        Treffer = json['Treffer'];
        ÜbrigeDaten = json['ÜbrigeDaten'];
        hasTreffer = json['hasTreffer'];
        Geparsed_guid = json['Geparsed_guid'];
        Fileguid = json['Fileguid'];
        OnlinehandelDateiID = json['OnlinehandelDateiID'];
        OnlinehandelTalkID = json['OnlinehandelTalkID'];
        DateiName = json['DateiName'];
        ZeilNummer = json['ZeilNummer'];
        Dateiname = json['Dateiname'];
        dateitype = json['dateitype'];
        DBDateitype = json['DBDateitype'];
        LetzteDateiId = json['LetzteDateiId'];
        TrefferStelle = json['TrefferStelle'];
        TrefferInfo = json['TrefferInfo'];
        Volltext = json['Volltext'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Zahlbetrag': Zahlbetrag,
        'Datum': JsonConverters.toJson(Datum,'DateTime',context!),
        'Treffertyp': Treffertyp,
        'OrderID': OrderID,
        'lstTreffer': JsonConverters.toJson(lstTreffer,'List<OnlinehandelModel>',context!),
        'ID': ID,
        'ID1': ID1,
        'Buchungstext': Buchungstext,
        'Zahlsystem': Zahlsystem,
        'Sonstiges': Sonstiges,
        'Treffer': Treffer,
        'ÜbrigeDaten': ÜbrigeDaten,
        'hasTreffer': hasTreffer,
        'Geparsed_guid': Geparsed_guid,
        'Fileguid': Fileguid,
        'OnlinehandelDateiID': OnlinehandelDateiID,
        'OnlinehandelTalkID': OnlinehandelTalkID,
        'DateiName': DateiName,
        'ZeilNummer': ZeilNummer,
        'Dateiname': Dateiname,
        'dateitype': dateitype,
        'DBDateitype': DBDateitype,
        'LetzteDateiId': LetzteDateiId,
        'TrefferStelle': TrefferStelle,
        'TrefferInfo': TrefferInfo,
        'Volltext': Volltext
    };

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

class onlinehandel_treffertypen implements IPrimaryKey, IMandnr, IDel, ITableBase, IConvertible
{
    int? id;
    String? guid;
    int? mandant;
    int? del;
    int? parent_id;
    int? soll_parsen;
    String? bezeichnung;
    DateTime? _erstellt;
    DateTime? _aenderung;
    int? suchfeld1;
    String? suchfeld1_text;
    int? suchfeld2;
    String? suchfeld2_text;
    // @Ignore()
    int? PrimaryKey;

    onlinehandel_treffertypen({this.id,this.guid,this.mandant,this.del,this.parent_id,this.soll_parsen,this.bezeichnung,this._erstellt,this._aenderung,this.suchfeld1,this.suchfeld1_text,this.suchfeld2,this.suchfeld2_text,this.PrimaryKey});
    onlinehandel_treffertypen.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        id = json['id'];
        guid = json['guid'];
        mandant = json['mandant'];
        del = json['del'];
        parent_id = json['parent_id'];
        soll_parsen = json['soll_parsen'];
        bezeichnung = json['bezeichnung'];
        _erstellt = JsonConverters.fromJson(json['_erstellt'],'DateTime',context!);
        _aenderung = JsonConverters.fromJson(json['_aenderung'],'DateTime',context!);
        suchfeld1 = json['suchfeld1'];
        suchfeld1_text = json['suchfeld1_text'];
        suchfeld2 = json['suchfeld2'];
        suchfeld2_text = json['suchfeld2_text'];
        PrimaryKey = json['PrimaryKey'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'id': id,
        'guid': guid,
        'mandant': mandant,
        'del': del,
        'parent_id': parent_id,
        'soll_parsen': soll_parsen,
        'bezeichnung': bezeichnung,
        '_erstellt': JsonConverters.toJson(_erstellt,'DateTime',context!),
        '_aenderung': JsonConverters.toJson(_aenderung,'DateTime',context!),
        'suchfeld1': suchfeld1,
        'suchfeld1_text': suchfeld1_text,
        'suchfeld2': suchfeld2,
        'suchfeld2_text': suchfeld2_text,
        'PrimaryKey': PrimaryKey
    };

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

class OnlinehandelTreffertypen implements IConvertible
{
    onlinehandel_treffertypen? data;
    int? anzahl;
    bool? isEnum;
    double? Quote;

    OnlinehandelTreffertypen({this.data,this.anzahl,this.isEnum,this.Quote});
    OnlinehandelTreffertypen.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        data = JsonConverters.fromJson(json['data'],'onlinehandel_treffertypen',context!);
        anzahl = json['anzahl'];
        isEnum = json['isEnum'];
        Quote = JsonConverters.toDouble(json['Quote']);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'data': JsonConverters.toJson(data,'onlinehandel_treffertypen',context!),
        'anzahl': anzahl,
        'isEnum': isEnum,
        'Quote': Quote
    };

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

class OnlinehandelTrefferAufhebenResponse implements IConvertible
{
    List<OnlinehandelModel>? onlineHandelModel;
    List<OnlinehandelTreffertypen>? alleDictionaryitems;

    OnlinehandelTrefferAufhebenResponse({this.onlineHandelModel,this.alleDictionaryitems});
    OnlinehandelTrefferAufhebenResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

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

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

class OnlinehandelTrefferAufhebenRequest implements IConvertible
{
    String? guid;
    List<int>? ZeileIndexes;
    List<String>? FileGuids;

    OnlinehandelTrefferAufhebenRequest({this.guid,this.ZeileIndexes,this.FileGuids});
    OnlinehandelTrefferAufhebenRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

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

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

TypeContext _ctx = TypeContext(library: 'ws4.fibudata.net', types: <String, TypeInfo> {
    'OnlinehandelModel': TypeInfo(TypeOf.Class, create:() => OnlinehandelModel()),
    'List<OnlinehandelModel>': TypeInfo(TypeOf.Class, create:() => <OnlinehandelModel>[]),
    'onlinehandel_treffertypen': TypeInfo(TypeOf.Class, create:() => onlinehandel_treffertypen()),
    'OnlinehandelTreffertypen': TypeInfo(TypeOf.Class, create:() => OnlinehandelTreffertypen()),
    'OnlinehandelTrefferAufhebenResponse': TypeInfo(TypeOf.Class, create:() => OnlinehandelTrefferAufhebenResponse()),
    'List<OnlinehandelTreffertypen>': TypeInfo(TypeOf.Class, create:() => <OnlinehandelTreffertypen>[]),
    'OnlinehandelTrefferAufhebenRequest': TypeInfo(TypeOf.Class, create:() => OnlinehandelTrefferAufhebenRequest()),
});

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

{
	guid: String,
	ZeileIndexes: 
	[
		0
	],
	FileGuids: 
	[
		String
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	onlineHandelModel: 
	[
		{
			Zahlbetrag: 0,
			Datum: 0001-01-01,
			Treffertyp: String,
			OrderID: String,
			lstTreffer: 
			[
				{
					Zahlbetrag: 0,
					Datum: 0001-01-01,
					Treffertyp: String,
					OrderID: String,
					lstTreffer: 
					[
						{
							Zahlbetrag: 0,
							Datum: 0001-01-01,
							Treffertyp: String,
							OrderID: String,
							ID: String,
							ID1: String,
							Buchungstext: String,
							Zahlsystem: String,
							Sonstiges: String,
							Treffer: String,
							ÜbrigeDaten: String,
							hasTreffer: False,
							Geparsed_guid: String,
							Fileguid: String,
							OnlinehandelDateiID: 0,
							OnlinehandelTalkID: 0,
							DateiName: String,
							ZeilNummer: 0,
							Dateiname: String,
							dateitype: String,
							DBDateitype: 0,
							LetzteDateiId: 0,
							TrefferStelle: 0,
							TrefferInfo: String,
							Volltext: String
						}
					],
					ID: String,
					ID1: String,
					Buchungstext: String,
					Zahlsystem: String,
					Sonstiges: String,
					Treffer: String,
					ÜbrigeDaten: String,
					hasTreffer: False,
					Geparsed_guid: String,
					Fileguid: String,
					OnlinehandelDateiID: 0,
					OnlinehandelTalkID: 0,
					DateiName: String,
					ZeilNummer: 0,
					Dateiname: String,
					dateitype: String,
					DBDateitype: 0,
					LetzteDateiId: 0,
					TrefferStelle: 0,
					TrefferInfo: String,
					Volltext: String
				}
			],
			ID: String,
			ID1: String,
			Buchungstext: String,
			Zahlsystem: String,
			Sonstiges: String,
			Treffer: String,
			ÜbrigeDaten: String,
			hasTreffer: False,
			Geparsed_guid: String,
			Fileguid: String,
			OnlinehandelDateiID: 0,
			OnlinehandelTalkID: 0,
			DateiName: String,
			ZeilNummer: 0,
			Dateiname: String,
			dateitype: String,
			DBDateitype: 0,
			LetzteDateiId: 0,
			TrefferStelle: 0,
			TrefferInfo: String,
			Volltext: String
		}
	],
	alleDictionaryitems: 
	[
		{
			data: 
			{
				id: 0,
				guid: String,
				mandant: 0,
				del: 0,
				parent_id: 0,
				soll_parsen: 0,
				bezeichnung: String,
				_erstellt: 0001-01-01,
				_aenderung: 0001-01-01,
				suchfeld1: 0,
				suchfeld1_text: String,
				suchfeld2: 0,
				suchfeld2_text: String,
				PrimaryKey: 0
			},
			anzahl: 0,
			isEnum: False,
			Quote: 0
		}
	]
}