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 when time-of-day peak rates start or end.
- API endpoint slug
- fcu_tod.history_of_time_of_day_peak_rates_start_end
- Runtime method
- performQuery("fcu_tod.history_of_time_of_day_peak_rates_start_end")
Query fields
Event Dropdown list
- Label
- This event should trigger when peak rates:
- Slug
- event
- 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.historyOfTimeOfDayPeakRatesStartEnd.DayType
- Type
- String
- Example
- Weekday
SeasonThe current season.
- Slug
- season
- Filter code
- FcuTod.historyOfTimeOfDayPeakRatesStartEnd.Season
- Type
- String
- Example
- Summer
Event typeWhether this is a "start" or "end" time-of-day event.
- Slug
- event_type
- Filter code
- FcuTod.historyOfTimeOfDayPeakRatesStartEnd.EventType
- Type
- String
- Example
- start
DatetimeWhen the time-of-date change occurred.
- Slug
- datetime
- Filter code
- FcuTod.historyOfTimeOfDayPeakRatesStartEnd.Datetime
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00