Export study deliverables
Download the files an engineer issues with a study: the study report, the single-line drawing, the equipment and cable schedules, each saved TCC sheet as a PDF, and the arc flash labels. Each export is the same file the editor's export writes, built from the saved project on the server. Every export needs projects:read and at least viewer access.
| Method and path | File |
|---|---|
POST /projects/{projectId}/exports/report | The study report the editor's report dialog exports, as a Word document by default. It is saved to the project's report history. |
GET /projects/{projectId}/exports/single-line.pdf | The single-line drawing on one 17 by 11 inch sheet, as the editor's Print Settings export writes it. |
GET /projects/{projectId}/exports/equipment-schedule.xlsx | The equipment schedule workbook: one sheet per equipment type the project has, with each protection device's part and base-case settings. |
GET /projects/{projectId}/exports/cable-schedule.xlsx | The cable schedule workbook. Add mode=consolidated to group cables by type instead of listing each with its ends. |
GET /projects/{projectId}/tccs/{tccId}/pdf | One saved TCC sheet as the Letter PDF the Protection view prints. |
GET /projects/{projectId}/exports/arc-flash-labels.pdf | The arc flash labels as 6 by 4 inch pages: a cover naming every bus without a label, then one label per bus. |
Title block
The schedules print the project's name and electrical code. Add organization and engineer to fill those lines, and date (YYYY-MM-DD) to print a date other than today's:
GET /projects/{projectId}/exports/equipment-schedule.xlsx?organization=Bremen%20Engineering&engineer=B.%20GibbThe single-line drawing prints the title block the editor's Print Settings last saved for the project. Add organization, engineer, drawingNumber, revision or date to print others; the saved fields stay as they are.
A TCC sheet prints its own drawing number, or the project's when it has none. Set it with saved TCC sheets.
Study report
Send the choices the report dialog offers as JSON; anything left out starts as the dialog starts it:
{
"reportType": "combined",
"format": "docx",
"organization": "Bremen Engineering",
"preparedBy": "B. Gibb",
"reportTitle": "Short-circuit and arc flash study",
"reportNumber": "R-001",
"revision": "A",
"timeZone": "America/Regina"
}reportTypeisload_flow,short_circuit,arc_flash,combined,harmonic,
due_diligence or load_sizing. Without it the report covers the results the project has: combined when it has load flow and short-circuit results.
formatisdocx,markdownorhtml. A sizing evidence report is always Markdown, and a due
diligence report starts as HTML.
sectionsturns sections on or off by the names in the dialog's list, for example
{ "appendixSld": true, "methodology": true }. The drawing appendix is the sheet single-line.pdf prints.
organizationandpreparedBystart as the project's organization and your name. Dates print
in timeZone (an IANA name), or UTC. Add scenarioId to report a scenario's saved results.
- The report is saved to the project's history, and the answer names it in
X-EKX-Report-Id.
Saving needs projects:write and editor access; send "saveToHistory": false to only download. The editor's history compares the saved copy with the project's current inputs, as it does for a report saved there.
- Report export needs a plan that includes it; otherwise the request answers
402 REPORT_PLAN_REQUIRED. A report the saved results cannot support, such as a load flow report before any load flow run, answers 422 REPORT_UNAVAILABLE with what to do.
Single-line drawing
- The drawing is the saved project as the editor opens it, with the load flow, short-circuit and
arc flash results it shows and the note when they are out of date. Add scenarioId to draw a scenario's operating state and results.
- Load flow values print in per unit, the editor's starting choice, and harmonic results are left
off. Add orientation=portrait for a portrait sheet.
- PDF export needs a plan that includes it; otherwise the request answers
402 PDF_PLAN_REQUIRED.
TCC sheets
- The sheet marks the fault currents of the Base scenario. Add
scenarioIdto mark another
scenario's, or faultCurrents=hide to leave them off. Add printDate (YYYY-MM-DD) to print a date other than today's.
- PDF export needs a plan that includes it; otherwise the request answers
402 PDF_PLAN_REQUIRED. - A sheet EKX cannot lay out, such as one with no visible curves, answers
422with the reason.
A busy PDF service answers 429 or 503 with Retry-After.
Arc flash labels
- A project with scenarios prints the worst case across them, as the label sheet does; otherwise
the latest Base run. Run them first with an arc flash study or every scenario.
- Each label prints the run's date unless the project's label settings fix one. Add
timeZone
(an IANA name such as America/Regina) to print that date on your calendar; it is UTC otherwise.
- A run that is out of date, or a worst case missing a scenario's result, answers
409 LABELS_WITHHELD with the reason and what to run again. The PDF never carries labels from results the project has since changed.
Responses
A file answers 200 with its content type and a Content-Disposition file name. A project with nothing to schedule answers 404 NOTHING_TO_EXPORT.