Server

<back to all web services

GetNotes

Requires Authentication
The following routes are available for this service:
GET/App/{UserId}/Status/Notes
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;

public class dtos
{

    @DataContract
    public static class GetNotes extends Eras2AppServiceModelBase
    {
        
    }

    @DataContract
    public static class Eras2AppServiceModelBase
    {
        @DataMember(Name="UserId")
        @SerializedName("UserId")
        public UUID userId = null;
        
        public UUID getUserId() { return userId; }
        public Eras2AppServiceModelBase setUserId(UUID value) { this.userId = value; return this; }
    }

    public static class GetNotesResponse
    {
        @DataMember(Name="Nutzeinheiten")
        @SerializedName("Nutzeinheiten")
        public ArrayList<Nutzeinheit> nutzeinheiten = null;

        @DataMember(Name="Orders")
        @SerializedName("Orders")
        public ArrayList<Order> orders = null;

        @DataMember(Name="Abrechnungseinheiten")
        @SerializedName("Abrechnungseinheiten")
        public ArrayList<Abrechnungseinheit> abrechnungseinheiten = null;

        public ResponseStatus responseStatus = null;
        
        public ArrayList<Nutzeinheit> getNutzeinheiten() { return nutzeinheiten; }
        public GetNotesResponse setNutzeinheiten(ArrayList<Nutzeinheit> value) { this.nutzeinheiten = value; return this; }
        public ArrayList<Order> getOrders() { return orders; }
        public GetNotesResponse setOrders(ArrayList<Order> value) { this.orders = value; return this; }
        public ArrayList<Abrechnungseinheit> getAbrechnungseinheiten() { return abrechnungseinheiten; }
        public GetNotesResponse setAbrechnungseinheiten(ArrayList<Abrechnungseinheit> value) { this.abrechnungseinheiten = value; return this; }
        public ResponseStatus getResponseStatus() { return responseStatus; }
        public GetNotesResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
    }

    public static class Nutzeinheit
    {
        @DataMember(Name="Guid")
        @SerializedName("Guid")
        public UUID guid = null;

        @DataMember(Name="LastModified")
        @SerializedName("LastModified")
        public Date lastModified = null;

        @DataMember(Name="NeNummerInt")
        @SerializedName("NeNummerInt")
        public String number = null;

        @DataMember(Name="Lage")
        @SerializedName("Lage")
        public String location = null;

        @DataMember(Name="BegeReihenfolge")
        @SerializedName("BegeReihenfolge")
        public String walkSequence = null;

        @DataMember(Name="Anmerkung")
        @SerializedName("Anmerkung")
        public String note = null;

        @DataMember(Name="AbrechnungseinheitGuid")
        @SerializedName("AbrechnungseinheitGuid")
        public UUID abrechnungseinheitGuid = null;

        @DataMember(Name="Adresse")
        @SerializedName("Adresse")
        public Address address = null;

        @DataMember(Name="Geraete")
        @SerializedName("Geraete")
        public IList<Device> devices = null;

        @DataMember(Name="Nutzer")
        @SerializedName("Nutzer")
        public IList<Nutzer> nutzer = null;

        @DataMember(Name="Fotos")
        @SerializedName("Fotos")
        public IList<Photo> photos = null;
        
        public UUID getGuid() { return guid; }
        public Nutzeinheit setGuid(UUID value) { this.guid = value; return this; }
        public Date getLastModified() { return lastModified; }
        public Nutzeinheit setLastModified(Date value) { this.lastModified = value; return this; }
        public String getNumber() { return number; }
        public Nutzeinheit setNumber(String value) { this.number = value; return this; }
        public String getLocation() { return location; }
        public Nutzeinheit setLocation(String value) { this.location = value; return this; }
        public String getWalkSequence() { return walkSequence; }
        public Nutzeinheit setWalkSequence(String value) { this.walkSequence = value; return this; }
        public String getNote() { return note; }
        public Nutzeinheit setNote(String value) { this.note = value; return this; }
        public UUID getAbrechnungseinheitGuid() { return abrechnungseinheitGuid; }
        public Nutzeinheit setAbrechnungseinheitGuid(UUID value) { this.abrechnungseinheitGuid = value; return this; }
        public Address getAddress() { return address; }
        public Nutzeinheit setAddress(Address value) { this.address = value; return this; }
        public IList<Device> getDevices() { return devices; }
        public Nutzeinheit setDevices(IList<Device> value) { this.devices = value; return this; }
        public IList<Nutzer> getNutzer() { return nutzer; }
        public Nutzeinheit setNutzer(IList<Nutzer> value) { this.nutzer = value; return this; }
        public IList<Photo> getPhotos() { return photos; }
        public Nutzeinheit setPhotos(IList<Photo> value) { this.photos = value; return this; }
    }

    @DataContract
    public static class Address
    {
        @DataMember(Name="Guid")
        @SerializedName("Guid")
        public UUID guid = null;

        @DataMember(Name="Straße")
        @SerializedName("Straße")
        public String street = null;

        @DataMember(Name="Straße2")
        @SerializedName("Straße2")
        public String street2 = null;

        @DataMember(Name="Hausnummer")
        @SerializedName("Hausnummer")
        public String streetNumber = null;

        @DataMember(Name="Postleitzahl")
        @SerializedName("Postleitzahl")
        public String zipcode = null;

        @DataMember(Name="Ort")
        @SerializedName("Ort")
        public String city = null;

        @DataMember(Name="Postfach")
        @SerializedName("Postfach")
        public String mailbox = null;

        @DataMember(Name="Adresszusatz")
        @SerializedName("Adresszusatz")
        public String additional = null;

        @DataMember(Name="Breitengrad")
        @SerializedName("Breitengrad")
        public Double latitude = null;

        @DataMember(Name="Laengengrad")
        @SerializedName("Laengengrad")
        public Double longitude = null;
        
        public UUID getGuid() { return guid; }
        public Address setGuid(UUID value) { this.guid = value; return this; }
        public String getStreet() { return street; }
        public Address setStreet(String value) { this.street = value; return this; }
        public String getStreet2() { return street2; }
        public Address setStreet2(String value) { this.street2 = value; return this; }
        public String getStreetNumber() { return streetNumber; }
        public Address setStreetNumber(String value) { this.streetNumber = value; return this; }
        public String getZipcode() { return zipcode; }
        public Address setZipcode(String value) { this.zipcode = value; return this; }
        public String getCity() { return city; }
        public Address setCity(String value) { this.city = value; return this; }
        public String getMailbox() { return mailbox; }
        public Address setMailbox(String value) { this.mailbox = value; return this; }
        public String getAdditional() { return additional; }
        public Address setAdditional(String value) { this.additional = value; return this; }
        public Double getLatitude() { return latitude; }
        public Address setLatitude(Double value) { this.latitude = value; return this; }
        public Double getLongitude() { return longitude; }
        public Address setLongitude(Double value) { this.longitude = value; return this; }
    }

    @DataContract
    public static class Device
    {
        @DataMember(Name="Guid")
        @SerializedName("Guid")
        public UUID guid = null;

        @DataMember(Name="LastModified")
        @SerializedName("LastModified")
        public Date lastModified = null;

        @DataMember(Name="Geraetenummer")
        @SerializedName("Geraetenummer")
        public String number = null;

        @DataMember(Name="Bezeichnung")
        @SerializedName("Bezeichnung")
        public String label = null;

        @DataMember(Name="Beschreibung")
        @SerializedName("Beschreibung")
        public String description = null;

        @DataMember(Name="Einbaudatum")
        @SerializedName("Einbaudatum")
        public Date installationDate = null;

