FIBUdataServiceStack

<back to all web services

JTLRechnungenHochladenRequest

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

public class JTLRechnungenHochladenRequest : Codable
{
    public var jtlRechnungenBytes:[UInt8] = []
    public var jtlKorrekturenBytes:[UInt8] = []
    public var eingefuegteJTLRechnungenOHDateiID:Int?
    public var eingefuegteJTLKorrekturenOHDateiID:Int?
    public var datenindex:Int?

    required public init(){}
}

public class JTLRechnungenHochladenResponse : Codable
{
    public var error:String
    public var result:Bool
    public var datenindex:Int?

    required public init(){}
}


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

{"JTLRechnungenBytes":"AA==","JTLKorrekturenBytes":"AA==","EingefuegteJTLRechnungenOHDateiID":0,"EingefuegteJTLKorrekturenOHDateiID":0,"Datenindex":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"error":"String","result":false,"Datenindex":0}