| GET, POST | /fibuscan/Onlinehandel/info-boxes-details |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class InfoBoxDetails implements IConvertible
{
String? wert;
DateTime? vonDatum;
DateTime? bisDatum;
bool? aktiv;
bool? istWebclient2Aktiv;
bool? istWebclient3Aktiv;
bool? istWebclientAlphaAktiv;
InfoBoxDetails({this.wert,this.vonDatum,this.bisDatum,this.aktiv,this.istWebclient2Aktiv,this.istWebclient3Aktiv,this.istWebclientAlphaAktiv});
InfoBoxDetails.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
wert = json['wert'];
vonDatum = JsonConverters.fromJson(json['vonDatum'],'DateTime',context!);
bisDatum = JsonConverters.fromJson(json['bisDatum'],'DateTime',context!);
aktiv = json['aktiv'];
istWebclient2Aktiv = json['istWebclient2Aktiv'];
istWebclient3Aktiv = json['istWebclient3Aktiv'];
istWebclientAlphaAktiv = json['istWebclientAlphaAktiv'];
return this;
}
Map<String, dynamic> toJson() => {
'wert': wert,
'vonDatum': JsonConverters.toJson(vonDatum,'DateTime',context!),
'bisDatum': JsonConverters.toJson(bisDatum,'DateTime',context!),
'aktiv': aktiv,
'istWebclient2Aktiv': istWebclient2Aktiv,
'istWebclient3Aktiv': istWebclient3Aktiv,
'istWebclientAlphaAktiv': istWebclientAlphaAktiv
};
getTypeName() => "InfoBoxDetails";
TypeContext? context = _ctx;
}
class OnlinehandelGetInfoBoxDetailsResponse implements IConvertible
{
InfoBoxDetails? item;
String? error;
bool? result;
OnlinehandelGetInfoBoxDetailsResponse({this.item,this.error,this.result});
OnlinehandelGetInfoBoxDetailsResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
item = JsonConverters.fromJson(json['item'],'InfoBoxDetails',context!);
error = json['error'];
result = json['result'];
return this;
}
Map<String, dynamic> toJson() => {
'item': JsonConverters.toJson(item,'InfoBoxDetails',context!),
'error': error,
'result': result
};
getTypeName() => "OnlinehandelGetInfoBoxDetailsResponse";
TypeContext? context = _ctx;
}
class OnlinehandelGetInfoBoxDetailsRequest implements IConvertible
{
OnlinehandelGetInfoBoxDetailsRequest();
OnlinehandelGetInfoBoxDetailsRequest.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "OnlinehandelGetInfoBoxDetailsRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'ws4.fibudata.net', types: <String, TypeInfo> {
'InfoBoxDetails': TypeInfo(TypeOf.Class, create:() => InfoBoxDetails()),
'OnlinehandelGetInfoBoxDetailsResponse': TypeInfo(TypeOf.Class, create:() => OnlinehandelGetInfoBoxDetailsResponse()),
'OnlinehandelGetInfoBoxDetailsRequest': TypeInfo(TypeOf.Class, create:() => OnlinehandelGetInfoBoxDetailsRequest()),
});
Dart OnlinehandelGetInfoBoxDetailsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /fibuscan/Onlinehandel/info-boxes-details 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
{
item:
{
wert: String,
vonDatum: 0001-01-01,
bisDatum: 0001-01-01,
aktiv: False,
istWebclient2Aktiv: False,
istWebclient3Aktiv: False,
istWebclientAlphaAktiv: False
},
error: String,
result: False
}