A valid request URL is required to generate request examples{
"id": 123,
"name": "<string>",
"report_kind": "projects_list",
"report_extension": "xlsx",
"settings": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}Create a delivery report template
pdf only: report_extension must be pdf. settings take the generate body’s keys (minus project_id) plus the builder’s opaque builder_tree.
A valid request URL is required to generate request examples{
"id": 123,
"name": "<string>",
"report_kind": "projects_list",
"report_extension": "xlsx",
"settings": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}Body
Same shape as the corresponding report kind's create body, minus template_id. Only the settings applicable to the given report_extension are permitted (e.g. js_report_template, used_fields, groups for product_items pdf; columns_list, filter otherwise). pdf templates (product_items, project_items, cross_project_items, package_baseline_items, cross_project_baseline_items) also accept builder_tree, an opaque unvalidated JSON blob for a frontend visual builder's own document tree, stored and returned verbatim. package_baseline_items templates are workspace-level (no project/package baked in) and replayed against any package.
Response
Created
projects_list, project_items_list, product_items_list, cross_project_items_list, package_baseline_items_list, cross_project_baseline_items_list, purchase_orders_list, goods_receipts_list, supplier_invoices_list, purchase_order_record, supplier_invoice_record, goods_receipt_record