| GET, POST | /fibuscan/Onlinehandel/DateiDictionaryLaden |
|---|
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 OnlinehandelDateiDictionaryLadenResponse implements IConvertible
{
List<OnlinehandelModel>? onlineHandelModel;
bool? mehrAlsAnzahl;
String? PostionenAnzahl;
List<OnlinehandelTreffertypen>? alleDictionaryitems;
Uint8List? CsvDatei;
Map<String,int?>? Dic_zahlSystem;
OnlinehandelDateiDictionaryLadenResponse({this.onlineHandelModel,this.mehrAlsAnzahl,this.PostionenAnzahl,this.alleDictionaryitems,this.CsvDatei,this.Dic_zahlSystem});
OnlinehandelDateiDictionaryLadenResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
onlineHandelModel = JsonConverters.fromJson(json['onlineHandelModel'],'List<OnlinehandelModel>',context!);
mehrAlsAnzahl = json['mehrAlsAnzahl'];
PostionenAnzahl = json['PostionenAnzahl'];
alleDictionaryitems = JsonConverters.fromJson(json['alleDictionaryitems'],'List<OnlinehandelTreffertypen>',context!);
CsvDatei = JsonConverters.fromJson(json['CsvDatei'],'Uint8List',context!);
Dic_zahlSystem = JsonConverters.fromJson(json['Dic_zahlSystem'],'Map<String,int?>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'onlineHandelModel': JsonConverters.toJson(onlineHandelModel,'List<OnlinehandelModel>',context!),
'mehrAlsAnzahl': mehrAlsAnzahl,
'PostionenAnzahl': PostionenAnzahl,
'alleDictionaryitems': JsonConverters.toJson(alleDictionaryitems,'List<OnlinehandelTreffertypen>',context!),
'CsvDatei': JsonConverters.toJson(CsvDatei,'Uint8List',context!),
'Dic_zahlSystem': JsonConverters.toJson(Dic_zahlSystem,'Map<String,int?>',context!)
};
getTypeName() => "OnlinehandelDateiDictionaryLadenResponse";
TypeContext? context = _ctx;
}
class OnlinehandelDateiDictionaryLadenRequest implements IConvertible
{
String? guid;
bool? chkZuordnung;
List<int>? lstFilters;
List<String>? lstZahlSystemFilter;
int? datensaetzeanzahl;
DateTime? VonDatum;
DateTime? BisDatum;
String? volltext;
List<String>? DateiFilter_guid;
List<String>? sonstigesDateien_guid;
bool? isDownload;
String? betragsabweichungStr;
int? zahlsystem_count;
int? treffertyp_count;
int? dateien_count;
List<int>? einschlussZeilenList;
OnlinehandelDateiDictionaryLadenRequest({this.guid,this.chkZuordnung,this.lstFilters,this.lstZahlSystemFilter,this.datensaetzeanzahl,this.VonDatum,this.BisDatum,this.volltext,this.DateiFilter_guid,this.sonstigesDateien_guid,this.isDownload,this.betragsabweichungStr,this.zahlsystem_count,this.treffertyp_count,this.dateien_count,this.einschlussZeilenList});
OnlinehandelDateiDictionaryLadenRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
guid = json['guid'];
chkZuordnung = json['chkZuordnung'];
lstFilters = JsonConverters.fromJson(json['lstFilters'],'List<int>',context!);
lstZahlSystemFilter = JsonConverters.fromJson(json['lstZahlSystemFilter'],'List<String>',context!);
datensaetzeanzahl = json['datensaetzeanzahl'];
VonDatum = JsonConverters.fromJson(json['VonDatum'],'DateTime',context!);
BisDatum = JsonConverters.fromJson(json['BisDatum'],'DateTime',context!);
volltext = json['volltext'];
DateiFilter_guid = JsonConverters.fromJson(json['DateiFilter_guid'],'List<String>',context!);
sonstigesDateien_guid = JsonConverters.fromJson(json['sonstigesDateien_guid'],'List<String>',context!);
isDownload = json['isDownload'];
betragsabweichungStr = json['betragsabweichungStr'];
zahlsystem_count = json['zahlsystem_count'];
treffertyp_count = json['treffertyp_count'];
dateien_count = json['dateien_count'];
einschlussZeilenList = JsonConverters.fromJson(json['einschlussZeilenList'],'List<int>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'guid': guid,
'chkZuordnung': chkZuordnung,
'lstFilters': JsonConverters.toJson(lstFilters,'List<int>',context!),
'lstZahlSystemFilter': JsonConverters.toJson(lstZahlSystemFilter,'List<String>',context!),
'datensaetzeanzahl': datensaetzeanzahl,
'VonDatum': JsonConverters.toJson(VonDatum,'DateTime',context!),
'BisDatum': JsonConverters.toJson(BisDatum,'DateTime',context!),
'volltext': volltext,
'DateiFilter_guid': JsonConverters.toJson(DateiFilter_guid,'List<String>',context!),
'sonstigesDateien_guid': JsonConverters.toJson(sonstigesDateien_guid,'List<String>',context!),
'isDownload': isDownload,
'betragsabweichungStr': betragsabweichungStr,
'zahlsystem_count': zahlsystem_count,
'treffertyp_count': treffertyp_count,
'dateien_count': dateien_count,
'einschlussZeilenList': JsonConverters.toJson(einschlussZeilenList,'List<int>',context!)
};
getTypeName() => "OnlinehandelDateiDictionaryLadenRequest";
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()),
'OnlinehandelDateiDictionaryLadenResponse': TypeInfo(TypeOf.Class, create:() => OnlinehandelDateiDictionaryLadenResponse()),
'List<OnlinehandelTreffertypen>': TypeInfo(TypeOf.Class, create:() => <OnlinehandelTreffertypen>[]),
'Uint8List': TypeInfo(TypeOf.Class, create:() => Uint8List(0)),
'Map<String,int?>': TypeInfo(TypeOf.Class, create:() => Map<String,int?>()),
'OnlinehandelDateiDictionaryLadenRequest': TypeInfo(TypeOf.Class, create:() => OnlinehandelDateiDictionaryLadenRequest()),
});
Dart OnlinehandelDateiDictionaryLadenRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /fibuscan/Onlinehandel/DateiDictionaryLaden HTTP/1.1
Host: ws4.fibudata.net
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<OnlinehandelDateiDictionaryLadenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
<BisDatum>0001-01-01T00:00:00</BisDatum>
<DateiFilter_guid xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</DateiFilter_guid>
<VonDatum>0001-01-01T00:00:00</VonDatum>
<betragsabweichungStr>String</betragsabweichungStr>
<chkZuordnung>false</chkZuordnung>
<dateien_count>0</dateien_count>
<datensaetzeanzahl>0</datensaetzeanzahl>
<einschlussZeilenList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>0</d2p1:long>
</einschlussZeilenList>
<guid>String</guid>
<isDownload>false</isDownload>
<lstFilters xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>0</d2p1:int>
</lstFilters>
<lstZahlSystemFilter xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</lstZahlSystemFilter>
<sonstigesDateien_guid xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</sonstigesDateien_guid>
<treffertyp_count>0</treffertyp_count>
<volltext>String</volltext>
<zahlsystem_count>0</zahlsystem_count>
</OnlinehandelDateiDictionaryLadenRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<OnlinehandelDateiDictionaryLadenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
<CsvDatei>AA==</CsvDatei>
<Dic_zahlSystem xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringlong>
<d2p1:Key>String</d2p1:Key>
<d2p1:Value>0</d2p1:Value>
</d2p1:KeyValueOfstringlong>
</Dic_zahlSystem>
<PostionenAnzahl>String</PostionenAnzahl>
<alleDictionaryitems xmlns:d2p1="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Models">
<d2p1:OnlinehandelTreffertypen>
<d2p1:Quote>0</d2p1:Quote>
<d2p1:anzahl>0</d2p1:anzahl>
<d2p1:data>
<d2p1:PrimaryKey>0</d2p1:PrimaryKey>
<d2p1:_aenderung>0001-01-01T00:00:00</d2p1:_aenderung>
<d2p1:_erstellt>0001-01-01T00:00:00</d2p1:_erstellt>
<d2p1:bezeichnung>String</d2p1:bezeichnung>
<d2p1:del>0</d2p1:del>
<d2p1:guid>String</d2p1:guid>
<d2p1:id>0</d2p1:id>
<d2p1:mandant>0</d2p1:mandant>
<d2p1:parent_id>0</d2p1:parent_id>
<d2p1:soll_parsen>0</d2p1:soll_parsen>
<d2p1:suchfeld1>0</d2p1:suchfeld1>
<d2p1:suchfeld1_text>String</d2p1:suchfeld1_text>
<d2p1:suchfeld2>0</d2p1:suchfeld2>
<d2p1:suchfeld2_text>String</d2p1:suchfeld2_text>
</d2p1:data>
<d2p1:isEnum>false</d2p1:isEnum>
</d2p1:OnlinehandelTreffertypen>
</alleDictionaryitems>
<mehrAlsAnzahl>false</mehrAlsAnzahl>
<onlineHandelModel>
<OnlinehandelModel>
<Buchungstext>String</Buchungstext>
<DBDateitype>0</DBDateitype>
<DateiName>String</DateiName>
<Dateiname>String</Dateiname>
<Datum>0001-01-01T00:00:00</Datum>
<Fileguid>String</Fileguid>
<Geparsed_guid>String</Geparsed_guid>
<ID>String</ID>
<ID1>String</ID1>
<LetzteDateiId>0</LetzteDateiId>
<OnlinehandelDateiID>0</OnlinehandelDateiID>
<OnlinehandelTalkID>0</OnlinehandelTalkID>
<OrderID>String</OrderID>
<Sonstiges>String</Sonstiges>
<Treffer>String</Treffer>
<TrefferInfo>String</TrefferInfo>
<TrefferStelle>0</TrefferStelle>
<Treffertyp>String</Treffertyp>
<Volltext>String</Volltext>
<Zahlbetrag>0</Zahlbetrag>
<Zahlsystem>String</Zahlsystem>
<ZeilNummer>0</ZeilNummer>
<dateitype>String</dateitype>
<hasTreffer>false</hasTreffer>
<lstTreffer>
<OnlinehandelModel>
<Buchungstext>String</Buchungstext>
<DBDateitype>0</DBDateitype>
<DateiName>String</DateiName>
<Dateiname>String</Dateiname>
<Datum>0001-01-01T00:00:00</Datum>
<Fileguid>String</Fileguid>
<Geparsed_guid>String</Geparsed_guid>
<ID>String</ID>
<ID1>String</ID1>
<LetzteDateiId>0</LetzteDateiId>
<OnlinehandelDateiID>0</OnlinehandelDateiID>
<OnlinehandelTalkID>0</OnlinehandelTalkID>
<OrderID>String</OrderID>
<Sonstiges>String</Sonstiges>
<Treffer>String</Treffer>
<TrefferInfo>String</TrefferInfo>
<TrefferStelle>0</TrefferStelle>
<Treffertyp>String</Treffertyp>
<Volltext>String</Volltext>
<Zahlbetrag>0</Zahlbetrag>
<Zahlsystem>String</Zahlsystem>
<ZeilNummer>0</ZeilNummer>
<dateitype>String</dateitype>
<hasTreffer>false</hasTreffer>
<lstTreffer>
<OnlinehandelModel>
<Buchungstext>String</Buchungstext>
<DBDateitype>0</DBDateitype>
<DateiName>String</DateiName>
<Dateiname>String</Dateiname>
<Datum>0001-01-01T00:00:00</Datum>
<Fileguid>String</Fileguid>
<Geparsed_guid>String</Geparsed_guid>
<ID>String</ID>
<ID1>String</ID1>
<LetzteDateiId>0</LetzteDateiId>
<OnlinehandelDateiID>0</OnlinehandelDateiID>
<OnlinehandelTalkID>0</OnlinehandelTalkID>
<OrderID>String</OrderID>
<Sonstiges>String</Sonstiges>
<Treffer>String</Treffer>
<TrefferInfo>String</TrefferInfo>
<TrefferStelle>0</TrefferStelle>
<Treffertyp>String</Treffertyp>
<Volltext>String</Volltext>
<Zahlbetrag>0</Zahlbetrag>
<Zahlsystem>String</Zahlsystem>
<ZeilNummer>0</ZeilNummer>
<dateitype>String</dateitype>
<hasTreffer>false</hasTreffer>
<lstTreffer i:nil="true" />
<ÜbrigeDaten>String</ÜbrigeDaten>
</OnlinehandelModel>
</lstTreffer>
<ÜbrigeDaten>String</ÜbrigeDaten>
</OnlinehandelModel>
</lstTreffer>
<ÜbrigeDaten>String</ÜbrigeDaten>
</OnlinehandelModel>
</onlineHandelModel>
</OnlinehandelDateiDictionaryLadenResponse>