EnergyCAP Developer
Documentation API Reference
Guides
Getting Started
Getting Started Environments API Authentication Paging Filters Field Reduction API Versioning Webhooks
SDKs
Overview C# SDK Python SDK (Beta) Angular/TypeScript SDK (Beta) PowerShell
SSO
Overview Microsoft Entra ID Okta
Reference
API Reference
Account AccountDigest AccountMeter Accrual Activity Admin Api ApiKey Audit Authentication Batch Bill BillAccountChargeSplit BillSplit BillView Budget CalculatedBill Channel ChargebackEngine ChargebackTask ChargebackWorkflow Collection Commodity CommodityCategory CommodityDigest CostCategory CostCenter CostCenterDigest Country Customer Dashboard DataPoint EmissionRecord EmissionSource EnergyManager EnergyProject EnergyStar Environment EsaChannel EsaPlace EsaReading Export FileStore Filter Flag Formula GeneralLedger GHG Hierarchy Import List Me Meter MeterDigest MeterGroup MeterGroupDigest Notification Observation ObservationType Place PlaceBenchmark PlaceDigest PlaceGroup PlaceGroupDigest PostalCode PrimaryUse Rate RateDigest Report ReportBuilder ReportDistribution Route Savings Schedule Search Sentinel Setup SummaryAccount SystemUser Tag Task Template TimeZone UDF Unit UserGroup UserRole UtilityPlatform Vendor VendorDigest WeatherStation Webhook Widget Workflow
API Reference / Formula

Formula

POST 2 endpoints
/api/v202405/formula/validateCalculatedMeter ValidateCalculatedMeterFormulaV202405
Check that a Calculated Meter formula is valid. It is valid if the following are all true: <list type="bullet"><item><description> It is syntactically correct </description></item><item><description> It only calls allowed functions (including the custom function `channel()`") </description></item><item><description> Each channel referenced (via `channel(channelId)`) is the Primary Value Channel of some other datapoint (which also rules out self-references). </description></item></list>
/api/v202405/formula/validate ValidateFormulaV202405
Check that a Calculated Channel formula is valid, in the context of the given datapoint. It is valid if the following are all true: <list type="bullet"><item><description> It is syntactically correct </description></item><item><description> It only calls allowed functions (including the custom function `channel()`") </description></item><item><description> Each channel referenced (via `channel(channelId)`) belongs to this datapoint and is a simple (not calculated) channel (which also rules out self-references). </description></item></list>