Server

<back to all web services

GetBrennstoffMedien

Brennstoffmedien
Requires Authentication
The following routes are available for this service:
GET/api/v1/brennstoffmedien
import java.math.*
import java.util.*
import net.servicestack.client.*
import com.google.gson.annotations.*
import com.google.gson.reflect.*


open class GetBrennstoffMedien : IHasBearerToken
{
    @ApiMember(IsRequired=true, ParameterType="query")
    var bearerToken:String? = null
}

open class GetBrennstoffMedienResponse
{
    var brennstoffMedien:ArrayList<BrennstoffMedium> = ArrayList<BrennstoffMedium>()
    var responseStatus:ResponseStatus? = null
}

@DataContract
open class BrennstoffMedium
{
    @DataMember(Name="Guid")
    @SerializedName("Guid")
    var guid:String? = null

    @DataMember(Name="Bezeichnung")
    @SerializedName("Bezeichnung")
    var label:String? = null

    @DataMember(Name="Lagernd")
    @SerializedName("Lagernd")
    var storable:Boolean? = null

    @DataMember(Name="EinheitTyp")
    @SerializedName("EinheitTyp")
    var einheitType:String? = null

    @DataMember(Name="Heizwert")
    @SerializedName("Heizwert")
    var heizwert:BigDecimal? = null
}

Kotlin GetBrennstoffMedien DTOs

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

HTTP + CSV

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

GET /api/v1/brennstoffmedien HTTP/1.1 
Host: g-lange-servdesk.eras-online.de 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}