get
https://api.genability.com/rest/public/timeofuses/intervals/
Return intervals for a specific Time of Use definition by touId.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Use this endpoint to return intervals for a specific touId.
When to use this endpoint
Use GET /rest/public/timeofuses/intervals/{touId} when you need to:
- Expand one Time of Use definition into concrete date-time intervals.
- Filter returned intervals with a
fromDateTimeandtoDateTimerange. - Determine when a specific TOU definition applies during a calculation period.
Path parameter
| Parameter | Type | Description |
|---|---|---|
touId | Long | Time of Use ID whose intervals you want to retrieve. |
Optional date filters
| Parameter | Type | Description |
|---|---|---|
fromDateTime | DateTime | Starting date and time for returned intervals. Defaults to the current day and time if omitted. |
toDateTime | DateTime | Ending date and time for returned intervals. Defaults to one week after fromDateTime if omitted. |
Related endpoints
Request Parameters
Along with the standard pagination parameters, searching and sorting parameters, and the required security parameters, the following parameters are available as part of the request:
