Allows an authenticated API user to bulk update accounts for a company. The only supported update is to set an account as tracked or not tracked. All accounts are updated to the same isTracked status. Either all accounts are updated, or if there is an error, no accounts are updated. All associated meters will be set to the same isTracked status as the account. Optionally, pass in a parameter updateMeters = false to prevent meter isTracked status from being updated.
Serializer for bulk updating accounts for a company.
UUID of the account.
UUID of the meter site usage data entry.
Deprecated boolean alias. UNSET is treated as True for backward compatibility.
The actual account number. For utilities without account numbers, leave blank.
200Indicates whether tracking is enabled, disabled, or unset for this account.
ENABLED - EnabledDISABLED - DisabledUNSET - UnsetENABLED, DISABLED, UNSET Date when data collection for the account begins. This is the date from which Nectar will pull historical data. This field overrides the site, company, and connection level dataCollectionStartDate fields.
Indicates whether this account is collecting invoice data. If True, Nectar will collect invoice data with a maximum granularity of weekly intervals.
Indicates whether this account is smart metered. If True, Nectar will collect metered data with a maximum granularity of daily intervals.
List of unique datasource types for all meters associated with the account.
The date when the account was closed by the utility (the end date of the last meter reading).