Fetch form recognition results

When form is submitted for recognition, it is queued to ensure a stable response even under high load. To obtain the result, send a GET request to the https://api.aspose.cloud/v5.0/omr/RecognizeTemplate/GetRecognizeTemplate Aspose.OMR Cloud REST API endpoint. To authorize the request, pass the access token in Authorization header (Bearer authentication).

Provide the unique identifier of the recognition task in id parameter:

curl --location 'https://api.aspose.cloud/v5.0/omr/RecognizeTemplate/GetRecognizeTemplate?id=85bc0ca8-a76e-44f6-a7a3-e6263f7e24ee' \
--header 'Accept: text/plain' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...doQ6a6Nt2JlbO3fEGg'

Recognition results

The recognition result is returned in JSON format in the response body.

{
	"id": "85bc0ca8-a76e-44f6-a7a3-e6263f7e24ee",
	"responseStatusCode": "Ok",
	"results": [
		{
			"type": "Csv",
			"data": "RWxlbWVudCBOYW1lLFZhbHVlLApBbmltYWxzOTEsIiIKQW5pbWFsczky...gpQbGFudHM5MCwiIgo="
		}
	],
	"error": null
}
Property Type Description
id string Unique identifier of the generation task. Equals to the value of the id request property.
responseStatusCode string Generation response status.
results array Recognition results in the requested output format as Base64 encoded string. You must decode them to save to a file, show or parse.
error/messages array Generation error messages, if any.
Even if the form is generated, you can still get notifications and warnings about non-fatal generation errors.