v1

latestOpenAPI 3.0.02026-07-266521,3121.2 MB
PrintService

CreatePDFfromJobForceTemplateStockIn

Creates a PDF file from a print job request <b>Rate limit: </b><span style="background-color:#0272d9;color:white;padding:4px 8px;text-align:center;border-radius:5px; font-size: small;"><b>150</b></span> / minute

post/api/PrintService/CreatePDFfromJobForceTemplateStockIn

Request body

templateTypestring

The template type

templateIDinteger

The ID of the template to use

printerNamestring

printer name of the virtual printer to use. If null then the sepecified in the template

printZoneCodestring

Print zone code, if present, will override the printer used if the template has a set printer for that zone

pageStartNumberinteger

The starting page of the document to generate from (optional, default to 0)

operationIdstring uuid

The ID of the current operation, used in logging for tracing (optional, default to null)

Example request

{
  "PrintingKeys": [
    {
      "Key": "00000000-0000-0000-0000-000000000000",
      "LocationId": "00000000-0000-0000-0000-000000000000"
    }
  ],
  "operationId": "00000000-0000-0000-0000-000000000000"
}

Response

OK

URLstring

URL to PDF file

IdsProcessedstring[]

List of processed order or item IDs

ProcessedIdsobject
PageCountinteger
PrintErrorsstring[]

List of OrderId / Error message

Example response

{
  "KeyedError": [
    {
      "Id": "00000000-0000-0000-0000-000000000000"
    }
  ],
  "IdsProcessed": [
    "00000000-0000-0000-0000-000000000000"
  ]
}