Cancel Data Extract Task
post
/rest/v19/extract/cancel/{taskId}
Use this endpoint to cancel the data extract task if not complete.
Request
Path Parameters
-
taskId(required): string
Data Extract Task Identifier
Response
Supported Media Types
- application/json
Default Response
Returns data extract task status
Root Schema : extractData_TaskStatusResponse
Type:
Show Source
object-
endTime:
string
Title:
End TimeExtract end time -
startTime:
string
Title:
Start TimeExtract start time -
taskId:
string
Title:
Task IdentifierTask Id -
taskStatus:
string
Title:
Task StatusSubmit Task Message -
totalRows:
string
Title:
Total RowsTotal number of rows extracted
Examples
The following example shows how to cancel the data extract task if not complete by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X POST -H "Authorization: Bearer <token>" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v19/extract/cancel/{taskId}Response Body
{
"taskId": 3023103675,
"taskStatus": "Cancellation Requested",
"startTime": "2023-03-23 15:00:37.0"
}