Migrate Package

post

/rest/v19/migrationPackages/actions/migrate

This endpoint migrates a package.

Request

Supported Media Types
Body ()
Migrate package request.
Root Schema : migratePackage-request
Type: object
Title: migratePackage-request
Show Source
Nested Schema : Migration Resource Content
Type: object
Title: Migration Resource Content
Show Source
Nested Schema : Migration Resource Content List
Type: array
Title: Migration Resource Content List
List of Migration Resource Contents
Show Source
Nested Schema : migrationPackage-requestChildren
Type: object
Content for the Create, Update and Update Contents Migration Package
Show Source
Nested Schema : List of children contents
Type: array
Title: List of children contents
List of children contents
Show Source
Nested Schema : migratePackage-subChildren
Type: object
Migration Resource children contents
Show Source
Nested Schema : List of children contents
Type: array
Title: List of children contents
List of children contents
Show Source
Nested Schema : migrationPackage-lowLevelUpdateRequest
Type: object
Show Source
Nested Schema : List of children contents
Type: array
Title: List of children contents
List of children contents
Show Source
Nested Schema : migrationPackage-lowLevelUpdateRequest-children
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

Migrate package task response
Body ()
Root Schema : Task details
Type: object
Title: Task details
Task details
Show Source
Back to Top

Examples

The following example shows how to migrate a package that has been uploaded to the server 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 "Accept: application/json"
https://sitename.oracle.com/rest/v19/migrationPackages/actions/migrate

Request Body Sample

{
  "uploadedPackageIdentifier": "MigrationPackage_21668616413578",
  "targetProcessVarName": "",
  "sendNotificationTo": "lisa.jones@yourcompany.com",
  "includeSnapshot": false,
  "cleanPkgsOfSameName": true
}

Response Body Sample

{
  "taskId": 3023444194,
  "links": [{
      "rel": "related",
      "href": "http://sitename.oracle.com/rest/v19/tasks/3023444194"
    }
  ],
  "messages": {
    "info": ["There are other migration tasks that are currently running. Your request will be queued."]
  }
}
Back to Top