The method adds the image to the existing task or creates a new task for the image. This task is not passed for processing until the processDocument or processFields method is called for it.
Customize the following request URL according to your application processing location:
[POST] http(s)://<PROCESSING_LOCATION_ID>.ocrsdk.com/submitImage
The image file is transmitted in the request body. See the list of supported input formats.
Parameters
Parameter | Is required | Default value | Description |
---|---|---|---|
taskId | No | "", in this case a new task is created for the image | Specifies the identifier of the task. If the task with the specified identifier does not exist or has been deleted, an error is returned. |
pdfPassword | No | "" | Contains a password for accessing password-protected images in PDF format. |
Status codes and response format
General status codes and response format of the method are described in HTTP Status Codes and Response Formats.
The following status codes can be returned when this method is called:
Code | Description |
---|---|
200 | Successful method call. |
450 | Incorrect parameters have been passed. One of the following errors occurred:
|
550 | An internal program error occurred while processing the image. |
551 | An error occurred on the server side:
|
Comments
0 comments
Please sign in to leave a comment.