FIBUdataServiceStack

<back to all web services

OnlinehandelUploadRequest

The following routes are available for this service:
GET, POST/fibuscan/Onlinehandel/Upload
import java.math.*
import java.util.*
import net.servicestack.client.*


open class OnlinehandelUploadRequest
{
    var oem:Oem? = null
    var fileName:String? = null
    var Dateityp:Int? = null
    var Dateiname:String? = null
    var Textcodierung:Int? = null
    var Trennzeichen:String? = null
    var Datumskonvertierung:Int? = null
    var Betragskonvertierung:Int? = null
    var kopf_faengt_mit:String? = null
    var standard_waehrung:String? = null
}

enum class Oem(val value:Int)
{
    Fibudata(0),
    Spectrum(3),
}

open class OnlinehandelUploadResponse
{
    var Liste:ArrayList<ArrayList<String>> = ArrayList<ArrayList<String>>()
    var colsCount:Int? = null
    var guid:String? = null
    var kopf_hash:String? = null
    var KopfOptionen:ArrayList<OnlinehandelKonfig> = ArrayList<OnlinehandelKonfig>()
}

open class OnlinehandelKonfig
{
    var summenkonfiguration:Boolean? = null
    var spaltenkonfiguration:Int? = null
}

Kotlin OnlinehandelUploadRequest 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/Upload HTTP/1.1 
Host: ws4.fibudata.net 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"oem":"fibudata","fileName":"String","Dateityp":0,"Dateiname":"String","Textcodierung":0,"Trennzeichen":"String","Datumskonvertierung":0,"Betragskonvertierung":0,"kopf_faengt_mit":"String","standard_waehrung":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Liste":[["String"]],"colsCount":0,"guid":"String","kopf_hash":"String","KopfOptionen":[{"summenkonfiguration":false,"spaltenkonfiguration":0}]}