        @DataMember(Name="Ausbaudatum")
        @SerializedName("Ausbaudatum")
        public Date deinstallationDate = null;

        @DataMember(Name="Eichdatum")
        @SerializedName("Eichdatum")
        public Date calibrationDate = null;

        @DataMember(Name="Einheit")
        @SerializedName("Einheit")
        public UnitKind unit = null;

        @DataMember(Name="Memo")
        @SerializedName("Memo")
        public String note = null;

        @DataMember(Name="Abzug")
        @SerializedName("Abzug")
        public Boolean subtraction = null;

        @DataMember(Name="GrpKennung")
        @SerializedName("GrpKennung")
        public String groupIdentifier = null;

        @DataMember(Name="Dauerschaetzung")
        @SerializedName("Dauerschaetzung")
        public EstimationKind estimation = null;

        @DataMember(Name="ErstInbetriebnahme")
        @SerializedName("ErstInbetriebnahme")
        public Date firstActivation = null;

        @DataMember(Name="FirmwareVersion")
        @SerializedName("FirmwareVersion")
        public String firmwareVersion = null;

        @DataMember(Name="RaumGuid")
        @SerializedName("RaumGuid")
        public UUID roomGuid = null;

        @DataMember(Name="LaufendeNummer")
        @SerializedName("LaufendeNummer")
        public String ongoingNumber = null;

        @DataMember(Name="Gemietet")
        @SerializedName("Gemietet")
        public Boolean isLeased = null;

        @DataMember(Name="Gewartet")
        @SerializedName("Gewartet")
        public Boolean isMaintained = null;

        @DataMember(Name="GeraeteKatalogGuid")
        @SerializedName("GeraeteKatalogGuid")
        public UUID deviceCatalogGuid = null;

        @DataMember(Name="Verbraeuche")
        @SerializedName("Verbraeuche")
        public IList<DeviceConsumption> deviceConsumptions = null;

        @DataMember(Name="Fotos")
        @SerializedName("Fotos")
        public IList<Photo> photos = null;

        @DataMember(Name="ZusatzArtikel")
        @SerializedName("ZusatzArtikel")
        public IList<DeviceAdditionalArticle> deviceAdditionalArticles = null;
        
        public UUID getGuid() { return guid; }
        public Device setGuid(UUID value) { this.guid = value; return this; }
        public Date getLastModified() { return lastModified; }
        public Device setLastModified(Date value) { this.lastModified = value; return this; }
        public String getNumber() { return number; }
        public Device setNumber(String value) { this.number = value; return this; }
        public String getLabel() { return label; }
        public Device setLabel(String value) { this.label = value; return this; }
        public String getDescription() { return description; }
        public Device setDescription(String value) { this.description = value; return this; }
        public Date getInstallationDate() { return installationDate; }
        public Device setInstallationDate(Date value) { this.installationDate = value; return this; }
        public Date getDeinstallationDate() { return deinstallationDate; }
        public Device setDeinstallationDate(Date value) { this.deinstallationDate = value; return this; }
        public Date getCalibrationDate() { return calibrationDate; }
        public Device setCalibrationDate(Date value) { this.calibrationDate = value; return this; }
        public UnitKind getUnit() { return unit; }
        public Device setUnit(UnitKind value) { this.unit = value; return this; }
        public String getNote() { return note; }
        public Device setNote(String value) { this.note = value; return this; }
        public Boolean isSubtraction() { return subtraction; }
        public Device setSubtraction(Boolean value) { this.subtraction = value; return this; }
        public String getGroupIdentifier() { return groupIdentifier; }
        public Device setGroupIdentifier(String value) { this.groupIdentifier = value; return this; }
        public EstimationKind getEstimation() { return estimation; }
        public Device setEstimation(EstimationKind value) { this.estimation = value; return this; }
        public Date getFirstActivation() { return firstActivation; }
        public Device setFirstActivation(Date value) { this.firstActivation = value; return this; }
        public String getFirmwareVersion() { return firmwareVersion; }
        public Device setFirmwareVersion(String value) { this.firmwareVersion = value; return this; }
        public UUID getRoomGuid() { return roomGuid; }
        public Device setRoomGuid(UUID value) { this.roomGuid = value; return this; }
        public String getOngoingNumber() { return ongoingNumber; }
        public Device setOngoingNumber(String value) { this.ongoingNumber = value; return this; }
        public Boolean getIsLeased() { return isLeased; }
        public Device setIsLeased(Boolean value) { this.isLeased = value; return this; }
        public Boolean getIsMaintained() { return isMaintained; }
        public Device setIsMaintained(Boolean value) { this.isMaintained = value; return this; }
        public UUID getDeviceCatalogGuid() { return deviceCatalogGuid; }
        public Device setDeviceCatalogGuid(UUID value) { this.deviceCatalogGuid = value; return this; }
        public IList<DeviceConsumption> getDeviceConsumptions() { return deviceConsumptions; }
        public Device setDeviceConsumptions(IList<DeviceConsumption> value) { this.deviceConsumptions = value; return this; }
        public IList<Photo> getPhotos() { return photos; }
        public Device setPhotos(IList<Photo> value) { this.photos = value; return this; }
        public IList<DeviceAdditionalArticle> getDeviceAdditionalArticles() { return deviceAdditionalArticles; }
        public Device setDeviceAdditionalArticles(IList<DeviceAdditionalArticle> value) { this.deviceAdditionalArticles = value; return this; }
    }

    public static enum UnitKind
    {
        L,
        Kg,
        Cbm,
        Stck,
        Kwh,
        Mwh,
        Gwh,
        T,
        Rm,
        Einheit,
        Qm,
        Gj,
        Mj,
        Null;
    }

    public static enum EstimationKind
    {
        Null,
        S1,
        S2,
        S3,
        S4,
        S5,
        N1,
        N2;
    }

    @DataContract
    public static class DeviceConsumption
    {
        @DataMember(Name="Guid")
        @SerializedName("Guid")
        public UUID guid = null;

        @DataMember(Name="LastModified")
        @SerializedName("LastModified")
        public Date lastModified = null;

        @DataMember(Name="Ablesedatum")
        @SerializedName("Ablesedatum")
        public Date readingDate = null;

        @DataMember(Name="Faktor")
        @SerializedName("Faktor")
        public Double factor = null;

        @DataMember(Name="Ablesung")
        @SerializedName("Ablesung")
        public Double reading = null;

        @DataMember(Name="Verbrauch")
        @SerializedName("Verbrauch")
        public Double consumption = null;

        @DataMember(Name="Aenderungsdatum")
        @SerializedName("Aenderungsdatum")
        public Date changeDate = null;

        @DataMember(Name="Schaetzung")
        @SerializedName("Schaetzung")
        public EstimationKind estimation = null;

        @DataMember(Name="Status")
        @SerializedName("Status")
        public DeviceConsumptionState state = null;

        @DataMember(Name="Anmerkung")
        @SerializedName("Anmerkung")
        public String note = null;

        @DataMember(Name="IstRekonstruiert")
        @SerializedName("IstRekonstruiert")
        public Boolean isReconstructed = null;

        @DataMember(Name="Manuell")
        @SerializedName("Manuell")
        public Double manual = null;

        @DataMember(Name="Herkunft")
        @SerializedName("Herkunft")
        public DeviceConsumptionOrigin origin = null;

        @DataMember(Name="Lufttemperatur")
        @SerializedName("Lufttemperatur")
        public BigDecimal airTemperature = null;

