Store the energy of a supply point
POST/supply-points/:cups/energy
Stores the energy of a supply point created with POST /supply-points, with the same fields
and units (kWh) as GET /houses/{houseId}/energy. Each entry covers the period from dateFrom
to dateTo, so its granularity is the one sent. Dates are ISO 8601 with their offset (for
example 2026-11-20T10:00:00+01:00).
The energy is stored asynchronously: right after creating the supply point, it may take a few minutes to show.
- At most 2000 entries per request.
solaris only stored when the supply point has a solar installation. Right after creating the supply point or its installation, the energy that has where to go is stored at once, and the rest waits up to 15 minutes for them; after that, it is discarded.- The tenant has an API integration for the grid and another for solar installations. The energy of a kind whose integration the tenant doesn't have is discarded, and the rest is stored.
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 409
- default
The energy was accepted and will be stored
Invalid body, such as a date without offset or a negative energy
Unauthorized
The tenant has no API integration, neither for the grid nor for solar installations
The tenant has no supply point for the CUPS
The CUPS has more than one supply point with an active contract
Unexpected error