List the documents of an offer
GET/v1/offers/:id/documents
Every document stored on the offer, as the planner's documents tab (Dokumente) lists them: the datasheets and certificates of its parts, the grid operator's forms, the plans generated from it (parts list, string plan, circuit diagram, Kommissionsliste) and the files your team uploaded. Each comes with its name, a file name to save it under, its type and size, whether the customer sees it, and a downloadUrl that fetches the file without an API key for one hour.
To keep a copy in step, compare contentSha256: the same value is the same file, a new value a new one. Requires the read:documents and read:offers scopes.
Request
Responses
- 200
- 401
- 403
- 404
- 500
The offer's documents; an empty list when it has none.
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.
db_error: the documents could not be read. storage_error: the files could not be signed for download. message has the details.