About this query
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This query returns a list of before time-of-day peak rates start.
- API endpoint slug
- fcu_tod.history_of_before_time_of_day_peak_rates_start
- Runtime method
- performQuery("fcu_tod.history_of_before_time_of_day_peak_rates_start")
Query fields
Hours before Dropdown list
- Label
- How many hours before peak rates start should this be triggered?
- Slug
- hours_before
- Required
- true
- Can have default value
- true
Season Dropdown list
- Label
- During which season?
- Slug
- season
- Required
- true
- Can have default value
- true
Ingredients
Day typeThe type of day for this event.
- Slug
- day_type
- Filter code
- FcuTod.historyOfBeforeTimeOfDayPeakRatesStart.DayType
- Type
- String
- Example
- Weekday
SeasonThe current season.
- Slug
- season
- Filter code
- FcuTod.historyOfBeforeTimeOfDayPeakRatesStart.Season
- Type
- String
- Example
- Summer
Event typeWhether this is a "start" or "end" time-of-day event.
- Slug
- event_type
- Filter code
- FcuTod.historyOfBeforeTimeOfDayPeakRatesStart.EventType
- Type
- String
- Example
- start
DatetimeWhen the time-of-date change occurred.
- Slug
- datetime
- Filter code
- FcuTod.historyOfBeforeTimeOfDayPeakRatesStart.Datetime
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Hours beforeHow many hours before the event this will be triggered.
- Slug
- hours_before
- Filter code
- FcuTod.historyOfBeforeTimeOfDayPeakRatesStart.HoursBefore
- Type
- String
- Example
- 1