Skip to main content

PrintQueueApi

MethodHTTP requestDescription
cancelAllActivePrintJobsPOST /api/web/v1/prints/{printerId}/cancelAllActivePrintsCancel all active jobs for a given printer.
deletePrintJobDELETE /api/web/v1/prints/{printJobId}Delete the given print job.
getPaginatedPrintJobsPOST /api/web/v1/prints/paginatedView print jobs in paginated form.
getPrintJobGET /api/web/v1/prints/{printJobId}Get the given print job.
getPrintJobsGET /api/web/v1/printsList all print jobs.

cancelAllActivePrintJobs

cancelAllActivePrintJobs(printerId)

Cancel all active jobs for a given printer.

This API cancels the ongoing job on printer. This should be used if any job is stuck on printer i.e. the printer is not processing the job anymore and is stuck in busy state for more than 5 minutes.

Parameters

NameTypeDescriptionNotes
printerIdStringPrinter Id. This can be obtained from the id value in the response of Return a Specified Printer API call.

Return type

null (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200OK-
401Authorization information is missing or invalid-
404The specified resource was not found-
500Unexpected error-

deletePrintJob

deletePrintJob(printJobId)

Delete the given print job.

Example

Parameters

NameTypeDescriptionNotes
printJobIdStringPrint ID

Return type

null (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200OK-
401Authorization information is missing or invalid-
404The specified resource was not found-
500Unexpected error-

getPaginatedPrintJobs

PrintQueuePaging getPaginatedPrintJobs(searchParms)

View print jobs in paginated form.

Example

Parameters

NameTypeDescriptionNotes
searchParmsSearchParms

Return type

PrintQueuePaging

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200OK-
401Authorization information is missing or invalid-
500Unexpected error-

getPrintJob

PrintJob getPrintJob(printJobId)

Get the given print job.

Example

Parameters

NameTypeDescriptionNotes
printJobIdStringPrint ID

Return type

PrintJob

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200OK-
401Authorization information is missing or invalid-
404The specified resource was not found-
500Unexpected error-

getPrintJobs

List<PrintJob> getPrintJobs()

List all print jobs.

Example

Parameters

This endpoint does not need any parameter.

Return type

List<PrintJob>

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200OK-
401Authorization information is missing or invalid-
500Unexpected error-