Skip to main content
POST
Export production batch sub-assemblies

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Path Parameters

batchId
integer
required

ID of the production batch.

Body

application/json
sub_assembly_ids
integer[]
required

IDs of the sub-assemblies to export.

Minimum array length: 1
export_type
enum<string> | null

Export format.

Available options:
pdf
page_size
enum<string> | null

Page size for the exported document.

Available options:
A4,
letter
page_orientation
enum<string> | null

Page orientation for the exported document.

Available options:
portrait,
landscape

Response

Binary PDF document

The response is of type file.