Skip to main content

BasicPrintApi

MethodHTTP requestDescription
CancelPrintDELETE /api/web/v1/printers/print/{printStatusId}Cancel an executing print job.
GetPrintCountsGET /api/web/v1/printcountsGet counts for different prints.
GetPrintStatusGET /api/web/v1/printers/print/{printStatusId}Retrieve print job status.
PrintPOST /api/web/v1/printers/{printerId}/printPerform basic print job.
UpdatePrintPATCH /api/web/v1/printers/print/{printStatusId}Updates an executing print job.

CancelPrint

void CancelPrint (string printStatusId)

Cancel an executing print job.

Using the CancelPrintWithHttpInfo variant

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

Parameters

NameTypeDescriptionNotes
printStatusIdstringPrint 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
204No Content-
400Bad request-
401Authorization information is missing or invalid-
404The specified resource was not found-
500Unexpected error-

GetPrintCounts

PrintCountResponse GetPrintCounts ()

Get counts for different prints.

Example

Using the GetPrintCountsWithHttpInfo 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

PrintCountResponse

Authorization

AdminAPIAuthentication

HTTP request headers

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

HTTP response details

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

GetPrintStatus

BasicPrintResponse GetPrintStatus (string printStatusId)

Retrieve print job status.

Example

Using the GetPrintStatusWithHttpInfo variant

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

Parameters

NameTypeDescriptionNotes
printStatusIdstringPrint ID

Return type

BasicPrintResponse

Authorization

AdminAPIAuthentication

HTTP request headers

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

HTTP response details

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

Print

PrintOperationResponse Print (string printerId, BasicPrintRequest basicPrintRequest)

Perform basic print job.

Example

Using the PrintWithHttpInfo variant

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

Parameters

NameTypeDescriptionNotes
printerIdstringThe unique 32-36 character id obtained from the Get All Printers request. Example - 0b0db90a-6091-416f-8559-2f2181e941c3
basicPrintRequestBasicPrintRequest

Return type

PrintOperationResponse

Authorization

AdminAPIAuthentication

HTTP request headers

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

HTTP response details

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

UpdatePrint

PrintOperationResponse UpdatePrint (string printStatusId, BasicPrintUpdateRequest basicPrintUpdateRequest)

Updates an executing print job.

Example

Using the UpdatePrintWithHttpInfo variant

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

Parameters

NameTypeDescriptionNotes
printStatusIdstringPrint ID
basicPrintUpdateRequestBasicPrintUpdateRequest

Return type

PrintOperationResponse

Authorization

AdminAPIAuthentication

HTTP request headers

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

HTTP response details

Status codeDescriptionResponse headers
202Accepted-
400Bad request-
401Authorization information is missing or invalid-
404The specified resource was not found-
500Unexpected error-