Skip to main content

Export MPS Entries

GET 

/api/manufacturing/mrp/mps/export

Download Master Production Schedule entries as a spreadsheet. The columns are the import template's own columns, in the template's order, so an exported file can be re-planned in a spreadsheet and handed straight back to the importer. Authorization: requires the mrp.view permission and a token carrying the mrp:read scope (manufacturing:read also satisfies it). Response is a file download, not JSON: an Excel workbook for format=xlsx, text/csv for format=csv. Column headings: product_id, product_sku, warehouse, bucket_start, quantity, source, delete. With scope=filtered the same filters and sort as GET /api/manufacturing/mrp/mps apply, including their operator forms (filter[quantity.greater_than], filter[bucket_start.between], filter[source.is_one_of], plus filter[product_sku.contains], filter[product_name.contains], filter[warehouse_name.contains], filter[id], filter[created_at] and filter[updated_at]). format=xlsx (the default) returns a workbook; format=csv returns a comma-separated file. Any other value is treated as xlsx. At most 50,000 rows are exported.

Required scope: mrp:read|manufacturing:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Request

Responses

OK

Response Headers
    Content-Type
    Content-Disposition