Server

<back to all web services

AddNutzeinheit

Requires Authentication
The following routes are available for this service:
POST/App/{UserId}/Nutzeinheit
AddNutzeinheit Parameters:
NameParameterData TypeRequiredDescription
NutzeinheitbodyNutzeinheitNo
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
AddNutzeinheitResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo

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

HTTP + XML

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

POST /App/{UserId}/Nutzeinheit HTTP/1.1 
Host: fairtherm-servamw.eras-online.de 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<AddNutzeinheit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eras2Amw.Service.Server.ServiceModel.Eras2App.Add">
  <UserId xmlns="http://schemas.datacontract.org/2004/07/Eras2Amw.Service.Server.ServiceModel.Eras2App">00000000-0000-0000-0000-000000000000</UserId>
  <Nutzeinheit xmlns:d2p1="http://schemas.datacontract.org/2004/07/Eras2Amw.Service.Server.ServiceModel.Common">
    <d2p1:AbrechnungseinheitGuid>00000000-0000-0000-0000-000000000000</d2p1:AbrechnungseinheitGuid>
    <d2p1:Address>
      <d2p1:Adresszusatz>String</d2p1:Adresszusatz>
      <d2p1:Breitengrad>0</d2p1:Breitengrad>
      <d2p1:Guid>00000000-0000-0000-0000-000000000000</d2p1:Guid>
      <d2p1:Hausnummer>String</d2p1:Hausnummer>
      <d2p1:Laengengrad>0</d2p1:Laengengrad>
      <d2p1:Ort>String</d2p1:Ort>
      <d2p1:Postfach>String</d2p1:Postfach>
      <d2p1:Postleitzahl>String</d2p1:Postleitzahl>
      <d2p1:Straße>String</d2p1:Straße>
      <d2p1:Straße2>String</d2p1:Straße2>
    </d2p1:Address>
    <d2p1:Devices i:nil="true" />
    <d2p1:Guid>00000000-0000-0000-0000-000000000000</d2p1:Guid>
    <d2p1:LastModified>0001-01-01T00:00:00</d2p1:LastModified>
    <d2p1:Location>String</d2p1:Location>
    <d2p1:Note>String</d2p1:Note>
    <d2p1:Number>String</d2p1:Number>
    <d2p1:Nutzer i:nil="true" />
    <d2p1:Photos i:nil="true" />
    <d2p1:WalkSequence>String</d2p1:WalkSequence>
  </Nutzeinheit>
</AddNutzeinheit>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<AddNutzeinheitResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eras2Amw.Service.Server.ServiceModel.Eras2App.Add">
  <Nutzeinheit xmlns:d2p1="http://schemas.datacontract.org/2004/07/Eras2Amw.Service.Server.ServiceModel.Common">
    <d2p1:AbrechnungseinheitGuid>00000000-0000-0000-0000-000000000000</d2p1:AbrechnungseinheitGuid>
    <d2p1:Address>
      <d2p1:Adresszusatz>String</d2p1:Adresszusatz>
      <d2p1:Breitengrad>0</d2p1:Breitengrad>
      <d2p1:Guid>00000000-0000-0000-0000-000000000000</d2p1:Guid>
      <d2p1:Hausnummer>String</d2p1:Hausnummer>
      <d2p1:Laengengrad>0</d2p1:Laengengrad>
      <d2p1:Ort>String</d2p1:Ort>
      <d2p1:Postfach>String</d2p1:Postfach>
      <d2p1:Postleitzahl>String</d2p1:Postleitzahl>
      <d2p1:Straße>String</d2p1:Straße>
      <d2p1:Straße2>String</d2p1:Straße2>
    </d2p1:Address>
    <d2p1:Devices i:nil="true" />
    <d2p1:Guid>00000000-0000-0000-0000-000000000000</d2p1:Guid>
    <d2p1:LastModified>0001-01-01T00:00:00</d2p1:LastModified>
    <d2p1:Location>String</d2p1:Location>
    <d2p1:Note>String</d2p1:Note>
    <d2p1:Number>String</d2p1:Number>
    <d2p1:Nutzer i:nil="true" />
    <d2p1:Photos i:nil="true" />
    <d2p1:WalkSequence>String</d2p1:WalkSequence>
  </Nutzeinheit>
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Meta>
      </d2p1:ResponseError>
    </d2p1:Errors>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
  </ResponseStatus>
</AddNutzeinheitResponse>