The method returns the list of finished tasks. A task is finished if it has one of the following statuses: Completed, ProcessingFailed, NotEnoughCredits.
Customize the following request URL according to your application processing location:
[GET] https://<PROCESSING_LOCATION_ID>.ocrsdk.com/v2/listFinishedTasks
The tasks are ordered by the time of the end of processing. No more than 100 tasks can be returned at one method call. To obtain more tasks, delete some finished tasks using the deleteTask method and then call the listFinishedTasks method again.
The method may be useful if you work with a large number of tasks simultaneously. But there is no sense in calling this method if your application does not have any incomplete tasks sent for the processing.
Please note that the task status is not changed momentarily. Do not call this method more frequently than once in 2 or 3 seconds.
Parameters
This method has no parameters.
Status codes
General status codes of the method are described in HTTP Status Codes and Response Formats.
Response format
The result is returned as a JSON response. The JSON response has the following format:
{ "tasks": [ <task1>, <task2>, ... ] }
Comments
0 comments
Please sign in to leave a comment.