FIBUdataServiceStack

<back to all web services

OnlinehandelDateienDownloadRequest

The following routes are available for this service:
GET, POST/fibuscan/Onlinehandel/OnlinehandelDateienDownload
namespace FIBUdataServiceStack.ServiceModel.Messages

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type OnlinehandelDateienDownloadResponse() = 
        member val error:String = null with get,set
        member val result:Boolean = new Boolean() with get,set
        member val dateien_inhalte:Dictionary<Int64, Byte[]> = new Dictionary<Int64, Byte[]>() with get,set
        member val original_dateien_inhalte:Dictionary<Int64, Byte[]> = new Dictionary<Int64, Byte[]>() with get,set

    [<AllowNullLiteral>]
    type OnlinehandelDateienDownloadRequest() = 
        member val OnlinehandelDateien_ids:ResizeArray<Int64> = new ResizeArray<Int64>() with get,set
        member val mit_original_dateien:Boolean = new Boolean() with get,set

F# OnlinehandelDateienDownloadRequest DTOs

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

HTTP + OTHER

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/jsonl
Content-Type: text/jsonl
Content-Length: length

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

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