| GET, POST | /fibuscan/Onlinehandel/OriginInfoZeile |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class OriginInfoZeile implements IConvertible
{
String? Kopf;
String? value;
String? Kopfdef;
OriginInfoZeile({this.Kopf,this.value,this.Kopfdef});
OriginInfoZeile.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Kopf = json['Kopf'];
value = json['value'];
Kopfdef = json['Kopfdef'];
return this;
}
Map<String, dynamic> toJson() => {
'Kopf': Kopf,
'value': value,
'Kopfdef': Kopfdef
};
getTypeName() => "OriginInfoZeile";
TypeContext? context = _ctx;
}
class OnlinehandeOriginInfoZeileResponse implements IConvertible
{
List<OriginInfoZeile>? OrginZeil;
OnlinehandeOriginInfoZeileResponse({this.OrginZeil});
OnlinehandeOriginInfoZeileResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
OrginZeil = JsonConverters.fromJson(json['OrginZeil'],'List<OriginInfoZeile>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'OrginZeil': JsonConverters.toJson(OrginZeil,'List<OriginInfoZeile>',context!)
};
getTypeName() => "OnlinehandeOriginInfoZeileResponse";
TypeContext? context = _ctx;
}
class OnlinehandeOriginInfoZeileRequest implements IConvertible
{
String? guid;
String? Fileguid;
int? ZeilNummer;
int? TrefferStelle;
String? TrefferInfo;
String? Volltext;
OnlinehandeOriginInfoZeileRequest({this.guid,this.Fileguid,this.ZeilNummer,this.TrefferStelle,this.TrefferInfo,this.Volltext});
OnlinehandeOriginInfoZeileRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
guid = json['guid'];
Fileguid = json['Fileguid'];
ZeilNummer = json['ZeilNummer'];
TrefferStelle = json['TrefferStelle'];
TrefferInfo = json['TrefferInfo'];
Volltext = json['Volltext'];
return this;
}
Map<String, dynamic> toJson() => {
'guid': guid,
'Fileguid': Fileguid,
'ZeilNummer': ZeilNummer,
'TrefferStelle': TrefferStelle,
'TrefferInfo': TrefferInfo,
'Volltext': Volltext
};
getTypeName() => "OnlinehandeOriginInfoZeileRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'ws4.fibudata.net', types: <String, TypeInfo> {
'OriginInfoZeile': TypeInfo(TypeOf.Class, create:() => OriginInfoZeile()),
'OnlinehandeOriginInfoZeileResponse': TypeInfo(TypeOf.Class, create:() => OnlinehandeOriginInfoZeileResponse()),
'List<OriginInfoZeile>': TypeInfo(TypeOf.Class, create:() => <OriginInfoZeile>[]),
'OnlinehandeOriginInfoZeileRequest': TypeInfo(TypeOf.Class, create:() => OnlinehandeOriginInfoZeileRequest()),
});
Dart OnlinehandeOriginInfoZeileRequest 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/OriginInfoZeile HTTP/1.1
Host: ws4.fibudata.net
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"guid":"String","Fileguid":"String","ZeilNummer":0,"TrefferStelle":0,"TrefferInfo":"String","Volltext":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"OrginZeil":[{"Kopf":"String","value":"String","Kopfdef":"String"}]}