FIBUdataServiceStack

<back to all web services

BeraterDokumentDownloadListeRequest

The following routes are available for this service:
GET, POST/fibuscan/DokumentDownloadBeiBNR
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

class dokumente implements IPrimaryKey, IMandnr, IDel, ITableBaseErstelltAenderung, IConvertible
{
    int? ID;
    DateTime? _erstellt;
    DateTime? _aenderung;
    int? mandant;
    int? Datenindex;
    String? Dateiname;
    String? zip_dateiname;
    String? SubPfad;
    int? Upload;
    int? DownloadExt;
    DateTime? Datum;
    String? Link;
    String? anlagen;
    String? metadaten;
    int? dateityp;
    int? del;
    String? hash;
    String? guid;
    // @Ignore()
    String? server_hash;

    // @Ignore()
    int? PrimaryKey;

    dokumente({this.ID,this._erstellt,this._aenderung,this.mandant,this.Datenindex,this.Dateiname,this.zip_dateiname,this.SubPfad,this.Upload,this.DownloadExt,this.Datum,this.Link,this.anlagen,this.metadaten,this.dateityp,this.del,this.hash,this.guid,this.server_hash,this.PrimaryKey});
    dokumente.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        ID = json['ID'];
        _erstellt = JsonConverters.fromJson(json['_erstellt'],'DateTime',context!);
        _aenderung = JsonConverters.fromJson(json['_aenderung'],'DateTime',context!);
        mandant = json['mandant'];
        Datenindex = json['Datenindex'];
        Dateiname = json['Dateiname'];
        zip_dateiname = json['zip_dateiname'];
        SubPfad = json['SubPfad'];
        Upload = json['Upload'];
        DownloadExt = json['DownloadExt'];
        Datum = JsonConverters.fromJson(json['Datum'],'DateTime',context!);
        Link = json['Link'];
        anlagen = json['anlagen'];
        metadaten = json['metadaten'];
        dateityp = json['dateityp'];
        del = json['del'];
        hash = json['hash'];
        guid = json['guid'];
        server_hash = json['server_hash'];
        PrimaryKey = json['PrimaryKey'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'ID': ID,
        '_erstellt': JsonConverters.toJson(_erstellt,'DateTime',context!),
        '_aenderung': JsonConverters.toJson(_aenderung,'DateTime',context!),
        'mandant': mandant,
        'Datenindex': Datenindex,
        'Dateiname': Dateiname,
        'zip_dateiname': zip_dateiname,
        'SubPfad': SubPfad,
        'Upload': Upload,
        'DownloadExt': DownloadExt,
        'Datum': JsonConverters.toJson(Datum,'DateTime',context!),
        'Link': Link,
        'anlagen': anlagen,
        'metadaten': metadaten,
        'dateityp': dateityp,
        'del': del,
        'hash': hash,
        'guid': guid,
        'server_hash': server_hash,
        'PrimaryKey': PrimaryKey
    };

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

class BeraterDokumentDownloadListeResponse implements IConvertible
{
    List<dokumente>? dokument;

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

    fromMap(Map<String, dynamic> json) {
        dokument = JsonConverters.fromJson(json['dokument'],'List<dokumente>',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'dokument': JsonConverters.toJson(dokument,'List<dokumente>',context!)
    };

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

class BeraterDokumentDownloadListeRequest implements IConvertible
{
    int? Mandnr;
    int? Bnr;

    BeraterDokumentDownloadListeRequest({this.Mandnr,this.Bnr});
    BeraterDokumentDownloadListeRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

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

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

TypeContext _ctx = TypeContext(library: 'ws4.fibudata.net', types: <String, TypeInfo> {
    'dokumente': TypeInfo(TypeOf.Class, create:() => dokumente()),
    'BeraterDokumentDownloadListeResponse': TypeInfo(TypeOf.Class, create:() => BeraterDokumentDownloadListeResponse()),
    'List<dokumente>': TypeInfo(TypeOf.Class, create:() => <dokumente>[]),
    'BeraterDokumentDownloadListeRequest': TypeInfo(TypeOf.Class, create:() => BeraterDokumentDownloadListeRequest()),
});

Dart BeraterDokumentDownloadListeRequest 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 /fibuscan/DokumentDownloadBeiBNR HTTP/1.1 
Host: ws4.fibudata.net 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<BeraterDokumentDownloadListeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
  <Bnr>0</Bnr>
  <Mandnr>0</Mandnr>
</BeraterDokumentDownloadListeRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<BeraterDokumentDownloadListeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
  <dokument xmlns:d2p1="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Models">
    <d2p1:dokumente>
      <d2p1:Dateiname>String</d2p1:Dateiname>
      <d2p1:Datenindex>0</d2p1:Datenindex>
      <d2p1:Datum>0001-01-01T00:00:00</d2p1:Datum>
      <d2p1:DownloadExt>0</d2p1:DownloadExt>
      <d2p1:ID>0</d2p1:ID>
      <d2p1:Link>String</d2p1:Link>
      <d2p1:PrimaryKey>0</d2p1:PrimaryKey>
      <d2p1:SubPfad>String</d2p1:SubPfad>
      <d2p1:Upload>0</d2p1:Upload>
      <d2p1:_aenderung>0001-01-01T00:00:00</d2p1:_aenderung>
      <d2p1:_erstellt>0001-01-01T00:00:00</d2p1:_erstellt>
      <d2p1:anlagen>String</d2p1:anlagen>
      <d2p1:dateityp>0</d2p1:dateityp>
      <d2p1:del>0</d2p1:del>
      <d2p1:guid>String</d2p1:guid>
      <d2p1:hash>String</d2p1:hash>
      <d2p1:mandant>0</d2p1:mandant>
      <d2p1:metadaten>String</d2p1:metadaten>
      <d2p1:server_hash>String</d2p1:server_hash>
      <d2p1:zip_dateiname>String</d2p1:zip_dateiname>
    </d2p1:dokumente>
  </dokument>
</BeraterDokumentDownloadListeResponse>