        @DataMember(Name="HeizkörperTemperatur")
        @SerializedName("HeizkörperTemperatur")
        public BigDecimal radiatorTemperature = null;

        @DataMember(Name="LetzterfehlerDatum")
        @SerializedName("LetzterfehlerDatum")
        public Date lastErrorDate = null;

        @DataMember(Name="Fehler")
        @SerializedName("Fehler")
        public String error = null;

        @DataMember(Name="Ampullenfarbe")
        @SerializedName("Ampullenfarbe")
        public String ampouleColour = null;

        @DataMember(Name="AbleseartGuid")
        @SerializedName("AbleseartGuid")
        public UUID readindKindGuid = null;
        
        public UUID getGuid() { return guid; }
        public DeviceConsumption setGuid(UUID value) { this.guid = value; return this; }
        public Date getLastModified() { return lastModified; }
        public DeviceConsumption setLastModified(Date value) { this.lastModified = value; return this; }
        public Date getReadingDate() { return readingDate; }
        public DeviceConsumption setReadingDate(Date value) { this.readingDate = value; return this; }
        public Double getFactor() { return factor; }
        public DeviceConsumption setFactor(Double value) { this.factor = value; return this; }
        public Double getReading() { return reading; }
        public DeviceConsumption setReading(Double value) { this.reading = value; return this; }
        public Double getConsumption() { return consumption; }
        public DeviceConsumption setConsumption(Double value) { this.consumption = value; return this; }
        public Date getChangeDate() { return changeDate; }
        public DeviceConsumption setChangeDate(Date value) { this.changeDate = value; return this; }
        public EstimationKind getEstimation() { return estimation; }
        public DeviceConsumption setEstimation(EstimationKind value) { this.estimation = value; return this; }
        public DeviceConsumptionState getState() { return state; }
        public DeviceConsumption setState(DeviceConsumptionState value) { this.state = value; return this; }
        public String getNote() { return note; }
        public DeviceConsumption setNote(String value) { this.note = value; return this; }
        public Boolean getIsReconstructed() { return isReconstructed; }
        public DeviceConsumption setIsReconstructed(Boolean value) { this.isReconstructed = value; return this; }
        public Double getManual() { return manual; }
        public DeviceConsumption setManual(Double value) { this.manual = value; return this; }
        public DeviceConsumptionOrigin getOrigin() { return origin; }
        public DeviceConsumption setOrigin(DeviceConsumptionOrigin value) { this.origin = value; return this; }
        public BigDecimal getAirTemperature() { return airTemperature; }
        public DeviceConsumption setAirTemperature(BigDecimal value) { this.airTemperature = value; return this; }
        public BigDecimal getRadiatorTemperature() { return radiatorTemperature; }
        public DeviceConsumption setRadiatorTemperature(BigDecimal value) { this.radiatorTemperature = value; return this; }
        public Date getLastErrorDate() { return lastErrorDate; }
        public DeviceConsumption setLastErrorDate(Date value) { this.lastErrorDate = value; return this; }
        public String getError() { return error; }
        public DeviceConsumption setError(String value) { this.error = value; return this; }
        public String getAmpouleColour() { return ampouleColour; }
        public DeviceConsumption setAmpouleColour(String value) { this.ampouleColour = value; return this; }
        public UUID getReadindKindGuid() { return readindKindGuid; }
        public DeviceConsumption setReadindKindGuid(UUID value) { this.readindKindGuid = value; return this; }
    }

    public static enum DeviceConsumptionState
    {
        Null,
        RmInOrdnung,
        RmFehler,
        RmNichtGepr,
        RmFehlerTausch,
        KeinWohnungszutritt,
        Defekt,
        FalschLaufend,
        Überlauf,
        EichungBeachten,
        ProbeEntnommen,
        ProbeZumLabor,
        ProbePositiv,
        ProbeNegativ;
    }

    public static enum DeviceConsumptionOrigin
    {
        Unbekannt,
        Manual,
        Emr,
        Walkby,
        Deleted;
    }

    @DataContract
    public static class Photo
    {
        @DataMember(Name="Guid")
        @SerializedName("Guid")
        public UUID guid = null;

        @DataMember(Name="Timestamp")
        @SerializedName("Timestamp")
        public Date recordedDate = null;
        
        public UUID getGuid() { return guid; }
        public Photo setGuid(UUID value) { this.guid = value; return this; }
        public Date getRecordedDate() { return recordedDate; }
        public Photo setRecordedDate(Date value) { this.recordedDate = value; return this; }
    }

    @DataContract
    public static class DeviceAdditionalArticle
    {
        @DataMember(Name="Guid")
        @SerializedName("Guid")
        public UUID additionalArticleGuid = null;

        @DataMember(Name="Menge")
        @SerializedName("Menge")
        public BigDecimal quantity = null;

        @DataMember(Name="LastModified")
        @SerializedName("LastModified")
        public Date lastModified = null;
        
        public UUID getAdditionalArticleGuid() { return additionalArticleGuid; }
        public DeviceAdditionalArticle setAdditionalArticleGuid(UUID value) { this.additionalArticleGuid = value; return this; }
        public BigDecimal getQuantity() { return quantity; }
        public DeviceAdditionalArticle setQuantity(BigDecimal value) { this.quantity = value; return this; }
        public Date getLastModified() { return lastModified; }
        public DeviceAdditionalArticle setLastModified(Date value) { this.lastModified = value; return this; }
    }

    @DataContract
    public static class Nutzer
    {
        @DataMember(Name="Guid")
        @SerializedName("Guid")
        public UUID guid = null;

        @DataMember(Name="LastModified")
        @SerializedName("LastModified")
        public Date lastModified = null;

        @DataMember(Name="ArtDerNutzung")
        @SerializedName("ArtDerNutzung")
        public NutzerKind kind = null;

        @DataMember(Name="Einzug")
        @SerializedName("Einzug")
        public Date moveInDate = null;

        @DataMember(Name="Auszug")
        @SerializedName("Auszug")
        public Date moveOutDate = null;

        @DataMember(Name="Name1")
        @SerializedName("Name1")
        public String name1 = null;

        @DataMember(Name="Name2")
        @SerializedName("Name2")
        public String name2 = null;

        @DataMember(Name="Name3")
        @SerializedName("Name3")
        public String name3 = null;

        @DataMember(Name="Name4")
        @SerializedName("Name4")
        public String name4 = null;

        @DataMember(Name="Anmerkung")
        @SerializedName("Anmerkung")
        public String note = null;

        @DataMember(Name="NaechsterTermin")
        @SerializedName("NaechsterTermin")
        public Date nextAppointmentDate = null;

        @DataMember(Name="Anrede")
        @SerializedName("Anrede")
        public String salutation = null;

        @DataMember(Name="Titel")
        @SerializedName("Titel")
        public String title = null;

        @DataMember(Name="NutzerKommunikationen")
        @SerializedName("NutzerKommunikationen")
        public ArrayList<NutzerCommunication> nutzerCommunications = null;

        @DataMember(Name="NutzerPersonen")
        @SerializedName("NutzerPersonen")
        public ArrayList<NutzerPersonen> nutzerPersonen = null;

        @DataMember(Name="NutzerCoOwnership")
        @SerializedName("NutzerCoOwnership")
        public ArrayList<NutzerCoOwnership> nutzerCoOwnership = null;

        @DataMember(Name="NutzerQuadratmeter")
        @SerializedName("NutzerQuadratmeter")
        public ArrayList<NutzerQuadratmeter> nutzerQuadratmeter = null;
        
