Lead form self-check — send to an engineer
This page mounts the very same dialog component that the report / drawing / deliverables pages use. It exists so the lead loop can be verified without touching those pages: pick a kind and a scheme id, open the dialog, submit, then check the ticket on the server (GET /api/lead?leadId=…).
The scheme id and the digest below are what gets attached. Fill the fields with a real-looking request — the record really is written to disk.
- Scheme id
- not available
- Source
- Calculation report
- Report / drawing digest
- not available
- Key figures
- not available
Open the lead dialog · POST /api/lead
Server side of the loop
POST/GET … · endpoint source = … (unresolved)
GET /api/lead returns the store health: the absolute directory and the file where records land. POST /api/lead writes one JSON line per lead plus one JSON file per ticket id.
…