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 .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.

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

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