        public UUID getGuid() { return guid; }
        public Nutzer setGuid(UUID value) { this.guid = value; return this; }
        public Date getLastModified() { return lastModified; }
        public Nutzer setLastModified(Date value) { this.lastModified = value; return this; }
        public NutzerKind getKind() { return kind; }
        public Nutzer setKind(NutzerKind value) { this.kind = value; return this; }
        public Date getMoveInDate() { return moveInDate; }
        public Nutzer setMoveInDate(Date value) { this.moveInDate = value; return this; }
        public Date getMoveOutDate() { return moveOutDate; }
        public Nutzer setMoveOutDate(Date value) { this.moveOutDate = value; return this; }
        public String getName1() { return name1; }
        public Nutzer setName1(String value) { this.name1 = value; return this; }
        public String getName2() { return name2; }
        public Nutzer setName2(String value) { this.name2 = value; return this; }
        public String getName3() { return name3; }
        public Nutzer setName3(String value) { this.name3 = value; return this; }
        public String getName4() { return name4; }
        public Nutzer setName4(String value) { this.name4 = value; return this; }
        public String getNote() { return note; }
        public Nutzer setNote(String value) { this.note = value; return this; }
        public Date getNextAppointmentDate() { return nextAppointmentDate; }
        public Nutzer setNextAppointmentDate(Date value) { this.nextAppointmentDate = value; return this; }
        public String getSalutation() { return salutation; }
        public Nutzer setSalutation(String value) { this.salutation = value; return this; }
        public String getTitle() { return title; }
        public Nutzer setTitle(String value) { this.title = value; return this; }
        public ArrayList<NutzerCommunication> getNutzerCommunications() { return nutzerCommunications; }
        public Nutzer setNutzerCommunications(ArrayList<NutzerCommunication> value) { this.nutzerCommunications = value; return this; }
        public ArrayList<NutzerPersonen> getNutzerPersonen() { return nutzerPersonen; }
        public Nutzer setNutzerPersonen(ArrayList<NutzerPersonen> value) { this.nutzerPersonen = value; return this; }
        public ArrayList<NutzerCoOwnership> getNutzerCoOwnership() { return nutzerCoOwnership; }
        public Nutzer setNutzerCoOwnership(ArrayList<NutzerCoOwnership> value) { this.nutzerCoOwnership = value; return this; }
        public ArrayList<NutzerQuadratmeter> getNutzerQuadratmeter() { return nutzerQuadratmeter; }
        public Nutzer setNutzerQuadratmeter(ArrayList<NutzerQuadratmeter> value) { this.nutzerQuadratmeter = value; return this; }
    }

    public static enum NutzerKind
    {
        Leerstand,
        Gewerblich,
        Privat,
        AllgemeineNutzung;
    }

    @DataContract
    public static class NutzerCommunication
    {
        @DataMember(Name="Guid")
        @SerializedName("Guid")
        public UUID guid = null;

        @DataMember(Name="LastModified")
        @SerializedName("LastModified")
        public Date lastModified = null;

        @DataMember(Name="Adresse")
        @SerializedName("Adresse")
        public String address = null;

        @DataMember(Name="Anmerkung")
        @SerializedName("Anmerkung")
        public String note = null;

        @DataMember(Name="KommunikationsFunktionGuid")
        @SerializedName("KommunikationsFunktionGuid")
        public UUID communicationFeatureGuid = null;
        
        public UUID getGuid() { return guid; }
        public NutzerCommunication setGuid(UUID value) { this.guid = value; return this; }
        public Date getLastModified() { return lastModified; }
        public NutzerCommunication setLastModified(Date value) { this.lastModified = value; return this; }
        public String getAddress() { return address; }
        public NutzerCommunication setAddress(String value) { this.address = value; return this; }
        public String getNote() { return note; }
        public NutzerCommunication setNote(String value) { this.note = value; return this; }
        public UUID getCommunicationFeatureGuid() { return communicationFeatureGuid; }
        public NutzerCommunication setCommunicationFeatureGuid(UUID value) { this.communicationFeatureGuid = value; return this; }
    }

    @DataContract
    public static class NutzerPersonen
    {
        @DataMember(Name="Guid")
        @SerializedName("Guid")
        public UUID guid = null;

        @DataMember(Name="LastModified")
        @SerializedName("LastModified")
        public Date lastModified = null;

        @DataMember(Name="Personen")
        @SerializedName("Personen")
        public Integer numberOfPeople = null;

        @DataMember(Name="Von")
        @SerializedName("Von")
        public Date rangeFrom = null;

        @DataMember(Name="Bis")
        @SerializedName("Bis")
        public Date rangeTo = null;
        
        public UUID getGuid() { return guid; }
        public NutzerPersonen setGuid(UUID value) { this.guid = value; return this; }
        public Date getLastModified() { return lastModified; }
        public NutzerPersonen setLastModified(Date value) { this.lastModified = value; return this; }
        public Integer getNumberOfPeople() { return numberOfPeople; }
        public NutzerPersonen setNumberOfPeople(Integer value) { this.numberOfPeople = value; return this; }
        public Date getRangeFrom() { return rangeFrom; }
        public NutzerPersonen setRangeFrom(Date value) { this.rangeFrom = value; return this; }
        public Date getRangeTo() { return rangeTo; }
        public NutzerPersonen setRangeTo(Date value) { this.rangeTo = value; return this; }
    }

    @DataContract
    public static class NutzerCoOwnership
    {
        @DataMember(Name="Guid")
        @SerializedName("Guid")
        public UUID guid = null;

        @DataMember(Name="LastModified")
        @SerializedName("LastModified")
        public Date lastModified = null;

        @DataMember(Name="ShareValue")
        @SerializedName("ShareValue")
        public BigDecimal shareValue = null;

        @DataMember(Name="Von")
        @SerializedName("Von")
        public Date rangeFrom = null;

        @DataMember(Name="Bis")
        @SerializedName("Bis")
        public Date rangeTo = null;
        
        public UUID getGuid() { return guid; }
        public NutzerCoOwnership setGuid(UUID value) { this.guid = value; return this; }
        public Date getLastModified() { return lastModified; }
        public NutzerCoOwnership setLastModified(Date value) { this.lastModified = value; return this; }
        public BigDecimal getShareValue() { return shareValue; }
        public NutzerCoOwnership setShareValue(BigDecimal value) { this.shareValue = value; return this; }
        public Date getRangeFrom() { return rangeFrom; }
        public NutzerCoOwnership setRangeFrom(Date value) { this.rangeFrom = value; return this; }
        public Date getRangeTo() { return rangeTo; }
        public NutzerCoOwnership setRangeTo(Date value) { this.rangeTo = value; return this; }
    }

    @DataContract
    public static class NutzerQuadratmeter
    {
        @DataMember(Name="Guid")
        @SerializedName("Guid")
        public UUID guid = null;

        @DataMember(Name="LastModified")
        @SerializedName("LastModified")
        public Date lastModified = null;

        @DataMember(Name="Quadratmeter_Hzg")
        @SerializedName("Quadratmeter_Hzg")
        public BigDecimal squareMeters_Hzg = null;

        @DataMember(Name="Quadratmeter_Ww")
        @SerializedName("Quadratmeter_Ww")
        public BigDecimal squareMeters_Ww = null;

        @DataMember(Name="Quadratmeter_Nk")
        @SerializedName("Quadratmeter_Nk")
        public BigDecimal squareMeters_Nk = null;

        @DataMember(Name="Von")
        @SerializedName("Von")
        public Date rangeFrom = null;

        @DataMember(Name="Bis")
        @SerializedName("Bis")
        public Date rangeTo = null;
        
