Server

<back to all web services

GetHkEvaluations

Requires Authentication
The following routes are available for this service:
GET/App/{UserId}/HkEvaluations
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 GetHkEvaluations extends Eras2AppServiceModelBase
    {
        @DataMember(Name="DeviceGuids")
        @SerializedName("DeviceGuids")
        public IList<UUID> deviceGuids = null;

        @DataMember(Name="ReceivedSince")
        @SerializedName("ReceivedSince")
        public Date receivedSince = null;

        @DataMember(Name="LatestPerDeviceOnly")
        @SerializedName("LatestPerDeviceOnly")
        public Boolean latestPerDeviceOnly = null;
        
        public IList<UUID> getDeviceGuids() { return deviceGuids; }
        public GetHkEvaluations setDeviceGuids(IList<UUID> value) { this.deviceGuids = value; return this; }
        public Date getReceivedSince() { return receivedSince; }
        public GetHkEvaluations setReceivedSince(Date value) { this.receivedSince = value; return this; }
        public Boolean isLatestPerDeviceOnly() { return latestPerDeviceOnly; }
        public GetHkEvaluations setLatestPerDeviceOnly(Boolean value) { this.latestPerDeviceOnly = value; return this; }
    }

    @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; }
    }

    @DataContract
    public static class GetHkEvaluationsResponse
    {
        @DataMember(Name="Evaluations")
        @SerializedName("Evaluations")
        public IList<HkEvaluation> evaluations = null;

        @DataMember(Name="ResponseStatus")
        @SerializedName("ResponseStatus")
        public ResponseStatus responseStatus = null;
        
        public IList<HkEvaluation> getEvaluations() { return evaluations; }
        public GetHkEvaluationsResponse setEvaluations(IList<HkEvaluation> value) { this.evaluations = value; return this; }
        public ResponseStatus getResponseStatus() { return responseStatus; }
        public GetHkEvaluationsResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
    }

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

        @DataMember(Name="DeviceGuid")
        @SerializedName("DeviceGuid")
        public UUID deviceGuid = null;

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

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

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

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

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

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

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

        @DataMember(Name="GroupId")
        @SerializedName("GroupId")
        public Integer groupId = null;

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

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

        @DataMember(Name="RadiatisRadiatorId")
        @SerializedName("RadiatisRadiatorId")
        public Integer radiatisRadiatorId = null;

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

        @DataMember(Name="Match")
        @SerializedName("Match")
        public Integer match = null;

        @DataMember(Name="KcValue")
        @SerializedName("KcValue")
        public BigDecimal kcValue = null;

        @DataMember(Name="KqValue")
        @SerializedName("KqValue")
        public BigDecimal kqValue = null;

        @DataMember(Name="Created")
        @SerializedName("Created")
        public Date created = null;

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

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

        @DataMember(Name="ReceivedAt")
        @SerializedName("ReceivedAt")
        public Date receivedAt = null;

        @DataMember(Name="Parameters")
        @SerializedName("Parameters")
        public IList<HkEvaluationParameter> parameters = null;

        @DataMember(Name="Attributes")
        @SerializedName("Attributes")
        public IList<HkEvaluationAttribute> attributes = null;
        
        public UUID getGuid() { return guid; }
        public HkEvaluation setGuid(UUID value) { this.guid = value; return this; }
        public UUID getDeviceGuid() { return deviceGuid; }
        public HkEvaluation setDeviceGuid(UUID value) { this.deviceGuid = value; return this; }
        public String getDeviceNumber() { return deviceNumber; }
        public HkEvaluation setDeviceNumber(String value) { this.deviceNumber = value; return this; }
        public String getNutzeinheitNumber() { return nutzeinheitNumber; }
        public HkEvaluation setNutzeinheitNumber(String value) { this.nutzeinheitNumber = value; return this; }
        public String getNutzeinheitAddress() { return nutzeinheitAddress; }
        public HkEvaluation setNutzeinheitAddress(String value) { this.nutzeinheitAddress = value; return this; }
        public String getHkveModel() { return hkveModel; }
        public HkEvaluation setHkveModel(String value) { this.hkveModel = value; return this; }
        public String getHkveModelCustom() { return hkveModelCustom; }
        public HkEvaluation setHkveModelCustom(String value) { this.hkveModelCustom = value; return this; }
        public String getMountingPoint() { return mountingPoint; }
        public HkEvaluation setMountingPoint(String value) { this.mountingPoint = value; return this; }
        public String getMountingPointCustom() { return mountingPointCustom; }
        public HkEvaluation setMountingPointCustom(String value) { this.mountingPointCustom = value; return this; }
        public Integer getGroupId() { return groupId; }
        public HkEvaluation setGroupId(Integer value) { this.groupId = value; return this; }
        public String getGroupName() { return groupName; }
        public HkEvaluation setGroupName(String value) { this.groupName = value; return this; }
        public String getTopMatch() { return topMatch; }
        public HkEvaluation setTopMatch(String value) { this.topMatch = value; return this; }
        public Integer getRadiatisRadiatorId() { return radiatisRadiatorId; }
        public HkEvaluation setRadiatisRadiatorId(Integer value) { this.radiatisRadiatorId = value; return this; }
        public String getModelNoteReference() { return modelNoteReference; }
        public HkEvaluation setModelNoteReference(String value) { this.modelNoteReference = value; return this; }
        public Integer getMatch() { return match; }
        public HkEvaluation setMatch(Integer value) { this.match = value; return this; }
        public BigDecimal getKcValue() { return kcValue; }
        public HkEvaluation setKcValue(BigDecimal value) { this.kcValue = value; return this; }
        public BigDecimal getKqValue() { return kqValue; }
        public HkEvaluation setKqValue(BigDecimal value) { this.kqValue = value; return this; }
        public Date getCreated() { return created; }
        public HkEvaluation setCreated(Date value) { this.created = value; return this; }
        public Date getLastModified() { return lastModified; }
        public HkEvaluation setLastModified(Date value) { this.lastModified = value; return this; }
        public String getTechnicianUserId() { return technicianUserId; }
        public HkEvaluation setTechnicianUserId(String value) { this.technicianUserId = value; return this; }
        public Date getReceivedAt() { return receivedAt; }
        public HkEvaluation setReceivedAt(Date value) { this.receivedAt = value; return this; }
        public IList<HkEvaluationParameter> getParameters() { return parameters; }
        public HkEvaluation setParameters(IList<HkEvaluationParameter> value) { this.parameters = value; return this; }
        public IList<HkEvaluationAttribute> getAttributes() { return attributes; }
        public HkEvaluation setAttributes(IList<HkEvaluationAttribute> value) { this.attributes = value; return this; }
    }

    @DataContract
    public static class HkEvaluationParameter
    {
        @DataMember(Name="RadiatisId")
        @SerializedName("RadiatisId")
        public Integer radiatisId = null;

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

        @DataMember(Name="Value")
        @SerializedName("Value")
        public String value = null;
        
        public Integer getRadiatisId() { return radiatisId; }
        public HkEvaluationParameter setRadiatisId(Integer value) { this.radiatisId = value; return this; }
        public String getCode() { return code; }
        public HkEvaluationParameter setCode(String value) { this.code = value; return this; }
        public String getValue() { return value; }
        public HkEvaluationParameter setValue(String value) { this.value = value; return this; }
    }

    @DataContract
    public static class HkEvaluationAttribute
    {
        @DataMember(Name="RadiatisId")
        @SerializedName("RadiatisId")
        public Integer radiatisId = null;

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

        @DataMember(Name="Value")
        @SerializedName("Value")
        public Integer value = null;
        
        public Integer getRadiatisId() { return radiatisId; }
        public HkEvaluationAttribute setRadiatisId(Integer value) { this.radiatisId = value; return this; }
        public String getCode() { return code; }
        public HkEvaluationAttribute setCode(String value) { this.code = value; return this; }
        public Integer getValue() { return value; }
        public HkEvaluationAttribute setValue(Integer value) { this.value = value; return this; }
    }

}

Java GetHkEvaluations DTOs

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

HTTP + CSV

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

GET /App/{UserId}/HkEvaluations HTTP/1.1 
Host: andreiuologmbh-servamw.eras-online.de 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}