Server

<back to all web services

GetHeizbetriebskostenList

Heizbetriebskosten
Requires Authentication
The following routes are available for this service:
GET/api/v1/heizbetriebskosten
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;

public class dtos
{

    public static class GetHeizbetriebskostenList implements IHasBearerToken
    {
        @ApiMember(IsRequired=true, ParameterType="query")
        public String bearerToken = null;

        /**
        * Optional! Follow the format : /api/v1/heizbetriebskosten?filter[ObjektGuid]=*
        */
        @DataMember(Name="filter[ObjektGuid]")
        @SerializedName("filter[ObjektGuid]")
        @ApiMember(Description="Optional! Follow the format : /api/v1/heizbetriebskosten?filter[ObjektGuid]=*", ParameterType="query")
        public String filterByObjektGuid = null;

        /**
        * Optional! Follow the format : /api/v1/heizbetriebskosten?filter[BillingInformationGuid]=*
        */
        @DataMember(Name="filter[BillingInformationGuid]")
        @SerializedName("filter[BillingInformationGuid]")
        @ApiMember(Description="Optional! Follow the format : /api/v1/heizbetriebskosten?filter[BillingInformationGuid]=*", ParameterType="query")
        public String filterByBillingInformationGuid = null;
        
        public String getBearerToken() { return bearerToken; }
        public GetHeizbetriebskostenList setBearerToken(String value) { this.bearerToken = value; return this; }
        public String getFilterByObjektGuid() { return filterByObjektGuid; }
        public GetHeizbetriebskostenList setFilterByObjektGuid(String value) { this.filterByObjektGuid = value; return this; }
        public String getFilterByBillingInformationGuid() { return filterByBillingInformationGuid; }
        public GetHeizbetriebskostenList setFilterByBillingInformationGuid(String value) { this.filterByBillingInformationGuid = value; return this; }
    }

    public static class GetHeizbetriebskostenListResponse
    {
        public ArrayList<Heizbetriebskosten> heizbetriebskostenList = null;
        public ResponseStatus responseStatus = null;
        
        public ArrayList<Heizbetriebskosten> getHeizbetriebskostenList() { return heizbetriebskostenList; }
        public GetHeizbetriebskostenListResponse setHeizbetriebskostenList(ArrayList<Heizbetriebskosten> value) { this.heizbetriebskostenList = value; return this; }
        public ResponseStatus getResponseStatus() { return responseStatus; }
        public GetHeizbetriebskostenListResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
    }

    @DataContract
    public static class Heizbetriebskosten
    {
        @DataMember
        public UUID guid = null;

        @DataMember
        public Date from = null;

        @DataMember
        public Date to = null;

        @DataMember
        public BigDecimal salesTax = null;

        @DataMember
        public BigDecimal haushatlsnahediensteBrutto = null;

        @DataMember
        public BigDecimal brutto = null;

        @DataMember
        public String haushatlsnahediensteLabel = null;

        @DataMember
        public String description = null;

        @DataMember
        public Boolean isDeleted = null;

        @DataMember
        public Boolean isCreatedByApp = null;
        
        public UUID getGuid() { return guid; }
        public Heizbetriebskosten setGuid(UUID value) { this.guid = value; return this; }
        public Date getFrom() { return from; }
        public Heizbetriebskosten setFrom(Date value) { this.from = value; return this; }
        public Date getTo() { return to; }
        public Heizbetriebskosten setTo(Date value) { this.to = value; return this; }
        public BigDecimal getSalesTax() { return salesTax; }
        public Heizbetriebskosten setSalesTax(BigDecimal value) { this.salesTax = value; return this; }
        public BigDecimal getHaushatlsnahediensteBrutto() { return haushatlsnahediensteBrutto; }
        public Heizbetriebskosten setHaushatlsnahediensteBrutto(BigDecimal value) { this.haushatlsnahediensteBrutto = value; return this; }
        public BigDecimal getBrutto() { return brutto; }
        public Heizbetriebskosten setBrutto(BigDecimal value) { this.brutto = value; return this; }
        public String getHaushatlsnahediensteLabel() { return haushatlsnahediensteLabel; }
        public Heizbetriebskosten setHaushatlsnahediensteLabel(String value) { this.haushatlsnahediensteLabel = value; return this; }
        public String getDescription() { return description; }
        public Heizbetriebskosten setDescription(String value) { this.description = value; return this; }
        public Boolean getIsDeleted() { return isDeleted; }
        public Heizbetriebskosten setIsDeleted(Boolean value) { this.isDeleted = value; return this; }
        public Boolean getIsCreatedByApp() { return isCreatedByApp; }
        public Heizbetriebskosten setIsCreatedByApp(Boolean value) { this.isCreatedByApp = value; return this; }
    }

}

Java GetHeizbetriebskostenList DTOs

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.

GET /api/v1/heizbetriebskosten HTTP/1.1 
Host: develop-servdesk.eras-online.de 
Accept: text/jsv
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
		}
	}
}