        public UUID getGuid() { return guid; }
        public NutzerQuadratmeter setGuid(UUID value) { this.guid = value; return this; }
        public Date getLastModified() { return lastModified; }
        public NutzerQuadratmeter setLastModified(Date value) { this.lastModified = value; return this; }
        public BigDecimal getSquareMetersHzg() { return squareMeters_Hzg; }
        public NutzerQuadratmeter setSquareMetersHzg(BigDecimal value) { this.squareMeters_Hzg = value; return this; }
        public BigDecimal getSquareMetersWw() { return squareMeters_Ww; }
        public NutzerQuadratmeter setSquareMetersWw(BigDecimal value) { this.squareMeters_Ww = value; return this; }
        public BigDecimal getSquareMetersNk() { return squareMeters_Nk; }
        public NutzerQuadratmeter setSquareMetersNk(BigDecimal value) { this.squareMeters_Nk = value; return this; }
        public Date getRangeFrom() { return rangeFrom; }
        public NutzerQuadratmeter setRangeFrom(Date value) { this.rangeFrom = value; return this; }
        public Date getRangeTo() { return rangeTo; }
        public NutzerQuadratmeter setRangeTo(Date value) { this.rangeTo = value; return this; }
    }

    @DataContract
    public static class Order
    {
        @DataMember(Name="Guid")
        @SerializedName("Guid")
        public UUID guid = null;

        @DataMember(Name="LastModified")
        @SerializedName("LastModified")
        public Date lastModified = null;

        @DataMember(Name="AbrechnungseinheitGuid")
        @SerializedName("AbrechnungseinheitGuid")
        public UUID abrechnungseinheitGuid = null;

        @DataMember(Name="AuftragNummer")
        @SerializedName("AuftragNummer")
        public String number = null;

        @DataMember(Name="Bezeichnung")
        @SerializedName("Bezeichnung")
        public String label = null;

        @DataMember(Name="Anmerkung")
        @SerializedName("Anmerkung")
        public String note = null;

        @DataMember(Name="UnterschriftBenoetigt")
        @SerializedName("UnterschriftBenoetigt")
        public Boolean isSignatureRequired = null;

        @DataMember(Name="Erstellungsdatum")
        @SerializedName("Erstellungsdatum")
        public Date createdDate = null;

        @DataMember(Name="AuftragZustand")
        @SerializedName("AuftragZustand")
        public OrderState orderState = null;

        @DataMember(Name="Termine")
        @SerializedName("Termine")
        public IList<Appointment> appointments = null;

        @DataMember(Name="AuftragsPositionen")
        @SerializedName("AuftragsPositionen")
        public IList<OrderPosition> orderPositions = null;

        @DataMember(Name="NutzeinheitZustaende")
        @SerializedName("NutzeinheitZustaende")
        public IList<NutzeinheitOrderState> nutzeinheitOrderStates = null;

        @DataMember(Name="GeraeteZustaende")
        @SerializedName("GeraeteZustaende")
        public IList<DeviceOrderState> deviceOrderStates = null;

        @DataMember(Name="Auftraggeber")
        @SerializedName("Auftraggeber")
        public Orderer orderer = null;

        @DataMember(Name="Unterschriften")
        @SerializedName("Unterschriften")
        public IList<Signature> signatures = null;
        
        public UUID getGuid() { return guid; }
        public Order setGuid(UUID value) { this.guid = value; return this; }
        public Date getLastModified() { return lastModified; }
        public Order setLastModified(Date value) { this.lastModified = value; return this; }
        public UUID getAbrechnungseinheitGuid() { return abrechnungseinheitGuid; }
        public Order setAbrechnungseinheitGuid(UUID value) { this.abrechnungseinheitGuid = value; return this; }
        public String getNumber() { return number; }
        public Order setNumber(String value) { this.number = value; return this; }
        public String getLabel() { return label; }
        public Order setLabel(String value) { this.label = value; return this; }
        public String getNote() { return note; }
        public Order setNote(String value) { this.note = value; return this; }
        public Boolean getIsSignatureRequired() { return isSignatureRequired; }
        public Order setIsSignatureRequired(Boolean value) { this.isSignatureRequired = value; return this; }
        public Date getCreatedDate() { return createdDate; }
        public Order setCreatedDate(Date value) { this.createdDate = value; return this; }
        public OrderState getOrderState() { return orderState; }
        public Order setOrderState(OrderState value) { this.orderState = value; return this; }
        public IList<Appointment> getAppointments() { return appointments; }
        public Order setAppointments(IList<Appointment> value) { this.appointments = value; return this; }
        public IList<OrderPosition> getOrderPositions() { return orderPositions; }
        public Order setOrderPositions(IList<OrderPosition> value) { this.orderPositions = value; return this; }
        public IList<NutzeinheitOrderState> getNutzeinheitOrderStates() { return nutzeinheitOrderStates; }
        public Order setNutzeinheitOrderStates(IList<NutzeinheitOrderState> value) { this.nutzeinheitOrderStates = value; return this; }
        public IList<DeviceOrderState> getDeviceOrderStates() { return deviceOrderStates; }
        public Order setDeviceOrderStates(IList<DeviceOrderState> value) { this.deviceOrderStates = value; return this; }
        public Orderer getOrderer() { return orderer; }
        public Order setOrderer(Orderer value) { this.orderer = value; return this; }
        public IList<Signature> getSignatures() { return signatures; }
        public Order setSignatures(IList<Signature> value) { this.signatures = value; return this; }
    }

    @DataContract
    public static class OrderState
    {
        @DataMember(Name="LastModified")
        @SerializedName("LastModified")
        public Date lastModified = null;

        @DataMember(Name="AuftragArten")
        @SerializedName("AuftragArten")
        public IList<OrderKind> kinds = null;

        @DataMember(Name="Bearbeitungsstatus")
        @SerializedName("Bearbeitungsstatus")
        public ProcessState processState = null;

        @DataMember(Name="AbgeschlossenDatum")
        @SerializedName("AbgeschlossenDatum")
        public Date completedDate = null;
        
        public Date getLastModified() { return lastModified; }
        public OrderState setLastModified(Date value) { this.lastModified = value; return this; }
        public IList<OrderKind> getKinds() { return kinds; }
        public OrderState setKinds(IList<OrderKind> value) { this.kinds = value; return this; }
        public ProcessState getProcessState() { return processState; }
        public OrderState setProcessState(ProcessState value) { this.processState = value; return this; }
        public Date getCompletedDate() { return completedDate; }
        public OrderState setCompletedDate(Date value) { this.completedDate = value; return this; }
    }

    public static enum ProcessState
    {
        InProgress,
        Updating,
        Creating,
        Completed;
    }

    @DataContract
    public static class Appointment
    {
        @DataMember(Name="Guid")
        @SerializedName("Guid")
        public UUID guid = null;

        @DataMember(Name="Von")
        @SerializedName("Von")
        public Date from = null;

        @DataMember(Name="Bis")
        @SerializedName("Bis")
        public Date to = null;

        @DataMember(Name="Monteure")
        @SerializedName("Monteure")
        public IList<AppointmentStoreUser> appointmentStoreUsers = null;

        @DataMember(Name="Nutzeinheiten")
        @SerializedName("Nutzeinheiten")
        public IList<AppointmentNutzeinheit> appointmentNutzeinheiten = null;
        
