GET request to the transactions/<transaction-id> resource:
Run the following command:
For Windows:
For Linux:
As a result, you will receive a response containing the current transaction status:
Response:
The status key can have one of the following values:
- New means that the transaction has been created but processing has not started.
- Processing means that the document is currently being processed.
- Processed means that processing has completed and the results can be downloaded.
- Failed means that processing did not complete successfully.
- Canceled means that the transaction was canceled.
GET request to the transactions/<transaction-id>/files/<file-id>/download resource and specify the IDs of your transaction and document file:
The file ID comes from the
documents[].resultFiles[].fileId value in the transaction status response. Each resultFiles entry contains fileId, fileName, and type (such as Json or FieldsJson). The sourceFiles ids identify the original uploaded files, which are downloaded through a different endpoint (documents/<document-id>/sourceFiles/<file-id>/download).