Generate the circuit diagram
GET/v1/offers/:id/circuit-diagram
Renders the offer's circuit diagram (Schaltschema) as a PDF: the strings, inverters, battery, wallbox, emergency power, meters and the grid connection. It shows what the planner's dialog preselects: an accepted offer as the customer ordered it; any other offer with the active battery and wallbox and the recommended emergency power. Generated on demand from the offer as it stands and not stored; to store it, see POST /v1/offers/{id}/documents/generate. Requires the read:documents and read:offers scopes.
Request
Responses
- 200
- 401
- 403
- 404
- 409
- 500
The circuit diagram as a PDF, one page per inverter.
missing_api_key or invalid_api_key: no API key was sent, or it is wrong, expired or revoked.
insufficient_scope: the API key does not have the scope this endpoint needs. required names it.
not_found: there is no such record in your company.
strings_not_configured: no modules of the offer are wired to an inverter, so there is nothing to draw.
generation_failed: the diagram could not be produced; message has the details.