| GET | /api/v1/heizbetriebskosten/{Guid} |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class GetHeizbetriebskosten implements IHasBearerToken
{
@ApiMember(IsRequired=true, ParameterType="query")
public String bearerToken = null;
@ApiMember(IsRequired=true, ParameterType="path")
public UUID guid = null;
public String getBearerToken() { return bearerToken; }
public GetHeizbetriebskosten setBearerToken(String value) { this.bearerToken = value; return this; }
public UUID getGuid() { return guid; }
public GetHeizbetriebskosten setGuid(UUID value) { this.guid = value; return this; }
}
public static class GetDirektkostenResponse
{
public Direktkosten direktkosten = null;
public ResponseStatus responseStatus = null;
public Direktkosten getDirektkosten() { return direktkosten; }
public GetDirektkostenResponse setDirektkosten(Direktkosten value) { this.direktkosten = value; return this; }
public ResponseStatus getResponseStatus() { return responseStatus; }
public GetDirektkostenResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
}
@DataContract
public static class Direktkosten
{
@DataMember
public UUID guid = null;
@DataMember
public String label = null;
@DataMember
public Date date = null;
@DataMember
public BigDecimal brutto = null;
@DataMember
public BigDecimal salesTax = null;
@DataMember
public BigDecimal quantity = null;
@DataMember
public String type = null;
@DataMember
public Boolean isDeleted = null;
@DataMember
public Boolean isCreatedByApp = null;
@DataMember
public UUID nutzerGuid = null;
@DataMember
public BillingInformation billingInformation = null;
public UUID getGuid() { return guid; }
public Direktkosten setGuid(UUID value) { this.guid = value; return this; }
public String getLabel() { return label; }
public Direktkosten setLabel(String value) { this.label = value; return this; }
public Date getDate() { return date; }
public Direktkosten setDate(Date value) { this.date = value; return this; }
public BigDecimal getBrutto() { return brutto; }
public Direktkosten setBrutto(BigDecimal value) { this.brutto = value; return this; }
public BigDecimal getSalesTax() { return salesTax; }
public Direktkosten setSalesTax(BigDecimal value) { this.salesTax = value; return this; }
public BigDecimal getQuantity() { return quantity; }
public Direktkosten setQuantity(BigDecimal value) { this.quantity = value; return this; }
public String getType() { return type; }
public Direktkosten setType(String value) { this.type = value; return this; }
public Boolean getIsDeleted() { return isDeleted; }
public Direktkosten setIsDeleted(Boolean value) { this.isDeleted = value; return this; }
public Boolean getIsCreatedByApp() { return isCreatedByApp; }
public Direktkosten setIsCreatedByApp(Boolean value) { this.isCreatedByApp = value; return this; }
public UUID getNutzerGuid() { return nutzerGuid; }
public Direktkosten setNutzerGuid(UUID value) { this.nutzerGuid = value; return this; }
public BillingInformation getBillingInformation() { return billingInformation; }
public Direktkosten setBillingInformation(BillingInformation value) { this.billingInformation = value; return this; }
}
@DataContract
public static class BillingInformation
{
@DataMember
public String guid = null;
@DataMember
public Date from = null;
@DataMember
public Date to = null;
@DataMember
public Boolean isCompleted = null;
@DataMember
public Boolean hasNebenkosten = null;
public String getGuid() { return guid; }
public BillingInformation setGuid(String value) { this.guid = value; return this; }
public Date getFrom() { return from; }
public BillingInformation setFrom(Date value) { this.from = value; return this; }
public Date getTo() { return to; }
public BillingInformation setTo(Date value) { this.to = value; return this; }
public Boolean getIsCompleted() { return isCompleted; }
public BillingInformation setIsCompleted(Boolean value) { this.isCompleted = value; return this; }
public Boolean isHasNebenkosten() { return hasNebenkosten; }
public BillingInformation setHasNebenkosten(Boolean value) { this.hasNebenkosten = value; return this; }
}
}
Java GetHeizbetriebskosten DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/v1/heizbetriebskosten/{Guid} HTTP/1.1
Host: inea-servdesk.eras-online.de
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"direktkosten":{"guid":"00000000000000000000000000000000","label":"String","date":"0001-01-01T00:00:00.0000000Z","brutto":0,"salesTax":0,"quantity":0,"type":"String","isDeleted":false,"isCreatedByApp":false,"nutzerGuid":"00000000000000000000000000000000","billingInformation":{"guid":"String","from":"0001-01-01T00:00:00.0000000Z","to":"0001-01-01T00:00:00.0000000Z","isCompleted":false,"hasNebenkosten":false}},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}