FIBUdataServiceStack

<back to all web services

OnlinehandelAbrechnungUebersichtRequest

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

public class OnlinehandelAbrechnungUebersichtRequest : Codable
{
    required public init(){}
}

public class OnlinehandelAbrechnungUebersichtResponse : Codable
{
    public var liste:[onlinehandel_abrechnung] = []

    required public init(){}
}

public class onlinehandel_abrechnung : onlinehandel_abrechnung_light
{
    public var geparste_results_keys:[UInt8] = []
    public var geparste_results_values:[UInt8] = []

    required public init(){ super.init() }

    private enum CodingKeys : String, CodingKey {
        case geparste_results_keys
        case geparste_results_values
    }

    required public init(from decoder: Decoder) throws {
        try super.init(from: decoder)
        let container = try decoder.container(keyedBy: CodingKeys.self)
        geparste_results_keys = try container.decodeIfPresent([UInt8].self, forKey: .geparste_results_keys) ?? []
        geparste_results_values = try container.decodeIfPresent([UInt8].self, forKey: .geparste_results_values) ?? []
    }

    public override func encode(to encoder: Encoder) throws {
        try super.encode(to: encoder)
        var container = encoder.container(keyedBy: CodingKeys.self)
        if geparste_results_keys.count > 0 { try container.encode(geparste_results_keys, forKey: .geparste_results_keys) }
        if geparste_results_values.count > 0 { try container.encode(geparste_results_values, forKey: .geparste_results_values) }
    }
}

public class onlinehandel_abrechnung_light : IPrimaryKey, IMandnr, IDel, ITableBase, Codable
{
    public var id:Int?
    public var mandant:Int?
    public var del:Int?
    public var bezeichnung:String
    public var guid:String
    public var parent_guid:String
    public var _erstellt:Date?
    public var _aenderung:Date?
    public var nutzer_id:Int?
    public var in_arbeit:Int?
    public var ausgewaehlte_treffertypen:String
    public var ausgewaehlte_zahlsysteme:String
    public var zip_dateiname:String
    public var exportdatum:Date?
    // @Ignore()
    public var primaryKey:Int?

    required public init(){}
}


Swift OnlinehandelAbrechnungUebersichtRequest DTOs

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

HTTP + JSV

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

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

{
	
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Liste: 
	[
		{
			geparste_results_keys: AA==,
			geparste_results_values: AA==,
			id: 0,
			mandant: 0,
			del: 0,
			bezeichnung: String,
			guid: String,
			parent_guid: String,
			_erstellt: 0001-01-01,
			_aenderung: 0001-01-01,
			nutzer_id: 0,
			in_arbeit: 0,
			ausgewaehlte_treffertypen: String,
			ausgewaehlte_zahlsysteme: String,
			zip_dateiname: String,
			exportdatum: 0001-01-01,
			PrimaryKey: 0
		}
	]
}