Server

<back to all web services

PutHeizbetriebskosten

Heizbetriebskosten
Requires Authentication
The following routes are available for this service:
PUT/api/v1/heizbetriebskosten
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class PutHeizbetriebskosten implements IHasBearerToken
    {
        @ApiMember(IsRequired=true, ParameterType="body")
        public Heizbetriebskosten heizbetriebskosten = null;

        @ApiMember(IsRequired=true, ParameterType="body")
        public RelatedTo relatedToObjekt = null;

        @ApiMember(IsRequired=true, ParameterType="body")
        public RelatedTo relatedToBillingInformation = null;

        @ApiMember(IsRequired=true, ParameterType="body")
        public String bearerToken = null;
        
        public Heizbetriebskosten getHeizbetriebskosten() { return heizbetriebskosten; }
        public PutHeizbetriebskosten setHeizbetriebskosten(Heizbetriebskosten value) { this.heizbetriebskosten = value; return this; }
        public RelatedTo getRelatedToObjekt() { return relatedToObjekt; }
        public PutHeizbetriebskosten setRelatedToObjekt(RelatedTo value) { this.relatedToObjekt = value; return this; }
        public RelatedTo getRelatedToBillingInformation() { return relatedToBillingInformation; }
        public PutHeizbetriebskosten setRelatedToBillingInformation(RelatedTo value) { this.relatedToBillingInformation = value; return this; }
        public String getBearerToken() { return bearerToken; }
        public PutHeizbetriebskosten setBearerToken(String value) { this.bearerToken = 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; }
    }

    @DataContract
    public static class RelatedTo
    {
        @DataMember
        public UUID guid = null;
        
        public UUID getGuid() { return guid; }
        public RelatedTo setGuid(UUID value) { this.guid = value; return this; }
    }

    public static class PutHeizbetriebskostenResponse
    {
        public ResponseStatus responseStatus = null;
        
        public ResponseStatus getResponseStatus() { return responseStatus; }
        public PutHeizbetriebskostenResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
    }

}

Java PutHeizbetriebskosten DTOs

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.

PUT /api/v1/heizbetriebskosten HTTP/1.1 
Host: dumpro-servdesk.eras-online.de 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<PutHeizbetriebskosten xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eras2Web.Service.Desktop.Server.ServiceModel.Eras2WebExt.Put">
  <BearerToken>String</BearerToken>
  <Heizbetriebskosten xmlns:d2p1="http://schemas.datacontract.org/2004/07/Eras2Web.Service.Desktop.Server.ServiceModel.Eras2WebExt.Models">
    <d2p1:Brutto>0</d2p1:Brutto>
    <d2p1:Description>String</d2p1:Description>
    <d2p1:From>0001-01-01T00:00:00</d2p1:From>
    <d2p1:Guid>00000000-0000-0000-0000-000000000000</d2p1:Guid>
    <d2p1:HaushatlsnahediensteBrutto>0</d2p1:HaushatlsnahediensteBrutto>
    <d2p1:HaushatlsnahediensteLabel>String</d2p1:HaushatlsnahediensteLabel>
    <d2p1:IsCreatedByApp>false</d2p1:IsCreatedByApp>
    <d2p1:IsDeleted>false</d2p1:IsDeleted>
    <d2p1:SalesTax>0</d2p1:SalesTax>
    <d2p1:To>0001-01-01T00:00:00</d2p1:To>
  </Heizbetriebskosten>
  <RelatedToBillingInformation xmlns:d2p1="http://schemas.datacontract.org/2004/07/Eras2Web.Service.Desktop.Server.ServiceModel.Eras2WebExt.Models">
    <d2p1:Guid>00000000-0000-0000-0000-000000000000</d2p1:Guid>
  </RelatedToBillingInformation>
  <RelatedToObjekt xmlns:d2p1="http://schemas.datacontract.org/2004/07/Eras2Web.Service.Desktop.Server.ServiceModel.Eras2WebExt.Models">
    <d2p1:Guid>00000000-0000-0000-0000-000000000000</d2p1:Guid>
  </RelatedToObjekt>
</PutHeizbetriebskosten>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<PutHeizbetriebskostenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eras2Web.Service.Desktop.Server.ServiceModel.Eras2WebExt.Put">
  <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>
</PutHeizbetriebskostenResponse>