BazeField Services

<back to all web services

GetAllocationStatisticsChart

Allocations API
Requires Authentication
The following routes are available for this service:
GET/api/turbines/{TurbineIds}/allocations/{Type}/statisticsChart/from/{From}/to/{To}
GET/api/turbines/{TurbineIds}/allocations/{Type}/statistics/from/{From}/to/{To}
GET/api/turbines/allocations/{Type}/statisticsChart/from/{From}/to/{To}
GET,POST/api/turbines/allocations/{Type}/statistics/from/{From}/to/{To}
GET/api/turbines/allocations/statisticsChart
GET,POST/api/turbines/allocations/statistics
GetAllocationStatisticsChart Parameters:
NameParameterData TypeRequiredDescription
ChartTypebodystringNo
ChartBybodystringNo
Heightbodyint?No
Widthbodyint?No
FindTurbineAllocationStatistics Parameters:
NameParameterData TypeRequiredDescription
TurbineIdsformList<string>No
SourceIdsformList<string>No
CategoryIdsformList<string>No
TypeformstringNo
FromformstringNo
ToformstringNo
OrderByformstringNo
ThenByformstringNo
AllocationCategoriesFilterformList<string>No
Takeformint?No
ChartGroupformstringNo
IncludeAvailableformboolNo
IncludeExcludedformboolNo
InObjectTimeformbool?No
CompatibilityModeformbool?No
CompatibilityModeForDrillDownformbool?No
AllocationStatsReplyList Parameters:
NameParameterData TypeRequiredDescription
TotalAvailabilityformdoubleNo
ProductionAvailabilityformdouble?No
HasDeratedCategoriesformboolNo
TotalLostMoneyformdoubleNo
TotalLostProductionformdoubleNo
TotalUnavailableLostMoneyformdoubleNo
TotalUnavailableProductionformdoubleNo
TotalActualProductionformdoubleNo
TurnoverProductionformdoubleNo
TotalDurationformdoubleNo
TotalCountformdoubleNo
ReportedDurationformdoubleNo
AllocationStatsLostMoneyformdoubleNo
AllocationStatsLostProductionformdoubleNo
AllocationStatsDurationformdoubleNo
AllocationStatsTotalCountformdoubleNo
TotalAssetCountformintNo
AllocationStatsformList<AllocationStats>No
MTTRformdoubleNo
MTBFformdoubleNo
MostFrequentformAllocationStatsNo
LongestDurationformAllocationStatsNo
AssetTechnicalAvailabilityformList<TurbineAvailabilityStats>No
AssetContractualAvailabilityformList<TurbineAvailabilityStats>No
CombinedStatsForDrillDownformboolNo
CombinedStatsForTopDashboardsformboolNo
AllocationStats Parameters:
NameParameterData TypeRequiredDescription
CategoryIdformstringNo
CategoryformstringNo
CategoryGroupformstringNo
CategorySortIndexformbyteNo
DurationformdoubleNo
DurationPercentageformdoubleNo
ErrorRatePercentageformintNo
CountformintNo
TurbinesformintNo
FrequencyformdoubleNo
LostMoneyformdoubleNo
LostProductionformdoubleNo
MTBFformdoubleNo
MTTRformdoubleNo
DowntimePercentageformdoubleNo
AllocatedPercentageformdoubleNo
AvailableformboolNo
ExcludedformintNo
PerformanceformbyteNo
TurbineIdformint?No
TurbineAvailabilityStats Parameters:
NameParameterData TypeRequiredDescription
TurbineIdformintNo
TurbineNameformstringNo
AvailabilityformdoubleNo

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.

POST /api/turbines/allocations/{Type}/statistics/from/{From}/to/{To} HTTP/1.1 
Host: mdn.bazefield.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<GetAllocationStatisticsChart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bazefield.Allocations.WebService">
  <AllocationCategoriesFilter xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </AllocationCategoriesFilter>
  <CategoryIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </CategoryIds>
  <ChartGroup>String</ChartGroup>
  <CompatibilityMode>false</CompatibilityMode>
  <CompatibilityModeForDrillDown>false</CompatibilityModeForDrillDown>
  <From>String</From>
  <InObjectTime>false</InObjectTime>
  <IncludeAvailable>false</IncludeAvailable>
  <IncludeExcluded>false</IncludeExcluded>
  <OrderBy>String</OrderBy>
  <SourceIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </SourceIds>
  <Take>0</Take>
  <ThenBy>String</ThenBy>
  <To>String</To>
  <TurbineIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </TurbineIds>
  <Type>String</Type>
  <ChartBy>String</ChartBy>
  <ChartType>String</ChartType>
  <Height>0</Height>
  <Width>0</Width>
