FIBUdataServiceStack

<back to all web services

BankRequest

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

public class BankRequest : Codable
{
    public var notCaching:Bool

    required public init(){}
}

public class BankResponse : Codable
{
    public var liste:[bank] = []

    required public init(){}
}

public class bank : IPrimaryKey, IMandnr, IDel, ITableBaseErstelltAenderung, INutzerid, Codable
{
    public var bankID:Int?
    public var _erstellt:Date?
    public var _aenderung:Date?
    public var anlagedatum:Date?
    public var ktotyp:Int?
    public var max_banktext:Int?
    public var abruf:Int?
    public var isRev:Int?
    public var isSepa:Int?
    public var buchungsdatum_isErfasst:Int?
    public var del:Int?
    public var id_lokal:Int?
    public var mandant:Int?
    public var art:Int?
    public var fibuKonto:Int?
    public var bezeichnung:String
    public var bic:String
    public var blz:String
    public var guid:String
    public var iban:String
    public var konto:String
    public var pw:String
    public var userBLZ:String
    public var userKto:String
    public var wkz:String
    public var universal:String
    public var nutzerid:Int?
    // @Ignore()
    public var primaryKey:Int?

    required public init(){}
}


Swift BankRequest 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/Bank HTTP/1.1 
Host: ws4.fibudata.net 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"notCaching":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Liste":[{"BankID":0,"_erstellt":"\/Date(-62135596800000-0000)\/","_aenderung":"\/Date(-62135596800000-0000)\/","Anlagedatum":"\/Date(-62135596800000-0000)\/","ktotyp":0,"max_banktext":0,"abruf":0,"isRev":0,"isSepa":0,"buchungsdatum_isErfasst":0,"del":0,"id_lokal":0,"mandant":0,"Art":0,"FibuKonto":0,"Bezeichnung":"String","bic":"String","BLZ":"String","GUID":"String","iban":"String","Konto":"String","pw":"String","userBLZ":"String","userKto":"String","wkz":"String","universal":"String","nutzerid":0,"PrimaryKey":0}]}