Server

<back to all web services

GetBrennstoffList

Brennstofflieferung
Requires Authentication
The following routes are available for this service:
GET/api/v1/brennstofflieferung
"use strict";
export class BillingInformation {
    /** @param {{guid?:string,from?:string,to?:string,isCompleted?:boolean,hasNebenkosten?:boolean}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    guid;
    /** @type {string} */
    from;
    /** @type {string} */
    to;
    /** @type {boolean} */
    isCompleted;
    /** @type {boolean} */
    hasNebenkosten;
}
export class Brennstofflieferung {
    /** @param {{guid?:string,deliveryDate?:string,salexTax?:number,emisionsTax?:number,c02Taxes?:number,customsTax?:number,otherCharges?:number,c02Price?:number,c02Tons?:number,quantity?:number,amount?:number,startMeterReadingValue?:number,endMeterReadingValue?:number,heizwert?:number,brennwert?:boolean,energyReliefAmountDescription?:string,energyReliefAmount?:number,electricityReliefAmountDescription?:string,electricityReliefAmount?:number,cO2EmissionsFactor?:number,cO2Text?:string,cO2Active?:boolean,cO2PriceKnd?:boolean,cO2PriceLandlord?:number,cO2PriceRenter?:number,cO2Area?:number,isForCommercialUse?:boolean,isRenovationRequired?:boolean,isHeatingPadsImproved?:boolean,cO2KWh?:number,includedCO2SalesTax?:number,cO2Costs?:number,totalC02Weight?:number,noTotalDeductionC02Costs?:boolean,isDeleted?:boolean,isCreatedByApp?:boolean,brennstoffMediumGuid?:string,billingInformation?:BillingInformation}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    guid;
    /** @type {string} */
    deliveryDate;
    /** @type {?number} */
    salexTax;
    /** @type {?number} */
    emisionsTax;
    /** @type {?number} */
    c02Taxes;
    /** @type {?number} */
    customsTax;
    /** @type {?number} */
    otherCharges;
    /** @type {?number} */
    c02Price;
    /** @type {?number} */
    c02Tons;
    /** @type {?number} */
    quantity;
    /** @type {?number} */
    amount;
    /** @type {?number} */
    startMeterReadingValue;
    /** @type {?number} */
    endMeterReadingValue;
    /** @type {number} */
    heizwert;
    /** @type {boolean} */
    brennwert;
    /** @type {string} */
    energyReliefAmountDescription;
    /** @type {?number} */
    energyReliefAmount;
    /** @type {string} */
    electricityReliefAmountDescription;
    /** @type {?number} */
    electricityReliefAmount;
    /** @type {?number} */
    cO2EmissionsFactor;
    /** @type {string} */
    cO2Text;
    /** @type {?boolean} */
    cO2Active;
    /** @type {?boolean} */
    cO2PriceKnd;
    /** @type {?number} */
    cO2PriceLandlord;
    /** @type {?number} */
    cO2PriceRenter;
    /** @type {?number} */
    cO2Area;
    /** @type {?boolean} */
    isForCommercialUse;
    /** @type {?boolean} */
    isRenovationRequired;
    /** @type {?boolean} */
    isHeatingPadsImproved;
    /** @type {?number} */
    cO2KWh;
    /** @type {?number} */
    includedCO2SalesTax;
    /** @type {?number} */
    cO2Costs;
    /** @type {?number} */
    totalC02Weight;
    /** @type {?boolean} */
    noTotalDeductionC02Costs;
    /** @type {boolean} */
    isDeleted;
    /** @type {boolean} */
    isCreatedByApp;
    /** @type {string} */
    brennstoffMediumGuid;
    /** @type {BillingInformation} */
    billingInformation;
}
export class BrennstoffMedium {
    /** @param {{Guid?:string,Bezeichnung?:string,Lagernd?:boolean,EinheitTyp?:string,Heizwert?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    Guid;
    /** @type {string} */
    Bezeichnung;
    /** @type {boolean} */
    Lagernd;
    /** @type {string} */
    EinheitTyp;
    /** @type {?number} */
    Heizwert;
}
export class GetBrennstoffListResponse {
    /** @param {{brennstofflieferungen?:Brennstofflieferung[],brennstoffMedium?:BrennstoffMedium[],responseStatus?:ResponseStatus}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {Brennstofflieferung[]} */
    brennstofflieferungen;
    /** @type {BrennstoffMedium[]} */
    brennstoffMedium;
    /** @type {ResponseStatus} */
    responseStatus;
}
export class GetBrennstoffList {
    /** @param {{bearerToken?:string,filter_ObjektGuid_?:string,filter_EnergieVerwerterGuid_?:string,filter_BillingInformationGuid_?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    bearerToken;
    /**
     * @type {string}
     * @description Optional! Follow the format : /api/v1/brennstofflieferung?filter[ObjektGuid]=* */
    filter_ObjektGuid_;
    /**
     * @type {string}
     * @description Optional! Follow the format : /api/v1/brennstofflieferung?filter[EnergieVerwerterGuid]=* */
    filter_EnergieVerwerterGuid_;
    /**
     * @type {string}
     * @description Optional! Follow the format : /api/v1/brennstofflieferung?filter[BillingInformationGuid]=* */
    filter_BillingInformationGuid_;
}

JavaScript GetBrennstoffList 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.

GET /api/v1/brennstofflieferung HTTP/1.1 
Host: andreiuologmbh-servdesk.eras-online.de 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetBrennstoffListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eras2Web.Service.Desktop.Server.ServiceModel.Eras2WebExt.Get">
  <BrennstoffMedium xmlns:d2p1="http://schemas.datacontract.org/2004/07/Eras2Web.Service.Desktop.Server.ServiceModel.Stammdaten" i:nil="true" />
  <Brennstofflieferungen xmlns:d2p1="http://schemas.datacontract.org/2004/07/Eras2Web.Service.Desktop.Server.ServiceModel.Eras2WebExt.Models" i:nil="true" />
  <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>
</GetBrennstoffListResponse>