Get Task

get

/rest/v16/tasks/{taskId}

This endpoint retrieves information for the specified task.

Request

Path Parameters
Back to Top

Response

Default Response

Task details
Body ()
Root Schema : task
Type: object
Show Source
Nested Schema : category
Type: object
Show Source
Nested Schema : Detail Status
Type: object
Title: Detail Status
Detail Status for entities associated with this task
Show Source
Nested Schema : File list
Type: array
Title: File list
List of files associated with this task
Show Source
Nested Schema : Entities Statuses
Type: array
Title: Entities Statuses
Statuses for all the entities
Show Source
Nested Schema : Entity Status
Type: object
Title: Entity Status
Entity Status
Show Source
Nested Schema : Summary
Type: array
Title: Summary
Summary of message and type for entity
Show Source
Nested Schema : Summary Details
Type: object
Title: Summary Details
Summary Details
Show Source
Nested Schema : Messages
Type: array
Title: Messages
Messages
Show Source
Nested Schema : file
Type: object
Show Source
Back to Top

Examples

The following example shows how to return information for the specified status log task by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl -X GET -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Accept: application/json"
https://sitename.oracle.com/rest/v16/tasks/41365771

Response Body Sample

{
  "id": 41365771,
  "dateModified": "10/18/2019 1:18 PM",
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/tasks/41365771"
    }, {
      "rel": "parent",
      "href": "https://sitename.oracle.com/rest/v16/tasks"
    }
  ],
  "name": "Rack_Domain Export",
  "category": {
    "lookupCode": "26",
    "displayValue": "Data Table Export"
  },
  "status": "Completed",
  "result": "datatable_1571422724473",
  "executionTime": "10/18/2019 1:18 PM",
  "dateAdded": "10/18/2019 1:18 PM"
}
Back to Top