download (GET)



Use this request to download the output PDF document from a preceding /PrintHtml/print POST request, as identified by the job token returned as data.jobIdentifier.

When a call to /PrintHtml/print returns a status value of 2 (QueuedToFile) use /PrintHtml/status to poll the service. Subsequently when a call to /PrintHtml/status returns 6 (completed) use /PrintHtml/download to download the completed PDF.

See also the OpenAPI (Swagger) definition.

Applies to:

  • ScriptX.Services for Cloud
  • ScriptX.Services for On-Premise Devices (Authorisation header is ignored)*
  • ScriptX.Services for Windows PC*

* Applies only when printing to a default or specified PDF printer driver

Request parameters

jobToken (string, required)
The job identifier for the job to be downloaded, as returned by a preceding POST to /PrintHtml/print.

Example usage