| GET, POST | /fibuscan/Onlinehandel/getFehlerLog |
|---|
import Foundation
import ServiceStack
public class FehlerLogRequest : Codable
{
required public init(){}
}
public class FehlerLogResponse : Codable
{
public var fehlerLogListe:[fehler_log] = []
required public init(){}
}
public class fehler_log : IPrimaryKey, IMandnr, ITableBase, Codable
{
public var id:Int?
public var mandant:Int?
public var nutzerid:Int?
public var stufe:String
public var modul:String
public var funktion:String
public var meldung:String
public var _erstellt:Date?
public var _aenderung:Date?
// @Ignore()
public var primaryKey:Int?
required public init(){}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /fibuscan/Onlinehandel/getFehlerLog HTTP/1.1
Host: ws4.fibudata.net
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"FehlerLogListe":[{"id":0,"mandant":0,"nutzerid":0,"stufe":"String","modul":"String","funktion":"String","meldung":"String","_erstellt":"\/Date(-62135596800000-0000)\/","_aenderung":"\/Date(-62135596800000-0000)\/","PrimaryKey":0}]}