Error
A valid request URL is required to generate request examples{
"id": 123,
"status": "processing",
"report_kind": "projects_list",
"report_extension": "xlsx",
"job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project": {
"id": 123,
"name": "<string>"
},
"error_message": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"project_id": 123,
"file_url": "<string>"
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}Report
Generate purchase orders report
Async pdf export of the purchase orders list (GET /purchase_orders), filtered and ordered like it. Renders js_report_template through jsreport with the fields picked in used_fields (see schema). pdf only. With project_id the rows are that project’s (any project of the workspace) and the report broadcasts on its project stream; without, on the workspace stream. Needs reports_create and procurement_view.
POST
/
reports
/
purchase_orders_list
Error
A valid request URL is required to generate request examples{
"id": 123,
"status": "processing",
"report_kind": "projects_list",
"report_extension": "xlsx",
"job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project": {
"id": 123,
"name": "<string>"
},
"error_message": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"project_id": 123,
"file_url": "<string>"
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}Body
application/json
Response
Accepted
Available options:
projects_list, project_items_list, product_items_list, cross_project_items_list, project_items_matrix, 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