Get Migration Task
get
/rest/v19/migrationTasks/{taskId}
This endpoint retrieves migration task details.
Request
Path Parameters
-
taskId(required): number
The task identifier.
Query Parameters
-
expand: string
Expand the child content.Allowed Values:
[ "categories" ]
Response
Supported Media Types
- application/json
Default Response
Migration task information
Root Schema : Migration Task Details
Type:
objectTitle:
Show Source
Migration Task Details-
categories:
object migrationTaskCategory-collection
-
date:
string
Title:
dateCompleted date for migration task. -
description:
string
Title:
descriptionDescription for the migration task. -
isCancel:
boolean
Title:
isCancelIs migration task cancelable? -
isDelete:
boolean
Title:
isDeleteIs migration task deletable? -
isDownload:
boolean
Title:
isDownloadIs downloadable file available for the migration task? -
isRevertToSnapshot:
boolean
Title:
isRevertToSnapshotIs revert to snapshot available for the migration task? -
isRollback:
boolean
Title:
isRollbackIs migration task rollbackable? -
links:
array Links to the related objects
Title:
Links to the related objectsLinks to the related objects -
owner:
string
Title:
ownerUser login name. -
status:
string
Title:
statusStatus of the migration task. -
statusLabel:
string
Title:
statusLabelStatus display name. -
taskCategory:
object taskCategory
Title:
taskCategoryCategory of Migration Task. -
taskId:
number
Title:
taskIdId of the migration task.
Nested Schema : migrationTaskCategory-collection
Type:
Show Source
object-
items:
array Migration Task Category list
Title:
Migration Task Category listList of migration task sub categories. -
links:
array Links to the related objects
Title:
Links to the related objectsLinks to the related objects
Nested Schema : Links to the related objects
Type:
arrayTitle:
Links to the related objectsLinks to the related objects
Show Source
-
Array of:
object referenceLinks
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : taskCategory
Type:
objectTitle:
taskCategoryCategory of Migration Task.
Show Source
-
displayValue:
string
Title:
Display ValueDisplay value. -
value:
number
Title:
ValueValue.
Nested Schema : Migration Task Category list
Type:
arrayTitle:
Migration Task Category listList of migration task sub categories.
Show Source
-
Array of:
object Migration Task Category Details
Title:
Migration Task Category Details
Nested Schema : Links to the related objects
Type:
arrayTitle:
Links to the related objectsLinks to the related objects
Show Source
-
Array of:
object referenceLinks
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : Migration Task Category Details
Type:
objectTitle:
Show Source
Migration Task Category Details-
category:
string
Title:
categoryMigration task sub category. -
categoryDetails:
object Migration Task Category Logs Details
Title:
Migration Task Category Logs Details -
categoryLabel:
string
Title:
categoryLabelCategory display name. -
date:
string
Title:
dateCompleted date for migration sub task. -
links:
array Links to the related objects
Title:
Links to the related objectsLinks to the related objects -
status:
string
Title:
statusStatus of the migration sub task. -
statusLabel:
string
Title:
statusLabelStatus display name. -
statusMessage:
string
Title:
statusMessageTask Status message.
Nested Schema : Migration Task Category Logs Details
Type:
objectTitle:
Show Source
Migration Task Category Logs Details-
category:
string
Title:
categoryMigration task sub category. -
categoryLabel:
string
Title:
categoryLabelCategory display name. -
events:
array Migration Task Sub Category Log Event
Title:
Migration Task Sub Category Log EventList of migration task sub category log event. -
logs:
array Migration Task Sub Category Logs
Title:
Migration Task Sub Category LogsList of migration task sub category logs.
Nested Schema : Links to the related objects
Type:
arrayTitle:
Links to the related objectsLinks to the related objects
Show Source
-
Array of:
object referenceLinks
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : Migration Task Sub Category Log Event
Type:
arrayTitle:
Migration Task Sub Category Log EventList of migration task sub category log event.
Show Source
-
Array of:
object Migration Task Sub Category Log Event
Title:
Migration Task Sub Category Log Event
Nested Schema : Migration Task Sub Category Logs
Type:
arrayTitle:
Migration Task Sub Category LogsList of migration task sub category logs.
Show Source
-
Array of:
object Migration Task Sub Category Log Messages
Title:
Migration Task Sub Category Log Messages
Nested Schema : Migration Task Sub Category Log Event
Type:
objectTitle:
Show Source
Migration Task Sub Category Log Event-
name:
string
Title:
nameName of the log event. -
status:
string
Title:
statusStatus of the event. -
statusLabel:
string
Title:
statusLabelEvent status display name. -
statusMessage:
string
Title:
statusMessageEvent status message. -
timeStamp:
string
Title:
timeStampEvent completed timestamp.
Nested Schema : Migration Task Sub Category Log Messages
Type:
objectTitle:
Show Source
Migration Task Sub Category Log Messages-
displayName:
string
Title:
displayNameDisplay Name of the log Messages. -
items:
array Migration Task Sub Category Log Messages
Title:
Migration Task Sub Category Log MessagesList of migration log messages.
Nested Schema : Migration Task Sub Category Log Messages
Type:
arrayTitle:
Migration Task Sub Category Log MessagesList of migration log messages.
Show Source
-
Array of:
string
Title:
MessageMessage
Nested Schema : referenceLinks
Type:
objectReference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
URL to the related objectURL to the related object -
rel:
string
Title:
Link Relationship to the current objectLink Relationship to the current object
Examples
The following example shows how to create a data table by submitting a GET 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" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/migrationTasks/3023616692
Response Body Sample
{
"taskId": 3023616692,
"owner": "adminuser1",
"taskCategory": {
"value": 19,
"displayValue": "Migrate"
},
"status": "Failed",
"statusLabel": "Failed",
"date": "2025-02-12T14:41:23.738Z",
"statusMessage": "One of the object in package ABO_RefApp_Package_24D failed to migrate.",
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/migrationTasks/3023616692"
}, {
"rel": "child",
"href": "https://sitename.oracle.com/rest/v19/migrationTasks/3023616692/categories"
}
],
"isRevertToSnapshot": false,
"isDownload": false,
"isDelete": true,
"isRollback": false,
"isCancel": false
}