Create print request for a job
To print a job send a POST request to https://api.planadoapp.com/v2/print/requests
.
There can be only 10 simultaneously running printing requests. Requests exceeding the limit will be rejected with 429 HTTP status. |
$ curl -H "Authorization: Bearer api-key" \
--data "{\"job\":{\"uuid\":\"1ed8fec9-7c8c-6af0-a8b0-1ef2a1c15efe\"},\"print_template\":{\"uuid\":\"1ed8fec9-2ae5-67f0-a8b0-1ef2a1c15efe\"}" \
https://api.planadoapp.com/v2/print/requests | jq
{
"uuid": "43c6f250-01f6-4d17-b0dd-b04148de4b61"
}
The response contains uuid
of the created request which can be tracked via results of printing method.
Request schema
Field | Type | JSON type | Required | Can be null |
Description |
---|---|---|---|---|---|
|
UUID |
String |
Yes |
No |
Print template identifier |
|
UUID |
String |
Yes |
No |
Job identifier |
|
UUID |
String |
No |
No |
Print result will be attached to job’s custom field when printing is done |