WebService

<back to all web services

AbrCountCheckedRequest

import 'package:servicestack/servicestack.dart';

class AbrCountCheckResponse implements IConvertible
{
    bool? Antwort;

    AbrCountCheckResponse({this.Antwort});
    AbrCountCheckResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Antwort = json['Antwort'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Antwort': Antwort
    };

    getTypeName() => "AbrCountCheckResponse";
    TypeContext? context = _ctx;
}

class AbrCountCheckedRequest implements IConvertible
{
    String? CryptedLicenseNr;
    String? CryptedStamp;
    int? AnzahlMandanten;
    int? AnzahlAbrechnungen;
    int? AnzahlNutzeinheiten;
    int? AnzahlArchiv;

    AbrCountCheckedRequest({this.CryptedLicenseNr,this.CryptedStamp,this.AnzahlMandanten,this.AnzahlAbrechnungen,this.AnzahlNutzeinheiten,this.AnzahlArchiv});
    AbrCountCheckedRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        CryptedLicenseNr = json['CryptedLicenseNr'];
        CryptedStamp = json['CryptedStamp'];
        AnzahlMandanten = json['AnzahlMandanten'];
        AnzahlAbrechnungen = json['AnzahlAbrechnungen'];
        AnzahlNutzeinheiten = json['AnzahlNutzeinheiten'];
        AnzahlArchiv = json['AnzahlArchiv'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'CryptedLicenseNr': CryptedLicenseNr,
        'CryptedStamp': CryptedStamp,
        'AnzahlMandanten': AnzahlMandanten,
        'AnzahlAbrechnungen': AnzahlAbrechnungen,
        'AnzahlNutzeinheiten': AnzahlNutzeinheiten,
        'AnzahlArchiv': AnzahlArchiv
    };

    getTypeName() => "AbrCountCheckedRequest";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: '52.142.207.43', types: <String, TypeInfo> {
    'AbrCountCheckResponse': TypeInfo(TypeOf.Class, create:() => AbrCountCheckResponse()),
    'AbrCountCheckedRequest': TypeInfo(TypeOf.Class, create:() => AbrCountCheckedRequest()),
});

Dart AbrCountCheckedRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

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

POST /jsonl/reply/AbrCountCheckedRequest HTTP/1.1 
Host: 52.142.207.43 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"CryptedLicenseNr":"String","CryptedStamp":"String","AnzahlMandanten":0,"AnzahlAbrechnungen":0,"AnzahlNutzeinheiten":0,"AnzahlArchiv":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Antwort":false}