        public UUID getGuid() { return guid; }
        public Appointment setGuid(UUID value) { this.guid = value; return this; }
        public Date getFrom() { return from; }
        public Appointment setFrom(Date value) { this.from = value; return this; }
        public Date getTo() { return to; }
        public Appointment setTo(Date value) { this.to = value; return this; }
        public IList<AppointmentStoreUser> getAppointmentStoreUsers() { return appointmentStoreUsers; }
        public Appointment setAppointmentStoreUsers(IList<AppointmentStoreUser> value) { this.appointmentStoreUsers = value; return this; }
        public IList<AppointmentNutzeinheit> getAppointmentNutzeinheiten() { return appointmentNutzeinheiten; }
        public Appointment setAppointmentNutzeinheiten(IList<AppointmentNutzeinheit> value) { this.appointmentNutzeinheiten = value; return this; }
    }

    @DataContract
    public static class AppointmentStoreUser
    {
        @DataMember(Name="MonteurGuid")
        @SerializedName("MonteurGuid")
        public UUID storeUserId = null;
        
        public UUID getStoreUserId() { return storeUserId; }
        public AppointmentStoreUser setStoreUserId(UUID value) { this.storeUserId = value; return this; }
    }

    @DataContract
    public static class AppointmentNutzeinheit
    {
        @DataMember(Name="NutzeinheitGuid")
        @SerializedName("NutzeinheitGuid")
        public UUID nutzeinheitGuid = null;
        
        public UUID getNutzeinheitGuid() { return nutzeinheitGuid; }
        public AppointmentNutzeinheit setNutzeinheitGuid(UUID value) { this.nutzeinheitGuid = value; return this; }
    }

    @DataContract
    public static class OrderPosition
    {
        @DataMember(Name="Guid")
        @SerializedName("Guid")
        public UUID guid = null;

        @DataMember(Name="LastModified")
        @SerializedName("LastModified")
        public Date lastModified = null;

        @DataMember(Name="Anmerkung")
        @SerializedName("Anmerkung")
        public String note = null;

        @DataMember(Name="SollMenge")
        @SerializedName("SollMenge")
        public Integer requiredQuantity = null;

        @DataMember(Name="IstMenge")
        @SerializedName("IstMenge")
        public Integer actualQuantity = null;

        @DataMember(Name="NutzeinheitOrderPositions")
        @SerializedName("NutzeinheitOrderPositions")
        public IList<NutzeinheitOrderPosition> nutzeinheitOrderPositions = null;

        @DataMember(Name="ArtikelGuid")
        @SerializedName("ArtikelGuid")
        public UUID articleGuid = null;
        
        public UUID getGuid() { return guid; }
        public OrderPosition setGuid(UUID value) { this.guid = value; return this; }
        public Date getLastModified() { return lastModified; }
        public OrderPosition setLastModified(Date value) { this.lastModified = value; return this; }
        public String getNote() { return note; }
        public OrderPosition setNote(String value) { this.note = value; return this; }
        public Integer getRequiredQuantity() { return requiredQuantity; }
        public OrderPosition setRequiredQuantity(Integer value) { this.requiredQuantity = value; return this; }
        public Integer getActualQuantity() { return actualQuantity; }
        public OrderPosition setActualQuantity(Integer value) { this.actualQuantity = value; return this; }
        public IList<NutzeinheitOrderPosition> getNutzeinheitOrderPositions() { return nutzeinheitOrderPositions; }
        public OrderPosition setNutzeinheitOrderPositions(IList<NutzeinheitOrderPosition> value) { this.nutzeinheitOrderPositions = value; return this; }
        public UUID getArticleGuid() { return articleGuid; }
        public OrderPosition setArticleGuid(UUID value) { this.articleGuid = value; return this; }
    }

    @DataContract
    public static class NutzeinheitOrderPosition
    {
        @DataMember(Name="NutzeinheitGuid")
        @SerializedName("NutzeinheitGuid")
        public UUID nutzeinheitGuid = null;
        
        public UUID getNutzeinheitGuid() { return nutzeinheitGuid; }
        public NutzeinheitOrderPosition setNutzeinheitGuid(UUID value) { this.nutzeinheitGuid = value; return this; }
    }

    @DataContract
    public static class NutzeinheitOrderState
    {
        @DataMember(Name="NutzeinheitGuid")
        @SerializedName("NutzeinheitGuid")
        public UUID nutzeinheitGuid = null;

        @DataMember(Name="LastModified")
        @SerializedName("LastModified")
        public Date lastModified = null;

        @DataMember(Name="AuftragArten")
        @SerializedName("AuftragArten")
        public IList<NutzeinheitOrderKind> orderKinds = null;

        @DataMember(Name="Bearbeitungsstatus")
        @SerializedName("Bearbeitungsstatus")
        public ProcessState processState = null;

        @DataMember(Name="AbgeschlossenDatum")
        @SerializedName("AbgeschlossenDatum")
        public Date completedDate = null;

        @DataMember(Name="OsVersion")
        @SerializedName("OsVersion")
        public String osVersion = null;

        @DataMember(Name="AppVersion")
        @SerializedName("AppVersion")
        public String appVersion = null;

        @DataMember(Name="OsPlatform")
        @SerializedName("OsPlatform")
        public String osPlatform = null;

        @DataMember(Name="AppGeraeteNummmer")
        @SerializedName("AppGeraeteNummmer")
        public String appDeviceNumber = null;

        @DataMember(Name="AmwInfoKeyGuid")
        @SerializedName("AmwInfoKeyGuid")
        public UUID amwInfoKeyGuid = null;
        
        public UUID getNutzeinheitGuid() { return nutzeinheitGuid; }
        public NutzeinheitOrderState setNutzeinheitGuid(UUID value) { this.nutzeinheitGuid = value; return this; }
        public Date getLastModified() { return lastModified; }
        public NutzeinheitOrderState setLastModified(Date value) { this.lastModified = value; return this; }
        public IList<NutzeinheitOrderKind> getOrderKinds() { return orderKinds; }
        public NutzeinheitOrderState setOrderKinds(IList<NutzeinheitOrderKind> value) { this.orderKinds = value; return this; }
        public ProcessState getProcessState() { return processState; }
        public NutzeinheitOrderState setProcessState(ProcessState value) { this.processState = value; return this; }
        public Date getCompletedDate() { return completedDate; }
        public NutzeinheitOrderState setCompletedDate(Date value) { this.completedDate = value; return this; }
        public String getOsVersion() { return osVersion; }
        public NutzeinheitOrderState setOsVersion(String value) { this.osVersion = value; return this; }
        public String getAppVersion() { return appVersion; }
        public NutzeinheitOrderState setAppVersion(String value) { this.appVersion = value; return this; }
        public String getOsPlatform() { return osPlatform; }
        public NutzeinheitOrderState setOsPlatform(String value) { this.osPlatform = value; return this; }
        public String getAppDeviceNumber() { return appDeviceNumber; }
        public NutzeinheitOrderState setAppDeviceNumber(String value) { this.appDeviceNumber = value; return this; }
        public UUID getAmwInfoKeyGuid() { return amwInfoKeyGuid; }
        public NutzeinheitOrderState setAmwInfoKeyGuid(UUID value) { this.amwInfoKeyGuid = value; return this; }
    }

    @DataContract
    public static class DeviceOrderState
    {
        @DataMember(Name="GeraeteGuid")
        @SerializedName("GeraeteGuid")
        public UUID deviceGuid = null;

        @DataMember(Name="AuftragGuid")
        @SerializedName("AuftragGuid")
        public UUID orderGuid = null;

        @DataMember(Name="AuftragArt")
        @SerializedName("AuftragArt")
        public DeviceOrderKind orderKind = null;

