Skip to content

Generate an Excel workbook

POST /api/v1/xlsx/generate creates a new workbook from JSON. It does not fill an existing workbook template.

{
"fillDataJson": [{
"SheetName": "Lines",
"Data": [
{ "Product": "Design workshop", "Quantity": 2, "Price": 750 },
{ "Product": "Template setup", "Quantity": 1, "Price": 950 }
]
}]
}

Send the object as application/json with X-API-KEY and an explicit X-Culture, then save the binary response as .xlsx. This creates one table per sheet. Column headers can be inferred, selected by names, or supplied as expressions; see the operation reference for the request model.

For an author-designed workbook with notes and repeating tables, use the XLSX template library or browser example. For code-driven exports, see the XLSX report guide.