Skip to content

Fetch the print file of an order

GET
/v1/orders/{id}/job/file
curl --request GET \
--url 'https://api.pixonaut.app/v1/orders/example/job/file?part=combined&file=process' \
--header 'Authorization: Bearer <token>'

Operation ID: orders.job.files.get

A file the printshop prints the order from, of one of its prints (printId, required for an order of several): by default its machine profile’s default part of the file it was sent, as its delivery links hand it out. machineProfile names another of its printshop’s profiles, or settings output settings for this one download (as the list of its files takes them); part another part (combined, print or cut), and file the process or separated file. The parts share the trim and bleed boxes, and the artwork is the same bytes in combined and print. With no machine, or one that names no cut name, the default part is print, the stored file; combined then carries a CutContour path, and a rectangular die is drawn as a cut path too. Not for a failed or cancelled order.

id
required
string
machineProfile
string
settings
string
printId

Which of the order’s prints, one of its printIds. Required when the order holds several; left out, the order’s only print.

string

Which of the order’s prints, one of its printIds. Required when the order holds several; left out, the order’s only print.

part
string
Allowed values: combined print cut
file
string
Allowed values: process separated

The print file

string
X-Request-Id
required
string

Every response names the request it answers in X-Request-Id: the id the request was sent with in that header, when it is well formed, else one the API gave it. Quote it when reporting a refusal or a failure: the API’s log lines for that request carry it.

Refused: unauthorized

Media typeapplication/json
object
error
required
string

Examples

Exampleunauthorized

unauthorized

{
"error": "unauthorized"
}
X-Request-Id
required
string

Every response names the request it answers in X-Request-Id: the id the request was sent with in that header, when it is well formed, else one the API gave it. Quote it when reporting a refusal or a failure: the API’s log lines for that request carry it.

Refused: origin_forbidden, forbidden, feature_disabled, workspace_suspended

Media typeapplication/json
object
error
required
string
feature

The feature the tenant does not have. Always sent with feature_disabled.

string

Examples

feature_disabled

{
"error": "feature_disabled",
"feature": "api"
}
X-Request-Id
required
string

Every response names the request it answers in X-Request-Id: the id the request was sent with in that header, when it is well formed, else one the API gave it. Quote it when reporting a refusal or a failure: the API’s log lines for that request carry it.

Refused: order_not_found, print_not_found, machine_profile_not_found, part_not_offered, separation_not_found, file_not_found, not_found

Media typeapplication/json
object
error
required
string

Examples

file_not_found

{
"error": "file_not_found"
}
X-Request-Id
required
string

Every response names the request it answers in X-Request-Id: the id the request was sent with in that header, when it is well formed, else one the API gave it. Quote it when reporting a refusal or a failure: the API’s log lines for that request carry it.

Refused: spot_plate_required, ink_mask_missing, print_profile_unavailable, print_raster_too_large, print_id_required, invalid_query

Media typeapplication/json
object
cause

Always sent with spot_plate_required.

string
error
required
string
printIds

Always sent with print_id_required.

Array<string>
reason

Always sent with print_raster_too_large.

string
references

Always sent with spot_plate_required.

Array<string>

Examples

ink_mask_missing

{
"error": "ink_mask_missing"
}
X-Request-Id
required
string

Every response names the request it answers in X-Request-Id: the id the request was sent with in that header, when it is well formed, else one the API gave it. Quote it when reporting a refusal or a failure: the API’s log lines for that request carry it.

Refused: rate_limited

Media typeapplication/json
object
error
required
string

Examples

Examplerate_limited

rate_limited

{
"error": "rate_limited"
}
X-Request-Id
required
string

Every response names the request it answers in X-Request-Id: the id the request was sent with in that header, when it is well formed, else one the API gave it. Quote it when reporting a refusal or a failure: the API’s log lines for that request carry it.

Refused: db_error. A request that failed unexpectedly answers as text instead.

object
error
required
string

Examples

Exampledb_error

db_error

{
"error": "db_error"
}
X-Request-Id
required
string

Every response names the request it answers in X-Request-Id: the id the request was sent with in that header, when it is well formed, else one the API gave it. Quote it when reporting a refusal or a failure: the API’s log lines for that request carry it.

Questions? Write to [email protected].

Status · Terms of service · Privacy policy · Subprocessors