| GET, POST | /fibuscan/Onlinehandel/OnlinehandelZwischenablageDatei |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class OnlinehandelZwischenablageDateiResponse implements IConvertible
{
Uint8List? CsvDatei;
OnlinehandelZwischenablageDateiResponse({this.CsvDatei});
OnlinehandelZwischenablageDateiResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
CsvDatei = JsonConverters.fromJson(json['CsvDatei'],'Uint8List',context!);
return this;
}
Map<String, dynamic> toJson() => {
'CsvDatei': JsonConverters.toJson(CsvDatei,'Uint8List',context!)
};
getTypeName() => "OnlinehandelZwischenablageDateiResponse";
TypeContext? context = _ctx;
}
class OnlinehandelZwischenablageDateiRequest implements IConvertible
{
String? guid;
bool? chkZuordnung;
List<int>? lstFilters;
List<String>? lstZahlSystemFilter;
int? datensaetzeanzahl;
DateTime? VonDatum;
DateTime? BisDatum;
String? volltext;
List<String>? DateiFilter_guid;
bool? isDownload;
OnlinehandelZwischenablageDateiRequest({this.guid,this.chkZuordnung,this.lstFilters,this.lstZahlSystemFilter,this.datensaetzeanzahl,this.VonDatum,this.BisDatum,this.volltext,this.DateiFilter_guid,this.isDownload});
OnlinehandelZwischenablageDateiRequest.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!);
isDownload = json['isDownload'];
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!),
'isDownload': isDownload
};
getTypeName() => "OnlinehandelZwischenablageDateiRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'ws4.fibudata.net', types: <String, TypeInfo> {
'OnlinehandelZwischenablageDateiResponse': TypeInfo(TypeOf.Class, create:() => OnlinehandelZwischenablageDateiResponse()),
'Uint8List': TypeInfo(TypeOf.Class, create:() => Uint8List(0)),
'OnlinehandelZwischenablageDateiRequest': TypeInfo(TypeOf.Class, create:() => OnlinehandelZwischenablageDateiRequest()),
});
Dart OnlinehandelZwischenablageDateiRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /fibuscan/Onlinehandel/OnlinehandelZwischenablageDatei HTTP/1.1
Host: ws4.fibudata.net
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"guid":"String","chkZuordnung":false,"lstFilters":[0],"lstZahlSystemFilter":["String"],"datensaetzeanzahl":0,"VonDatum":"\/Date(-62135596800000-0000)\/","BisDatum":"\/Date(-62135596800000-0000)\/","volltext":"String","DateiFilter_guid":["String"],"isDownload":false}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"CsvDatei":"AA=="}