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

void CancelAllActivePrintJobs (string 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.

Using the CancelAllActivePrintJobsWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

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

Return type

void (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

void DeletePrintJob (string printJobId)

Delete the given print job.

Example

Using the DeletePrintJobWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
printJobIdstringPrint ID

Return type

void (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 searchParms)

View print jobs in paginated form.

Example

Using the GetPaginatedPrintJobsWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

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 (string printJobId)

Get the given print job.

Example

Using the GetPrintJobWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

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

Using the GetPrintJobsWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

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-