import 'package:servicestack/servicestack.dart';
class SaveKiVorschlagEreignisResponse implements IConvertible
{
bool? Status;
int? EreignisId;
SaveKiVorschlagEreignisResponse({this.Status,this.EreignisId});
SaveKiVorschlagEreignisResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Status = json['Status'];
EreignisId = json['EreignisId'];
return this;
}
Map<String, dynamic> toJson() => {
'Status': Status,
'EreignisId': EreignisId
};
getTypeName() => "SaveKiVorschlagEreignisResponse";
TypeContext? context = _ctx;
}
class SaveKiVorschlagEreignisRequest implements IConvertible
{
String? Lizenz;
String? EreignisTyp;
String? MandantDatenbank;
int? AbrechnungsinformationId;
int? AnzahlVorschlaege;
String? VorschlagJson;
String? JournalJson;
String? FehlerklasseId;
SaveKiVorschlagEreignisRequest({this.Lizenz,this.EreignisTyp,this.MandantDatenbank,this.AbrechnungsinformationId,this.AnzahlVorschlaege,this.VorschlagJson,this.JournalJson,this.FehlerklasseId});
SaveKiVorschlagEreignisRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Lizenz = json['Lizenz'];
EreignisTyp = json['EreignisTyp'];
MandantDatenbank = json['MandantDatenbank'];
AbrechnungsinformationId = json['AbrechnungsinformationId'];
AnzahlVorschlaege = json['AnzahlVorschlaege'];
VorschlagJson = json['VorschlagJson'];
JournalJson = json['JournalJson'];
FehlerklasseId = json['FehlerklasseId'];
return this;
}
Map<String, dynamic> toJson() => {
'Lizenz': Lizenz,
'EreignisTyp': EreignisTyp,
'MandantDatenbank': MandantDatenbank,
'AbrechnungsinformationId': AbrechnungsinformationId,
'AnzahlVorschlaege': AnzahlVorschlaege,
'VorschlagJson': VorschlagJson,
'JournalJson': JournalJson,
'FehlerklasseId': FehlerklasseId
};
getTypeName() => "SaveKiVorschlagEreignisRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: '52.142.207.43', types: <String, TypeInfo> {
'SaveKiVorschlagEreignisResponse': TypeInfo(TypeOf.Class, create:() => SaveKiVorschlagEreignisResponse()),
'SaveKiVorschlagEreignisRequest': TypeInfo(TypeOf.Class, create:() => SaveKiVorschlagEreignisRequest()),
});
Dart SaveKiVorschlagEreignisRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsonl/reply/SaveKiVorschlagEreignisRequest HTTP/1.1
Host: 52.142.207.43
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"Lizenz":"String","EreignisTyp":"String","MandantDatenbank":"String","AbrechnungsinformationId":0,"AnzahlVorschlaege":0,"VorschlagJson":"String","JournalJson":"String","FehlerklasseId":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Status":false,"EreignisId":0}