Server

<back to all web services

UpdateNutzeinheit

Requires Authentication
The following routes are available for this service:
PUT/App/{UserId}/Nutzeinheit
UpdateNutzeinheit Parameters:
NameParameterData TypeRequiredDescription
NutzeinheitbodyNutzeinheitNo
Eras2AppServiceModelBase Parameters:
NameParameterData TypeRequiredDescription
UserIdformGuidNo
Nutzeinheit Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
LastModifiedformDateTime?No
NumberformstringNo
LocationformstringNo
WalkSequenceformstringNo
NoteformstringNo
AbrechnungseinheitGuidformGuidNo
AddressformAddressNo
DevicesformIList<Device>No
NutzerformIList<Nutzer>No
PhotosformIList<Photo>No
Address Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
StreetformstringNo
Street2formstringNo
StreetNumberformstringNo
ZipcodeformstringNo
CityformstringNo
MailboxformstringNo
AdditionalformstringNo
LatitudeformdoubleNo
LongitudeformdoubleNo
Device Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
LastModifiedformDateTime?No
NumberformstringNo
LabelformstringNo
DescriptionformstringNo
InstallationDateformDateTimeNo
DeinstallationDateformDateTime?No
CalibrationDateformDateTime?No
UnitformUnitKind?No
NoteformstringNo
SubtractionformboolNo
GroupIdentifierformstringNo
EstimationformEstimationKind?No
FirstActivationformDateTime?No
FirmwareVersionformstringNo
RoomGuidformGuidNo
OngoingNumberformstringNo
IsLeasedformboolNo
IsMaintainedformboolNo
DeviceCatalogGuidformGuidNo
DeviceConsumptionsformIList<DeviceConsumption>No
PhotosformIList<Photo>No
DeviceAdditionalArticlesformIList<DeviceAdditionalArticle>No
UnitKind Enum:
L
Kg
CBM
Stck
KWH
MWH
GWH
T
RM
Einheit
Qm
GJ
MJ
Null
EstimationKind Enum:
Null
S1
S2
S3
S4
S5
N1
N2
DeviceConsumption Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
LastModifiedformDateTime?No
ReadingDateformDateTime?No
FactorformdoubleNo
Readingformdouble?No
Consumptionformdouble?No
ChangeDateformDateTime?No
EstimationformEstimationKind?No
StateformDeviceConsumptionState?No
NoteformstringNo
IsReconstructedformboolNo
Manualformdouble?No
OriginformDeviceConsumptionOrigin?No
AirTemperatureformdecimal?No
RadiatorTemperatureformdecimal?No
LastErrorDateformDateTime?No
ErrorformstringNo
AmpouleColourformstringNo
ReadindKindGuidformGuidNo
DeviceConsumptionState Enum:
Null
RMInOrdnung
RMFehler
RMNichtGepr
RMFehlerTausch
KeinWohnungszutritt
Defekt
FalschLaufend
Überlauf
EichungBeachten
ProbeEntnommen
ProbeZumLabor
ProbePositiv
ProbeNegativ
DeviceConsumptionOrigin Enum:
Unbekannt
Manual
Emr
Walkby
Deleted
Photo Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
RecordedDateformDateTimeNo
DeviceAdditionalArticle Parameters:
NameParameterData TypeRequiredDescription
AdditionalArticleGuidformGuidNo
Quantityformdecimal?No
LastModifiedformDateTime?No
Nutzer Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
LastModifiedformDateTime?No
KindformNutzerKind?No
MoveInDateformDateTime?No
MoveOutDateformDateTime?No
Name1formstringNo
Name2formstringNo
Name3formstringNo
Name4formstringNo
NoteformstringNo
NextAppointmentDateformDateTime?No
SalutationformstringNo
TitleformstringNo
NutzerCommunicationsformIEnumerable<NutzerCommunication>No
NutzerPersonenformIEnumerable<NutzerPersonen>No
NutzerCoOwnershipformIEnumerable<NutzerCoOwnership>No
NutzerQuadratmeterformIEnumerable<NutzerQuadratmeter>No
NutzerKind Enum:
Leerstand
Gewerblich
Privat
AllgemeineNutzung
NutzerCommunication Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
LastModifiedformDateTime?No
AddressformstringNo
NoteformstringNo
CommunicationFeatureGuidformGuidNo
NutzerPersonen Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
LastModifiedformDateTime?No
NumberOfPeopleformint?No
RangeFromformDateTimeNo
RangeToformDateTime?No
NutzerCoOwnership Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
LastModifiedformDateTime?No
ShareValueformdecimal?No
RangeFromformDateTimeNo
RangeToformDateTime?No
NutzerQuadratmeter Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
LastModifiedformDateTime?No
SquareMeters_Hzgformdecimal?No
SquareMeters_Wwformdecimal?No
SquareMeters_Nkformdecimal?No
RangeFromformDateTimeNo
RangeToformDateTime?No
UpdateNutzeinheitResponse 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.

PUT /App/{UserId}/Nutzeinheit HTTP/1.1 
Host: isp-plauen-servamw.eras-online.de 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Nutzeinheit: 
	{
		Guid: 00000000000000000000000000000000,
		LastModified: 0001-01-01T00:00:00Z,
		NeNummerInt: String,
		Lage: String,
		BegeReihenfolge: String,
		Anmerkung: String,
		AbrechnungseinheitGuid: 00000000000000000000000000000000,
		Adresse: 
		{
			Guid: 00000000000000000000000000000000,
			Straße: String,
			Straße2: String,
			Hausnummer: String,
			Postleitzahl: String,
			Ort: String,
			Postfach: String,
			Adresszusatz: String,
			Breitengrad: 0,
			Laengengrad: 0
		}
	},
	UserId: 00000000000000000000000000000000
}
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
		}
	}
}