WebService

<back to all web services

SaveKiVorschlagEreignisRequest

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 .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/SaveKiVorschlagEreignisRequest HTTP/1.1 
Host: 52.142.207.43 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<ecUpdaterLicenseCommModel.SaveKiVorschlagEreignisRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EndianUpdaterLicenser">
  <AbrechnungsinformationId>0</AbrechnungsinformationId>
  <AnzahlVorschlaege>0</AnzahlVorschlaege>
  <EreignisTyp>String</EreignisTyp>
  <FehlerklasseId>String</FehlerklasseId>
  <JournalJson>String</JournalJson>
  <Lizenz>String</Lizenz>
  <MandantDatenbank>String</MandantDatenbank>
  <VorschlagJson>String</VorschlagJson>
</ecUpdaterLicenseCommModel.SaveKiVorschlagEreignisRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ecUpdaterLicenseCommModel.SaveKiVorschlagEreignisResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EndianUpdaterLicenser">
  <EreignisId>0</EreignisId>
  <Status>false</Status>
</ecUpdaterLicenseCommModel.SaveKiVorschlagEreignisResponse>