FIBUdataServiceStack

<back to all web services

BeraterDokumentDownloadListeRequest

The following routes are available for this service:
GET, POST/fibuscan/DokumentDownloadBeiBNR
import Foundation
import ServiceStack

public class BeraterDokumentDownloadListeRequest : Codable
{
    public var mandnr:Int
    public var bnr:Int

    required public init(){}
}

public class BeraterDokumentDownloadListeResponse : Codable
{
    public var dokument:[dokumente] = []

    required public init(){}
}

public class dokumente : IPrimaryKey, IMandnr, IDel, ITableBaseErstelltAenderung, Codable
{
    public var id:Int?
    public var _erstellt:Date?
    public var _aenderung:Date?
    public var mandant:Int?
    public var datenindex:Int?
    public var dateiname:String
    public var zip_dateiname:String
    public var subPfad:String
    public var upload:Int?
    public var downloadExt:Int?
    public var datum:Date?
    public var link:String
    public var anlagen:String
    public var metadaten:String
    public var dateityp:Int?
    public var del:Int?
    public var hash:String
    public var guid:String
    // @Ignore()
    public var server_hash:String

    // @Ignore()
    public var primaryKey:Int?

    required public init(){}
}


Swift BeraterDokumentDownloadListeRequest DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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/json
Content-Type: application/json
Content-Length: length

{"Mandnr":0,"Bnr":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"dokument":[{"ID":0,"_erstellt":"\/Date(-62135596800000-0000)\/","_aenderung":"\/Date(-62135596800000-0000)\/","mandant":0,"Datenindex":0,"Dateiname":"String","zip_dateiname":"String","SubPfad":"String","Upload":0,"DownloadExt":0,"Datum":"\/Date(-62135596800000-0000)\/","Link":"String","anlagen":"String","metadaten":"String","dateityp":0,"del":0,"hash":"String","guid":"String","server_hash":"String","PrimaryKey":0}]}