FIBUdataServiceStack

<back to all web services

OnlinehandelDateienDownloadRequest

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

public class OnlinehandelDateienDownloadRequest : Codable
{
    public var onlinehandelDateien_ids:[Int] = []
    public var mit_original_dateien:Bool

    required public init(){}
}

public class OnlinehandelDateienDownloadResponse : Codable
{
    public var error:String
    public var result:Bool
    public var dateien_inhalte:[Int:[UInt8]] = [:]
    public var original_dateien_inhalte:[Int:[UInt8]] = [:]

    required public init(){}
}


Swift OnlinehandelDateienDownloadRequest 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/OnlinehandelDateienDownload HTTP/1.1 
Host: ws4.fibudata.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	OnlinehandelDateien_ids: 
	[
		0
	],
	mit_original_dateien: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	error: String,
	result: False,
	dateien_inhalte: 
	{
		0: AA==
	},
	original_dateien_inhalte: 
	{
		0: AA==
	}
}