</GetAllocationStatisticsChart>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<AllocationStatsReplyList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bazefield.Allocations.WebService">
  <AllocationStats xmlns:d2p1="http://schemas.datacontract.org/2004/07/Bazefield.Allocations.DataModel.Entities">
    <d2p1:AllocationStats>
      <d2p1:AllocatedPercentage>0</d2p1:AllocatedPercentage>
      <d2p1:Available>false</d2p1:Available>
      <d2p1:Category>String</d2p1:Category>
      <d2p1:CategoryGroup>String</d2p1:CategoryGroup>
      <d2p1:CategoryId>String</d2p1:CategoryId>
      <d2p1:CategorySortIndex>0</d2p1:CategorySortIndex>
      <d2p1:Count>0</d2p1:Count>
      <d2p1:DowntimePercentage>0</d2p1:DowntimePercentage>
      <d2p1:Duration>0</d2p1:Duration>
      <d2p1:DurationPercentage>0</d2p1:DurationPercentage>
      <d2p1:ErrorRatePercentage>0</d2p1:ErrorRatePercentage>
      <d2p1:Frequency>0</d2p1:Frequency>
      <d2p1:LostMoney>0</d2p1:LostMoney>
      <d2p1:LostProduction>0</d2p1:LostProduction>
      <d2p1:MTBF>0</d2p1:MTBF>
      <d2p1:MTTR>0</d2p1:MTTR>
      <d2p1:Performance>0</d2p1:Performance>
      <d2p1:TurbineId>0</d2p1:TurbineId>
      <d2p1:Turbines>0</d2p1:Turbines>
    </d2p1:AllocationStats>
  </AllocationStats>
  <AllocationStatsDuration>0</AllocationStatsDuration>
  <AllocationStatsLostMoney>0</AllocationStatsLostMoney>
  <AllocationStatsLostProduction>0</AllocationStatsLostProduction>
  <AllocationStatsTotalCount>0</AllocationStatsTotalCount>
  <AssetContractualAvailability xmlns:d2p1="http://schemas.datacontract.org/2004/07/Bazefield.Allocations.DataModel.Entities">
    <d2p1:TurbineAvailabilityStats>
      <d2p1:Availability>0</d2p1:Availability>
      <d2p1:TurbineId>0</d2p1:TurbineId>
      <d2p1:TurbineName>String</d2p1:TurbineName>
    </d2p1:TurbineAvailabilityStats>
  </AssetContractualAvailability>
  <AssetTechnicalAvailability xmlns:d2p1="http://schemas.datacontract.org/2004/07/Bazefield.Allocations.DataModel.Entities">
    <d2p1:TurbineAvailabilityStats>
      <d2p1:Availability>0</d2p1:Availability>
      <d2p1:TurbineId>0</d2p1:TurbineId>
      <d2p1:TurbineName>String</d2p1:TurbineName>
    </d2p1:TurbineAvailabilityStats>
  </AssetTechnicalAvailability>
  <HasDeratedCategories>false</HasDeratedCategories>
  <LongestDuration xmlns:d2p1="http://schemas.datacontract.org/2004/07/Bazefield.Allocations.DataModel.Entities">
    <d2p1:AllocatedPercentage>0</d2p1:AllocatedPercentage>
    <d2p1:Available>false</d2p1:Available>
    <d2p1:Category>String</d2p1:Category>
    <d2p1:CategoryGroup>String</d2p1:CategoryGroup>
    <d2p1:CategoryId>String</d2p1:CategoryId>
    <d2p1:CategorySortIndex>0</d2p1:CategorySortIndex>
    <d2p1:Count>0</d2p1:Count>
    <d2p1:DowntimePercentage>0</d2p1:DowntimePercentage>
    <d2p1:Duration>0</d2p1:Duration>
    <d2p1:DurationPercentage>0</d2p1:DurationPercentage>
    <d2p1:ErrorRatePercentage>0</d2p1:ErrorRatePercentage>
    <d2p1:Frequency>0</d2p1:Frequency>
    <d2p1:LostMoney>0</d2p1:LostMoney>
    <d2p1:LostProduction>0</d2p1:LostProduction>
    <d2p1:MTBF>0</d2p1:MTBF>
    <d2p1:MTTR>0</d2p1:MTTR>
    <d2p1:Performance>0</d2p1:Performance>
    <d2p1:TurbineId>0</d2p1:TurbineId>
    <d2p1:Turbines>0</d2p1:Turbines>
  </LongestDuration>
  <MTBF>0</MTBF>
  <MTTR>0</MTTR>
  <MostFrequent xmlns:d2p1="http://schemas.datacontract.org/2004/07/Bazefield.Allocations.DataModel.Entities">
    <d2p1:AllocatedPercentage>0</d2p1:AllocatedPercentage>
    <d2p1:Available>false</d2p1:Available>
    <d2p1:Category>String</d2p1:Category>
    <d2p1:CategoryGroup>String</d2p1:CategoryGroup>
    <d2p1:CategoryId>String</d2p1:CategoryId>
    <d2p1:CategorySortIndex>0</d2p1:CategorySortIndex>
    <d2p1:Count>0</d2p1:Count>
    <d2p1:DowntimePercentage>0</d2p1:DowntimePercentage>
    <d2p1:Duration>0</d2p1:Duration>
    <d2p1:DurationPercentage>0</d2p1:DurationPercentage>
    <d2p1:ErrorRatePercentage>0</d2p1:ErrorRatePercentage>
    <d2p1:Frequency>0</d2p1:Frequency>
    <d2p1:LostMoney>0</d2p1:LostMoney>
    <d2p1:LostProduction>0</d2p1:LostProduction>
    <d2p1:MTBF>0</d2p1:MTBF>
    <d2p1:MTTR>0</d2p1:MTTR>
    <d2p1:Performance>0</d2p1:Performance>
    <d2p1:TurbineId>0</d2p1:TurbineId>
    <d2p1:Turbines>0</d2p1:Turbines>
  </MostFrequent>
  <ProductionAvailability>0</ProductionAvailability>
  <ReportedDuration>0</ReportedDuration>
  <TotalActualProduction>0</TotalActualProduction>
  <TotalAssetCount>0</TotalAssetCount>
  <TotalAvailability>0</TotalAvailability>
  <TotalCount>0</TotalCount>
  <TotalDuration>0</TotalDuration>
  <TotalLostMoney>0</TotalLostMoney>
  <TotalLostProduction>0</TotalLostProduction>
  <TotalUnavailableLostMoney>0</TotalUnavailableLostMoney>
  <TotalUnavailableProduction>0</TotalUnavailableProduction>
  <TurnoverProduction>0</TurnoverProduction>
</AllocationStatsReplyList>