Description Usage Arguments Value References Examples
Deletes task and associated data. While Abbyy says, "If you try to delete the task that has already been deleted, the successful response is returned,"
it doesn't appear to hold. Hence, the function now defaults to checking the status of the task via getTaskStatus
, and
deletes only if it hasn't been deleted.
The function by default prints the status of the task you are trying to delete. It will show up as 'deleted' if successful.
1 | deleteTask(taskId = NULL, ...)
|
taskId |
Required; ID of the task; String |
... |
Additional arguments passed to |
Data frame with all the details of the task you are trying to delete: id (task id), registrationTime, statusChangeTime, status (Submitted, Queued, InProgress, Completed, ProcessingFailed, Deleted, NotEnoughCredits), filesCount (No. of files), credits, resultUrl (URL for the processed file if applicable)
http://ocrsdk.com/documentation/apireference/deleteTask/
1 2 3 4 | ## Not run:
deleteTask(taskId = "task_id")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.