Server

<back to all web services

GetEnergieVerwerter

EnergieVerwerter
Requires Authentication
The following routes are available for this service:
GET/api/v1/Energieverwerter/{Guid}
GetEnergieVerwerter Parameters:
NameParameterData TypeRequiredDescription
BearerTokenquerystringYes
GuidpathGuidYes
GetEnergieVerwerterResponse Parameters:
NameParameterData TypeRequiredDescription
EnergieVerwerterformEnergieVerwerterNo
BrennstoffMediumformBrennstoffMediumNo
ResponseStatusformResponseStatusNo
EnergieVerwerter Parameters:
NameParameterData TypeRequiredDescription
GuidformstringNo
LabelformstringNo
EfficiencyFactorformdecimal?No
AssemblyDateformDateTimeNo
DisassemblyDateformDateTime?No
BuildYearformuint?No
Temperatureformuint?No
CommercialSupplyformboolNo
BrennwertformboolNo
BrennstoffMediumGuidformGuidNo
BrennstoffMedium Parameters:
NameParameterData TypeRequiredDescription
GuidformstringNo
LabelformstringNo
StorableformboolNo
EinheitTypeformstringNo
Heizwertformdecimal?No

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/Energieverwerter/{Guid} HTTP/1.1 
Host: mdf-servdesk.eras-online.de 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	energieVerwerter: 
	{
		guid: String,
		label: String,
		efficiencyFactor: 0,
		assemblyDate: 0001-01-01T00:00:00Z,
		disassemblyDate: 0001-01-01T00:00:00Z,
		buildYear: 0,
		temperature: 0,
		commercialSupply: False,
		brennwert: False,
		brennstoffMediumGuid: 00000000000000000000000000000000
	},
	brennstoffMedium: 
	{
		Guid: String,
		Bezeichnung: String,
		Lagernd: False,
		EinheitTyp: String,
		Heizwert: 0
	},
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	}
}