        @DataMember(Name="Bearbeitungsstatus")
        @SerializedName("Bearbeitungsstatus")
        public ProcessState processState = null;

        @DataMember(Name="AbgeschlossenDatum")
        @SerializedName("AbgeschlossenDatum")
        public Date completedDate = null;

        @DataMember(Name="AmwInfo")
        @SerializedName("AmwInfo")
        public String amwInfo = null;
        
        public UUID getDeviceGuid() { return deviceGuid; }
        public DeviceOrderState setDeviceGuid(UUID value) { this.deviceGuid = value; return this; }
        public UUID getOrderGuid() { return orderGuid; }
        public DeviceOrderState setOrderGuid(UUID value) { this.orderGuid = value; return this; }
        public DeviceOrderKind getOrderKind() { return orderKind; }
        public DeviceOrderState setOrderKind(DeviceOrderKind value) { this.orderKind = value; return this; }
        public ProcessState getProcessState() { return processState; }
        public DeviceOrderState setProcessState(ProcessState value) { this.processState = value; return this; }
        public Date getCompletedDate() { return completedDate; }
        public DeviceOrderState setCompletedDate(Date value) { this.completedDate = value; return this; }
        public String getAmwInfo() { return amwInfo; }
        public DeviceOrderState setAmwInfo(String value) { this.amwInfo = value; return this; }
    }

    public static enum DeviceOrderKind
    {
        Assembly,
        Maintenance,
        Exchange,
        Reading,
        Inspection,
        MainReading;
    }

    @DataContract
    public static class Orderer
    {
        @DataMember(Name="Guid")
        @SerializedName("Guid")
        public UUID guid = null;

        @DataMember(Name="Person")
        @SerializedName("Person")
        public Person person = null;

        @DataMember(Name="BetrieblichePosition")
        @SerializedName("BetrieblichePosition")
        public String businessPosition = null;
        
        public UUID getGuid() { return guid; }
        public Orderer setGuid(UUID value) { this.guid = value; return this; }
        public Person getPerson() { return person; }
        public Orderer setPerson(Person value) { this.person = value; return this; }
        public String getBusinessPosition() { return businessPosition; }
        public Orderer setBusinessPosition(String value) { this.businessPosition = value; return this; }
    }

    @DataContract
    public static class Person
    {
        @DataMember(Name="Guid")
        @SerializedName("Guid")
        public UUID guid = null;

        @DataMember(Name="LastModified")
        @SerializedName("LastModified")
        public Date lastModified = null;

        @DataMember(Name="Nachname1")
        @SerializedName("Nachname1")
        public String lastname1 = null;

        @DataMember(Name="Nachname2")
        @SerializedName("Nachname2")
        public String lastname2 = null;

        @DataMember(Name="Nachname3")
        @SerializedName("Nachname3")
        public String lastname3 = null;

        @DataMember(Name="Vorname1")
        @SerializedName("Vorname1")
        public String firstname1 = null;

        @DataMember(Name="Vorname2")
        @SerializedName("Vorname2")
        public String firstname2 = null;

        @DataMember(Name="Anmerkung")
        @SerializedName("Anmerkung")
        public String note = null;

        @DataMember(Name="Anrede")
        @SerializedName("Anrede")
        public String salutation = null;

        @DataMember(Name="Titel")
        @SerializedName("Titel")
        public String title = null;

        @DataMember(Name="PersonKommunikationen")
        @SerializedName("PersonKommunikationen")
        public ArrayList<PersonCommunication> personCommunications = null;
        
        public UUID getGuid() { return guid; }
        public Person setGuid(UUID value) { this.guid = value; return this; }
        public Date getLastModified() { return lastModified; }
        public Person setLastModified(Date value) { this.lastModified = value; return this; }
        public String getLastname1() { return lastname1; }
        public Person setLastname1(String value) { this.lastname1 = value; return this; }
        public String getLastname2() { return lastname2; }
        public Person setLastname2(String value) { this.lastname2 = value; return this; }
        public String getLastname3() { return lastname3; }
        public Person setLastname3(String value) { this.lastname3 = value; return this; }
        public String getFirstname1() { return firstname1; }
        public Person setFirstname1(String value) { this.firstname1 = value; return this; }
        public String getFirstname2() { return firstname2; }
        public Person setFirstname2(String value) { this.firstname2 = value; return this; }
        public String getNote() { return note; }
        public Person setNote(String value) { this.note = value; return this; }
        public String getSalutation() { return salutation; }
        public Person setSalutation(String value) { this.salutation = value; return this; }
        public String getTitle() { return title; }
        public Person setTitle(String value) { this.title = value; return this; }
        public ArrayList<PersonCommunication> getPersonCommunications() { return personCommunications; }
        public Person setPersonCommunications(ArrayList<PersonCommunication> value) { this.personCommunications = value; return this; }
    }

    @DataContract
    public static class PersonCommunication
    {
        @DataMember(Name="Guid")
        @SerializedName("Guid")
        public UUID guid = null;

        @DataMember(Name="LastModified")
        @SerializedName("LastModified")
        public Date lastModified = null;

        @DataMember(Name="Adresse")
        @SerializedName("Adresse")
        public String address = null;

        @DataMember(Name="Anmerkung")
        @SerializedName("Anmerkung")
        public String note = null;

        @DataMember(Name="KommunikationsFunktionGuid")
        @SerializedName("KommunikationsFunktionGuid")
        public UUID communicationFeatureGuid = null;
        
        public UUID getGuid() { return guid; }
        public PersonCommunication setGuid(UUID value) { this.guid = value; return this; }
        public Date getLastModified() { return lastModified; }
        public PersonCommunication setLastModified(Date value) { this.lastModified = value; return this; }
        public String getAddress() { return address; }
        public PersonCommunication setAddress(String value) { this.address = value; return this; }
        public String getNote() { return note; }
        public PersonCommunication setNote(String value) { this.note = value; return this; }
        public UUID getCommunicationFeatureGuid() { return communicationFeatureGuid; }
        public PersonCommunication setCommunicationFeatureGuid(UUID value) { this.communicationFeatureGuid = value; return this; }
    }

    @DataContract
    public static class Signature
    {
        @DataMember(Name="Guid")
        @SerializedName("Guid")
        public UUID guid = null;

        @DataMember(Name="Timestamp")
        @SerializedName("Timestamp")
        public Date recordedDate = null;

        @DataMember(Name="UnterschriftArt")
        @SerializedName("UnterschriftArt")
        public SignatureKind kind = null;

        @DataMember(Name="NutzeinheitGuid")
        @SerializedName("NutzeinheitGuid")
        public UUID nutzeinheitGuid = null;
        
        public UUID getGuid() { return guid; }
        public Signature setGuid(UUID value) { this.guid = value; return this; }
        public Date getRecordedDate() { return recordedDate; }
        public Signature setRecordedDate(Date value) { this.recordedDate = value; return this; }
        public SignatureKind getKind() { return kind; }
        public Signature setKind(SignatureKind value) { this.kind = value; return this; }
        public UUID getNutzeinheitGuid() { return nutzeinheitGuid; }
        public Signature setNutzeinheitGuid(UUID value) { this.nutzeinheitGuid = value; return this; }
    }

    public static enum SignatureKind
    {
        Nutzer,
        Technician;
    }

    public static class Abrechnungseinheit
    {
        @DataMember(Name="Guid")
        @SerializedName("Guid")
        public UUID guid = null;

        @DataMember(Name="LastModified")
        @SerializedName("LastModified")
        public Date lastModified = null;

        @DataMember(Name="Objektnummer")
        @SerializedName("Objektnummer")
        public String number = null;

