FIBUdataServiceStack

<back to all web services

OnlinehandelDateiLadenRequest

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

public class OnlinehandelDateiLadenRequest : Codable
{
    public var id:Int

    required public init(){}
}

public class OnlinehandelDateiLadenResponse : Codable
{
    public var liste:[[OnlinehandelItem]] = []

    required public init(){}
}


Swift OnlinehandelDateiLadenRequest DTOs

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

HTTP + CSV

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

POST /fibuscan/Onlinehandel/DateiLaden HTTP/1.1 
Host: ws4.fibudata.net 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"ID":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Liste":[[{"fehler":false,"original":"String","header":"String","col_nummer":0,"konfiguration":"OrderiD","summenkonfiguration":false,"value":{},"datum":"\/Date(-62135596800000-0000)\/","zahl":0,"datum_string":"String","zahl_string":"String"}]]}