Reportable date range
get_reportable_intervalGet the date range of available data for a SolarNetwork node, including time zone and counts, so you never query an empty interval.
Instructions
What date range does a node have data for? Call this first for an unfamiliar node so you never query an empty range. Returns startDate/endDate in the node's local time zone, the timeZone name, and day/month/year counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | SolarNetwork node ID (public demo node: 108) | |
| sourceId | No | Optional source ID to limit the interval to |