Skip to main content

Get job result

GET 

/jobs/:jobId/result

This call blocks until the result is available. If blocking is not acceptable, getJobInfo can be polled, until the job's status is completed.

If the job has completed successfully, its result data, typically documents, can be retrieved using the getJobResultData request.

Note that when waiting for the job result, request timeouts may occur after 2 minutes. Therefore, it is recommended to handle request timeouts, especially for long-running jobs or for services under high load.

Request

Path Parameters

    jobId stringrequired

    The job ID as returned by createJob.

Responses

Successful response to the getJobResult request

Schema

    statusstringrequired

    Whether the job has been processed successfully.

    Successful jobs typically have dataList, otherwise the property error contains a description of the error.

    Possible values: [success, warning, error]

    error

    object

    codeerrorCode (string)required

    Possible values: [internal, configuration, generic, unsupportedFormat, unsupportedFeature, option, canceled, timeout, password, conformance, corrupt]

    messagestringrequired

    events

    event[]

    List of processing events.

    Depending on the severity, different actions are recommended:

    • info: Event is of a strictly informational nature and can be ignored. If a verbose processing log is written, such events can be included.

    • warning: This event is a critical conversion warning that should be handled.

    • error: Such an event occurs only in failed jobs and contains error information additional to the job result info's error property.

  • Array [

  • codeeventCode (string)required

    Possible values: [ExternalResourceUnavailable, ContentClipped, ContentOverflow, ContentRasterized, PageRenderer, VisualDifferences, Colorants, LayersRemoved, TransparencyRemoved, MetadataRemoved, CorruptionRepaired, SignatureRemoved, ContentRecovered, FontSubstituted, AnnotationRemoved, MultimediaRemoved, ActionRemoved, StructureRemoved, PartialExtraction, NotLinearized, OcrIncomplete, UnicodesIncomplete, TaggingIncomplete, Event, ChildRemoved]

    severityseverity (string)required

    Possible values: [info, warning, error]

    dataIddataId (string)

    Unique ID of the data.

    This ID is returned by addData and can be used to associate events and messages to specific input data. Therefore it is highly recommended to log the data ID in the client log file.

    dataPartstring

    The part of the data that is affected, e.g. an embedded file or attachment.

    messagestringrequired
  • ]

  • dataList

    data[]

  • Array [

  • fileNamestringrequired
    sizeintegerrequired
    resultIdresultId (string)required

    Unique ID that can be used to retrieve the result data using getJobResultData.

    properties

    object[]

    required

  • Array [

  • namestringrequired

    Name of the property

    valuestringrequired

    Value of the property

  • ]

  • ]