        @DataMember(Name="Notiz")
        @SerializedName("Notiz")
        public String note = null;

        @DataMember(Name="NotizIntern")
        @SerializedName("NotizIntern")
        public String noteInternal = null;

        @DataMember(Name="NotizLegionellen")
        @SerializedName("NotizLegionellen")
        public String noteLegionella = null;

        @DataMember(Name="Kunde")
        @SerializedName("Kunde")
        public Customer customer = null;

        @DataMember(Name="Adresse")
        @SerializedName("Adresse")
        public Address address = null;

        @DataMember(Name="BillingPeriodEnd")
        @SerializedName("BillingPeriodEnd")
        public Date billigPeriodEnd = null;

        @DataMember(Name="PersonAbrechnungseinheit")
        @SerializedName("PersonAbrechnungseinheit")
        public IList<PersonAbrechnungseinheit> personAbrechnungseinheiten = null;

        @DataMember(Name="Persons")
        @SerializedName("Persons")
        public IList<Person> persons = null;
        
        public UUID getGuid() { return guid; }
        public Abrechnungseinheit setGuid(UUID value) { this.guid = value; return this; }
        public Date getLastModified() { return lastModified; }
        public Abrechnungseinheit setLastModified(Date value) { this.lastModified = value; return this; }
        public String getNumber() { return number; }
        public Abrechnungseinheit setNumber(String value) { this.number = value; return this; }
        public String getNote() { return note; }
        public Abrechnungseinheit setNote(String value) { this.note = value; return this; }
        public String getNoteInternal() { return noteInternal; }
        public Abrechnungseinheit setNoteInternal(String value) { this.noteInternal = value; return this; }
        public String getNoteLegionella() { return noteLegionella; }
        public Abrechnungseinheit setNoteLegionella(String value) { this.noteLegionella = value; return this; }
        public Customer getCustomer() { return customer; }
        public Abrechnungseinheit setCustomer(Customer value) { this.customer = value; return this; }
        public Address getAddress() { return address; }
        public Abrechnungseinheit setAddress(Address value) { this.address = value; return this; }
        public Date getBilligPeriodEnd() { return billigPeriodEnd; }
        public Abrechnungseinheit setBilligPeriodEnd(Date value) { this.billigPeriodEnd = value; return this; }
        public IList<PersonAbrechnungseinheit> getPersonAbrechnungseinheiten() { return personAbrechnungseinheiten; }
        public Abrechnungseinheit setPersonAbrechnungseinheiten(IList<PersonAbrechnungseinheit> value) { this.personAbrechnungseinheiten = value; return this; }
        public IList<Person> getPersons() { return persons; }
        public Abrechnungseinheit setPersons(IList<Person> value) { this.persons = value; return this; }
    }

    @DataContract
    public static class Customer
    {
        @DataMember(Name="Guid")
        @SerializedName("Guid")
        public UUID guid = null;

        @DataMember(Name="Name")
        @SerializedName("Name")
        public String name = null;

        @DataMember(Name="Name2")
        @SerializedName("Name2")
        public String name2 = null;

        @DataMember(Name="Name3")
        @SerializedName("Name3")
        public String name3 = null;

        @DataMember(Name="Kundennummer")
        @SerializedName("Kundennummer")
        public String number = null;

        @DataMember(Name="Notiz")
        @SerializedName("Notiz")
        public String note = null;

        @DataMember(Name="Anrede")
        @SerializedName("Anrede")
        public String salutation = null;
        
        public UUID getGuid() { return guid; }
        public Customer setGuid(UUID value) { this.guid = value; return this; }
        public String getName() { return name; }
        public Customer setName(String value) { this.name = value; return this; }
        public String getName2() { return name2; }
        public Customer setName2(String value) { this.name2 = value; return this; }
        public String getName3() { return name3; }
        public Customer setName3(String value) { this.name3 = value; return this; }
        public String getNumber() { return number; }
        public Customer setNumber(String value) { this.number = value; return this; }
        public String getNote() { return note; }
        public Customer setNote(String value) { this.note = value; return this; }
        public String getSalutation() { return salutation; }
        public Customer setSalutation(String value) { this.salutation = value; return this; }
    }

    @DataContract
    public static class PersonAbrechnungseinheit
    {
        @DataMember(Name="Guid")
        @SerializedName("Guid")
        public UUID guid = null;

        @DataMember(Name="LastModified")
        @SerializedName("LastModified")
        public Date lastModified = null;

        @DataMember(Name="Anmerkung")
        @SerializedName("Anmerkung")
        public String note = null;

        @DataMember(Name="PersonGuid")
        @SerializedName("PersonGuid")
        public UUID personGuid = null;

        @DataMember(Name="BetrieblichePosition")
        @SerializedName("BetrieblichePosition")
        public String businessPosition = null;
        
        public UUID getGuid() { return guid; }
        public PersonAbrechnungseinheit setGuid(UUID value) { this.guid = value; return this; }
        public Date getLastModified() { return lastModified; }
        public PersonAbrechnungseinheit setLastModified(Date value) { this.lastModified = value; return this; }
        public String getNote() { return note; }
        public PersonAbrechnungseinheit setNote(String value) { this.note = value; return this; }
        public UUID getPersonGuid() { return personGuid; }
        public PersonAbrechnungseinheit setPersonGuid(UUID value) { this.personGuid = value; return this; }
        public String getBusinessPosition() { return businessPosition; }
        public PersonAbrechnungseinheit setBusinessPosition(String value) { this.businessPosition = value; return this; }
    }

}

Java GetNotes DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

GET /App/{UserId}/Status/Notes HTTP/1.1 
Host: concept2021-servamw.eras-online.de 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Nutzeinheiten":[{"Guid":"00000000000000000000000000000000","LastModified":"0001-01-01T00:00:00.0000000Z","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}}],"Orders":[{"Guid":"00000000000000000000000000000000","LastModified":"0001-01-01T00:00:00.0000000Z","AbrechnungseinheitGuid":"00000000000000000000000000000000","AuftragNummer":"String","Bezeichnung":"String","Anmerkung":"String","UnterschriftBenoetigt":false,"Erstellungsdatum":"0001-01-01T00:00:00.0000000Z","AuftragZustand":{"LastModified":"0001-01-01T00:00:00.0000000Z","Bearbeitungsstatus":"InProgress","AbgeschlossenDatum":"0001-01-01T00:00:00.0000000Z"},"Auftraggeber":{"Guid":"00000000000000000000000000000000","Person":{"Guid":"00000000000000000000000000000000","LastModified":"0001-01-01T00:00:00.0000000Z","Nachname1":"String","Nachname2":"String","Nachname3":"String","Vorname1":"String","Vorname2":"String","Anmerkung":"String","Anrede":"String","Titel":"String"},"BetrieblichePosition":"String"}}],"Abrechnungseinheiten":[{"Guid":"00000000000000000000000000000000","LastModified":"0001-01-01T00:00:00.0000000Z","Objektnummer":"String","Notiz":"String","NotizIntern":"String","NotizLegionellen":"String","Kunde":{"Guid":"00000000000000000000000000000000","Name":"String","Name2":"String","Name3":"String","Kundennummer":"String","Notiz":"String","Anrede":"String"},"Adresse":{"Guid":"00000000000000000000000000000000","Straße":"String","Straße2":"String","Hausnummer":"String","Postleitzahl":"String","Ort":"String","Postfach":"String","Adresszusatz":"String","Breitengrad":0,"Laengengrad":0},"BillingPeriodEnd":"0001-01-01T00:00:00.0000000Z"}],"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}