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 ended.
- API endpoint slug
- fcu_tod.history_of_when_time_of_day_peak_rates_ended
- Runtime method
- performQuery("fcu_tod.history_of_when_time_of_day_peak_rates_ended")
Query fields
Hours after Dropdown list
- Label
- How many hours after peak rates end should this be triggered?
- Slug
- hours_after
- 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.historyOfWhenTimeOfDayPeakRatesEnded.DayType
- Type
- String
- Example
- Weekday
SeasonThe current season.
- Slug
- season
- Filter code
- FcuTod.historyOfWhenTimeOfDayPeakRatesEnded.Season
- Type
- String
- Example
- Summer
Event typeWhether this is a "start" or "end" time-of-day event.
- Slug
- event_type
- Filter code
- FcuTod.historyOfWhenTimeOfDayPeakRatesEnded.EventType
- Type
- String
- Example
- start
Hours afterHow many hours after the event this will be triggered.
- Slug
- hours_after
- Filter code
- FcuTod.historyOfWhenTimeOfDayPeakRatesEnded.HoursAfter
- Type
- String
- Example
- 1
DatetimeWhen the time-of-date change occurred.
- Slug
- datetime
- Filter code
- FcuTod.historyOfWhenTimeOfDayPeakRatesEnded.Datetime
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00