You have no favorites... yet!
Use the Library tree on the left to select a Choreo to call from your gateway device.
Use the Library tree on the left to select a Choreo to call from your edge device via the gateway.
Library . Genability . PricingAndCalc . CalculateTariffInputMetaData
Retrieve inputs required to run a calculation for the specified tariff, within a specified period of time.
/*
TembooTask class placeholder
*/
/*
TembooTask header placeholder
*/
Since you've changed your device configuration, you'll need to tell us about this new device.
This feature is in experimental mode - pricing coming soon.
Send your code straight to a GitHub repository.
Your code will be visible by others in your repos. Keep credentials private by saving a Profile or commit code with Placeholder inputs.
The following files will be added to this repo:
You'll be able to edit and share your code from TI's CCS Cloud IDE.
The following will be sent to CCS Cloud:
/*
Your auto-generated code will appear here once you've configured your device above.
*/
/*
A header file containing your Temboo account information will appear here once you've
configured your device above.
*/
/*
Please log in to generate proxy server code for use with the JavaScript SDK.
*/
This Choreo obtains inputs required to run a calculation for the specified tariff, within a specified period of time. Please note that some tariffs may require additional query parameters for the tariff's applicability values, such as cityLimits or connectionType, or territoryID. This is needed because rates differ based on the value of these applicability values. When these are required but not provided on the query string, the Genability API will return an error in the Response variable of this Choreo. The error response will contain the required applicability property indicated. At that point, re-run the Choreo by entering the required missing variable values for CityLimits, ConnectionType, or territoryID (entered in the KeyName variable, along with its value, specified in KeyValue).
The documentation for this Genability resource can be found here.
Here's an example of acceptable inputs:
AppID: {YOUR APP ID}
AppKey: {YOUR APP KEY}
FromDateTime: 2012-06-12T00:00:00.0-0700
ToDateTime: 2012-06-20T00:00:00.0-0700
CityLimits: Inside
ConnectionType: Primary
MasterTariffID: 512
KeyName: territoryId
KeyValue: 3538
Note: the KeyValue for territoryID can be obtained by first running the GetTerritoryIDFromZipcode Choreo.
The following is a sample of the JSON information returned by this Choreo:
{ "status": "success", "count": 3, "type": "PropertyData", "results": [ { "keyName": "consumption", "dataType": "DECIMAL", "fromDateTime": "2012-06-12T03:00:00-04:00", "toDateTime": "2012-06-20T03:00:00-04:00", "unit": "kwh" }, { "keyName": "cityLimits", "displayName": "Service Area (Inside/outside city limits)", "description": "Has service inside or outside city limits", "dataType": "CHOICE", "fromDateTime": "2012-06-12T03:00:00-04:00", "toDateTime": "2012-06-20T03:00:00-04:00" }, { "keyName": "connectionType", "displayName": "Connection Type", "description": "Where or how the service is connected to the grid (e.g. primary, transmission, subtransmission).", "dataType": "CHOICE", "fromDateTime": "2012-06-12T03:00:00-04:00", "toDateTime": "2012-06-20T03:00:00-04:00" } ] }
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms