Server

<back to all web services

GetLobaroKromerDeviceParsedData

External
Requires Authentication
The following routes are available for this service:
POST/api/v1/external/kromer
GetLobaroKromerDeviceParsedData Parameters:
NameParameterData TypeRequiredDescription
PaginationbodyPaginationYes
DatabodyList<LobaroData>Yes
Pagination Parameters:
NameParameterData TypeRequiredDescription
LimitformintNo
TotalformintNo
OffsetformintNo
LobaroData Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
DeviceIdformintNo
CreatedAtformDateTimeNo
UpdatedAtformDateTimeNo
DataformDeviceDataNo
DeviceData Parameters:
NameParameterData TypeRequiredDescription
MbusformDeviceMbusDataNo
DeviceMbusData Parameters:
NameParameterData TypeRequiredDescription
IdStringformintNo
DeviceStringformstringNo
BodyformMbusBodyNo
HeaderformHeaderNo
MbusBody Parameters:
NameParameterData TypeRequiredDescription
DataRecordsformList<MbusBodyDataRecords>No
MbusBodyDataRecords Parameters:
NameParameterData TypeRequiredDescription
VifUnitformstringNo
VifQuantityformstringNo
ValueScaledformdoubleNo
VifExponentformstringNo
ValueStringformstringNo
ValueformstringNo
DifFunctionStringformstringNo
StorageNoformstringNo
CompactProfileformCompactProfileNo
CompactProfile Parameters:
NameParameterData TypeRequiredDescription
HistoryformList<History>No
History Parameters:
NameParameterData TypeRequiredDescription
TimeformstringNo
ValueformstringNo
Header Parameters:
NameParameterData TypeRequiredDescription
IdStringformintNo
DeviceStringformstringNo
GetLobaroKromerDeviceParsedDataResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo

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.

POST /api/v1/external/kromer HTTP/1.1 
Host: emg-servdesk.eras-online.de 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	pagination: 
	{
		limit: 0,
		total: 0,
		offset: 0
	},
	data: 
	[
		{
			id: 0,
			deviceId: 0,
			createdAt: 0001-01-01T00:00:00Z,
			updatedAt: 0001-01-01T00:00:00Z,
			data: 
			{
				mbus: 
				{
					idString: 0,
					deviceString: String,
					body: 
					{
						dataRecords: 
						[
							{
								vifUnit: String,
								vifQuantity: String,
								valueScaled: 0,
								vifExponent: String,
								valueString: String,
								value: String,
								difFunctionString: String,
								storageNo: String,
								compactProfile: 
								{
									history: 
									[
										{
											time: String,
											value: String
										}
									]
								}
							}
						]
					},
					header: 
					{
						idString: 0,
						deviceString: String
					}
				}
			}
		}
	]
}
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
		}
	}
}