Migration REST APIs
Overview
Oracle CPQ supports Migration REST API endpoints for migration packages, migration resources, and migration tasks.
-
Migration Package endpoints aid administrators in the creation, distribution, and deployment of migration packages to different environments.
-
Migration Resource endpoints retrieve the data source entities that are required for successful migration. Oracle CPQ supports retrieving all migration resources, migration resources within a defined Oracle CPQ category, and specific migration resources from within a category.
-
Migration Tasks endpoints aid in the creation and administration of migration tasks.
The following Oracle CPQ Migration Package REST API endpoints are available in the Integration Catalog and do not require a Service Request on My Oracle Support:
-
Get List of Migration Packages
-
Get Migration Package Properties
-
Export Migration Package
-
Import Migration Package
The following Migration Package, Migration Resource, and Migration Tasks endpoints require you to log a Service Request on My Oracle Support to be available in the Oracle CPQ Integration Catalog:
-
Create a Migration Package
-
Update a Migration Package
-
Delete a Migration Package
-
Copy a Migration Package
-
Get All Migration Package Content
-
Get Migration Package Category Content
-
Get Migration Package Content Dependencies
-
Get Migration Package Resource Low-level Details
-
Update Migration Package Content
-
Update Migration Package Resource Low-Level Details
-
Version a Migration Package
-
Migrate Package
-
Upload ZIP file for a Migration Package
-
Get All Migration Resources
-
Get Category Migration Resources
-
Get Category Resource Low-level Details
-
Get Dependencies of the Selected Migration Resources or Migration Package from Source Site
-
Migrate Selected Migration Resources or Migration Package from Source Site
-
Get All Migration Tasks
-
Get Migration Task
-
Get Migration Task Categories
-
Get Migration Task Category Details
-
Roll Back a Migration
-
Create a Snapshot
-
Revert to Snapshot
Oracle CPQ uses HTTP Basic authentication to authenticate REST calls from third-party systems. When making a call to an Oracle CPQ REST API, the third-party system’s REST client must have encrypted Oracle CPQ login credentials in the Header and an Accept Header that both adhere to HTTP Basic authentication standards. The Accept Header must be set to application/schema+json
to see the detailed schema of the resource. For more information see the topic Supported REST Headers.
Administration
Note: The Migration REST APIs are only available for users with administrative permissions and access to the Migration feature.
Migration Packages
Get List of Migration Packages
Get List of Migration Packages ![]() |
||
---|---|---|
Description |
This endpoint retrieves a list of migration packages. |
|
URI Endpoint |
/rest/v18/migrationPackages |
|
Endpoint Parameters |
None required |
|
q |
(Optional) Declares a query expression to specify filtering criteria. | |
fields |
(Optional) Specifies a comma-separated list of fields to be included in response. |
|
orderby |
(Optional) Specifies a comma-separated list of pairs to order the response by. | |
For more information, see Query Specification Syntax. |
||
HTTP Method |
GET |
|
Request Body Parameters |
None |
|
Response Body Parameters |
The REST API returns the following items for each package: |
|
name |
The name of the migration package | |
description |
The description for the migration package | |
version |
The version of the migration package | |
dateRelease |
The date the migration package was released | |
dateAdded |
The date the migration package was added | |
dateModified |
The date of the last migration package modification | |
identifier |
The unique identifier for the migration package | |
dependencies |
A list of migration package dependencies |
https://sitename.oracle.com/rest/v18/migrationPackages
{ "items": [{ "name": "Migration Package", "identifier": "migrationPackage_v1", "version": 1, "dateAdded": "2020-04-17T14:10:20.000Z", "dateModified": "2020-04-17T14:10:20.000Z", "dependencies": { "items": [] }, "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v18/migrationPackages/migrationPackage_v1" } ] }, { "name": "ABO Utilities", "identifier": "aBOUtilities_v1", "version": 1, "dateAdded": "2020-04-17T14:11:12.000Z", "dateModified": "2020-04-17T14:11:12.000Z", "dependencies": { "items": [] }, "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v18/migrationPackages/aBOUtilities_v1" } ] }, { "name": "Migration Package", "identifier": "migrationPackage_v2", "version": 2, "dateRelease": "2020-04-17T05:00:00.000Z", "dateAdded": "2020-04-17T14:12:52.000Z", "dateModified": "2020-04-17T14:14:10.000Z", "dependencies": { "items": [{ "name": "ABO Utilities", "version": 1 } ] }, "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v18/migrationPackages/migrationPackage_v2" } ] } ], "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v18/migrationPackages" } ] }
Get Migration Package Properties
https://sitename.oracle.com/rest/v18/migrationPackages/migrationPackage_v2
{ "name": "Migration Package", "identifier": "migrationPackage_v2", "version": 2, "dateAdded": "2020-04-15T21:01:57.000Z", "dateModified": "2020-04-15T21:01:57.000Z", "dependencies": { "items": [] }, "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v18/migrationPackages/migrationPackage_v2" } ] }
Description |
This endpoint creates a new migration package. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationPackages |
|
Endpoint Parameters |
None |
|
HTTP Method |
POST |
|
Request Body Parameters |
name |
(Required) The name of the migration package |
description |
(Optional) The description of the migration package | |
dateRelease |
(Optional) The date, in yyyy-MM-dd format, the migration package was released | |
contents |
(Optional) A list of migration package contents | |
dependencies |
(Optional) A list of migration package dependencies | |
Response Body Parameters |
name |
The name of the migration package |
identifier |
The unique identifier for the migration package. The identifier is auto-generated based on input package name and version number. | |
description |
The description of the migration package | |
version |
The version of the migration package. The default version value is 1. | |
dateRelease |
The date the migration package was released | |
dateAdded |
The date the migration package was added | |
dateModified |
The date of the last migration package modification | |
dependencies |
A list of migration package dependencies |
https://sitename.oracle.com/rest/v18/migrationPackages
{ "name": "pkg2", "contents": { "items": [{ "name": "Commerce", "category": "COMMERCE", "children": [{ "name": "Formula", "variableName": "formula", "resourceType": "process" }, { "name": "Test", "variableName": "test", "resourceType": "process", "granular": true, "children": [{ "name": "Move", "variableName": "_action_process_move", "resourceType": "action", "modifiedByUser": "matt", "lastModified": "07/05/2023 11:28 PM" }, { "name": "Email", "variableName": "_action_process_email_print", "resourceType": "action", "modifiedByUser": "matt", "lastModified": "07/05/2023 11:28 PM" }, { "name": "Main", "variableName": "main", "resourceType": "document", "modifiedByUser": "matt", "lastModified": "07/05/2023 11:27 PM" } ] } ] } ] } }
{ "name": "pkg2", "identifier": "pkg2_v1", "version": 1, "dateAdded": "2023-08-24T09:31:42.000Z", "dateModified": "2023-08-24T09:31:42.000Z", "dependencies": {}, "links": [{ "rel": "self", "href": "http://sitename.oracle.com /rest/v18/migrationPackages/pkg2_v1" }, { "rel": "child", "href": "http://sitename.oracle.com /rest/v18/migrationPackages/pkg2_v1/contents", "name": "contents" } ] }
Description |
This endpoint updates the migration package properties of an existing migration package. Only specified properties are added or updated using the PATCH method. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationPackages/{id} |
|
Endpoint Parameters |
id |
The unique identifier for the migration package the user wants to update |
HTTP Method |
PATCH |
|
Request Body Parameters |
description |
(Optional) The description of the migration package |
dateRelease |
(Optional) The date the migration package was released | |
contents |
(Optional) A list of migration package contents | |
dependencies |
(Optional) A list of migration package dependencies | |
Response Body Parameters |
name |
The name of the migration package |
identifier |
The unique identifier for the migration package | |
description |
The description of the migration package | |
version |
The version of the migration package | |
dateRelease |
The date the migration package was released | |
dateAdded |
The date the migration package was added | |
dateModified |
The date of the last migration package modification | |
dependencies |
A list of migration package dependencies |
https://sitename.oracle.com/rest/v18/migrationPackages/pkg2_v1
{ "name": "pkg2", "contents": { "items": [{ "name": "Commerce", "category": "COMMERCE", "children": [{ "name": "Formula", "variableName": "formula", "resourceType": "process" }, { "name": "Test", "variableName": "test", "resourceType": "process", "granular": true, "children": [{ "name": "Move", "variableName": "_action_process_move", "resourceType": "action", "modifiedByUser": "matt", "lastModified": "07/05/2023 11:28 PM" }, { "name": "Email", "variableName": "_action_process_email_print", "resourceType": "action", "modifiedByUser": "matt", "lastModified": "07/05/2023 11:28 PM" }, { "name": "Main", "variableName": "main", "resourceType": "document", "modifiedByUser": "matt", "lastModified": "07/05/2023 11:27 PM" } ] } ] } ] } }
{ "name": "pkg2", "identifier": "pkg2_v1", "version": 1, "dateAdded": "2023-08-24T09:31:42.000Z", "dateModified": "2023-08-24T09:31:42.000Z", "dependencies": {}, "links": [{ "rel": "self", "href": "http://sitename.oracle.com /rest/v18/migrationPackages/pkg2_v1" }, { "rel": "child", "href": "http://sitename.oracle.com /rest/v18/migrationPackages/pkg2_v1/contents", "name": "contents" } ] }
Description |
This endpoint deletes a migration package. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationPackages/{id} |
|
Endpoint Parameters |
id |
The unique identifier for the migration package |
HTTP Method |
DELETE |
|
Request Body Parameters |
None |
|
Response Body Parameters |
HTTP Code 204 |
https://sitename.oracle.com/rest/v18/migrationPackages/migrationPackage_v1
Description |
This endpoint creates a copy of a migration package. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationPackages/{id}/actions/copy |
|
Endpoint Parameters |
id |
The unique identifier of the existing package the user wants to create a package from |
HTTP Method |
POST |
|
Request Body Parameters |
name |
The name for the copied migration package |
Response Body Parameters |
JSON data for the new copy of the migration package. |
https://sitename.oracle.com/rest/v18/migrationPackages/testPackage/actions/copy
{ "name": "Test Package" }
{ "name": "Test Package", "identifier": "testPackage_v1", "version": 1, "dateAdded": "2025-02-17T09:21:26.000Z", "dateModified": "2025-02-17T09:21:26.000Z", "owner": "superuser", "lastModifiedUser": "adminuser1", "sourceSiteUrl": "https://sitename.oracle.com", "dependencies": {}, "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v18/migrationPackages/testPackage_v1" }, { "rel": "child", "href": "https://sitename.oracle.com/rest/v18/migrationPackages/testPackage_v1/contents", "name": "contents" } ], "isImported": false }
Get All Migration Package Content
Description |
This endpoint retrieves all migration resources included in an existing package. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationPackages/{id}/actions/copy |
|
Endpoint Parameters |
id |
The unique identifier for the migration package |
HTTP Method |
GET |
|
Request Body Parameters |
None |
|
Response Body Parameters |
JSON data containing all migration resource properties |
https://sitename.oracle.com/rest/v18/migrationPackages/test_package/actions/copy
{ "items": [{ "name": "Configuration", "category": "CONFIGURATION", "children": [{ "name": "Integration", "variableName": "integration", "resourceType": "product_family_configuration" } ] }, { "name": "Commerce", "category": "COMMERCE", "children": [{ "name": "Test", "variableName": "test", "resourceType": "process" } ] } ], "links": [{ "rel": "self", "href": "http://sitename.oracle.com /rest/v18/migrationPackages/migrationPackage_v1/contents" }, { "rel": "parent", "href": "http://sitename.oracle.com /rest/v18/migrationPackages/migrationPackage_v1" } ] }
Get Migration Package Category Content
Description |
This endpoint retrieves all migration resources for a specific category included in an existing migration package. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationPackages/{id}/contents/{category} |
|
Endpoint Parameters |
id |
The unique identifier for the migration package |
category |
The category of migration content | |
HTTP Method |
GET |
|
Request Body Parameters |
None |
|
Response Body Parameters |
JSON data containing the migration package category properties |
https://sitename.oracle.com/rest/v18/migrationPackages/migrationPackage_v1/contents/CONFIGURATION
{ "name": "Configuration", "category": "CONFIGURATION", "children": [{ "name": "Integration", "variableName": "integration", "resourceType": "product_family_configuration" } ], "links": [{ "rel": "self", "href": "http://sitename.oracle.com /rest/v18/migrationPackages/migrationPackage_v1/contents/CONFIGURATION" } ] }
Get Migration Package Content Dependencies
Description |
This endpoint retrieves content dependencies for a migration package. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationPackages/{id}/contents/dependencies |
|
Endpoint Parameters |
id |
The unique identifier for the migration package |
HTTP Method |
GET |
|
Request Body Parameters |
None |
|
Response Body Parameters |
JSON data containing the dependencies for a migration package. |
https://sitename.oracle.com/rest/v18/migrationPackages/migrationPackage_v1/contents/dependencies
{ "items": [{ "name": "Configuration", "category": "CONFIGURATION", "children": [{ "name": "Admin", "variableName": "admin", "resourceType": "product_family_configuration", "resourceTypeLabel": "Configuration", "dependencies": [{ "name": "Admin", "category": "CATALOG", "variableName": "admin", "resourceTypeLabel": "Catalog", "type": "HIGH_LEVEL", "hierarchy": "CATALOG~Admin" } ] } ] }, { "name": "Commerce", "category": "COMMERCE", "children": [{ "name": "Test", "variableName": "test", "resourceType": "process", "resourceTypeLabel": "Commerce", "granular": true, "dependencies": [{ "name": "Float Field 1", "category": "COMMERCE", "variableName": "floatField1", "resourceType": "attribute", "resourceTypeLabel": "Attribute(s)", "type": "LOW_LEVEL", "hierarchy": "test~process/main~document/floatField1~attribute", "hierarchyLabel": "Test/Document(s)/Main/Attribute(s)/Float Field 1", "source": [{ "name": "Copy", "variableName": "_action_process_resubmit", "resourceType": "action", "resourceTypeLabel": "Action(s)", "hierarchyLabel": "Test/Action(s)" } ] } ] } ] }, { "name": "Data Table", "category": "DATA_TABLE", "children": [{ "name": "[Default]", "variableName": "_default", "resourceType": "data_table_folder", "resourceTypeLabel": "Data Table", "children": [{ "name": "Status", "variableName": "Status", "resourceType": "data_table", "resourceTypeLabel": "Data Table", "dependencies": [{ "name": "SOAPSingleKey", "category": "DATA_TABLE", "variableName": "SOAPSingleKey", "resourceTypeLabel": "Data Table", "type": "HIGH_LEVEL", "hierarchy": "DATA_TABLE~SOAP/SOAP~SOAPSingleKey" } ] } ] } ] } ] }
Get Migration Package Resource Low-level Details
Description |
This endpoint retrieves low-level details of a migration resource within a specific category of a migration package. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationPackages/{id}/contents/{category}/{varName} |
|
Endpoint Parameters |
id |
The unique identifier for the migration package |
category |
The category of migration content | |
varName |
The variable name of the resource | |
HTTP Method |
GET |
|
Request Body Parameters |
None |
|
Response Body Parameters |
JSON data containing the low-level details of a migration resource that is included in an existing package for a specific category. For example, for Commerce process the response contains: document , sub-documents, actions, attributes, etc. included in the migration package. |
https://sitename.oracle.com/rest/v18/migrationPackages/migrationPackage_v1/contents/configuration/admin
{ "name": "All Product Family", "variableName": "admin", "children": [ { "name": "Bill Country", "variableName": "CRM_BILL_COUNTRY", "resourceType": "attribute", "modifiedByUser": "superuser", "lastModified": "05/15/2019 1:18 PM" }, { "name": "Admin (Product Family)", "variableName": "admin", "resourceType": "product_family", "modifiedByUser": "sam", "lastModified": "03/26/2021 10:04 AM", "children": [ { "name": "Name", "variableName": "_bm_model_name", "resourceType": "attribute", "lastModified": "03/26/2021 10:04 AM" }, { "name": "Line", "variableName": "line", "resourceType": "product_line", "modifiedByUser": "Automation_JET_UserType_FullAccess", "lastModified": "02/21/2018 12:58 PM", "children": [ { "name": "Test Model", "variableName": "model", "resourceType": "model", "modifiedByUser": "Automation_JET_UserType_FullAccess", "lastModified": "06/15/2017 3:04 PM" } ] } ] }, { "name": "All PF Level (Recommendation)", "variableName": "allPFLevel", "resourceType": "rule", "modifiedByUser": "sam", "lastModified": "05/03/2023 10:56 AM" } ], "links": [ { "rel": "self", "href": "http://sitename.oracle.com /rest/v18/migrationPackages/migrationPackage_v1/contents/configuration/admin" } ] }
Update Migration Package Content
Description |
This endpoint updates all content within a migration package. Using the PUT method replaces the entire package contents with new package contents. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationPackages/{id}/contents |
|
Endpoint Parameters |
id |
The unique identifier for the migration package |
HTTP Method |
PUT |
|
Request Body Parameters |
items |
The migration package content for update |
Response Body Parameters |
items |
The migration package content updated |
https://sitename.oracle.com/rest/v18/migrationPackages/pkg2/contents
{ "name": "pkg2", "contents": { "items": [{ "name": "Commerce", "category": "COMMERCE", "children": [{ "name": "Formula", "variableName": "formula", "resourceType": "process" }, { "name": "Test", "variableName": "test", "resourceType": "process", "granular": true, "children": [{ "name": "Move", "variableName": "_action_process_move", "resourceType": "action", "modifiedByUser": "matt", "lastModified": "07/05/2023 11:28 PM" }, { "name": "Email", "variableName": "_action_process_email_print", "resourceType": "action", "modifiedByUser": "matt", "lastModified": "07/05/2023 11:28 PM" }, { "name": "Main", "variableName": "main", "resourceType": "document", "modifiedByUser": "matt", "lastModified": "07/05/2023 11:27 PM" } ] } ] } ] } }
{ "name": "pkg2", "identifier": "pkg2_v1", "version": 1, "dateAdded": "2023-08-24T09:31:42.000Z", "dateModified": "2023-08-24T09:31:42.000Z", "dependencies": {}, "links": [{ "rel": "self", "href": "http://sitename.oracle.com /rest/v18/migrationPackages/pkg2_v1" }, { "rel": "child", "href": "http://sitename.oracle.com /rest/v18/migrationPackages/pkg2_v1/contents", "name": "contents" } ] }
Update Migration Package Resource Low-level Details
Description |
This endpoint updates low-level details of a migration resource within a specific category of a migration package. Using the PUT method replaces the entire package contents with new package contents. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationPackages/{id}/contents/{category}/{varName} |
|
Endpoint Parameters |
id |
The unique identifier for the migration package |
category |
The category of migration content | |
variableName |
The variable name of the resource | |
HTTP Method |
PUT |
|
Request Body Parameters |
items |
The low-level items for update |
checkedAll |
The Boolean value, if true, includes all migratable low-level detail resources | |
Response Body Parameters |
JSON data containing the list of all migration resources saved as part of low-level details. |
https://sitename.oracle.com/rest/v18/migrationPackages/migrationPackage_v1/contents/commerce/test
{ "items": [{ "variableName": "main", "resourceType": "document", "children": [{ "variableName": "submit", "resourceType": "action" } ] } ] }
{ "name": "Test", "variableName": "test", "modifiedByUser": "matt", "lastModified": "09/19/2019 12:30 PM", "children": [{ "name": "Main", "variableName": "main", "resourceType": "document", "modifiedByUser": "matt", "lastModified": "09/18/2019 3:07 PM", "children": [{ "name": "Submit", "variableName": "submit", "resourceType": "action", "modifiedByUser": "lisa", "lastModified": "06/06/2019 1:24 PM" } ] } ], "links": [{ "rel": "self", "href": "http://sitename.oracle.com /rest/v18/migrationPackages/migrationPackage_v1/contents/COMMERCE/test" } ] }
Description |
This endpoint versions an existing migration package. The new version copies the name, properties and all contents of the original version and is given a new higher version number of the existing migration package and a new identifier. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationPackages/{id}/actions/newVersion |
|
Endpoint Parameters |
id |
The unique identifier for the migration package |
HTTP Method |
POST |
|
Request Body Parameters |
None |
|
Response Body Parameters |
name |
The name of the migration package |
identifier |
The unique identifier for the migration package | |
description |
The description of the migration package | |
version |
The version of the migration package | |
dateRelease |
The date the migration package was released | |
dateAdded |
The date the migration package was added | |
dateModified |
The date of the last migration package modification | |
dependencies |
A list of migration package dependencies |
https://sitename.oracle.com/rest/v18/migrationPackages/migrationPackage_v10/actions/newVersion
{ "name": "Migration Package", "identifier": "migrationPackage_v11", "version": 11, "dateAdded": "2023-06-29T05:42:26.000Z", "dateModified": "2023-06-29T05:42:26.000Z", "dependencies": {}, "links": [{ "rel": "self", "href": "http://sitename.oracle.com /rest/v18/migrationPackages/migrationPackage_v11" }, { "rel": "child", "href": "http://sitename.oracle.com /rest/v18/migrationPackages/migrationPackage_v11/contents" } ], }
Description |
This endpoint migrates a package that has been uploaded to the server. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationPackages/actions/migrate |
|
Endpoint Parameters |
None |
|
HTTP Method |
POST |
|
Request Body Parameters |
uploadPackageIndentifier
|
(Required) The identifier for the uploaded ZIP file residing on the server. This value is returned from the Upload ZIP file for a Migration Package REST API. |
cleanPkgsOfSameName |
(Optional) The boolean value to delete the migration packages from resources having the same name | |
contents |
(Optional) Content to be added to the migration package
|
|
includeSnapshot |
(Optional) The boolean value to indicate whether to create a snapshot | |
migrationDescription |
(Optional) The migrate package description | |
sendNoificationTo |
(Optional) The email address to send migrate package status (i.e., success or error message) | |
targetProcessVarName |
(Optional) The process variable name to perform cross-process migration | |
Response Body Parameters |
taskId |
The task identifier associated with the migration job. A task is initiated when you migrate a package. You can view the status of the migration and cancel the migration, if required. Refer to the Task REST APIs for the following task-related functions: Get List of Tasks, Get Task, Cancel Task, Get Task File List, and Download a Task File. |
https://sitename.oracle.com/rest/v18/migrationPackages/actions/migrate
{ "uploadedPackageIdentifier": "MigrationPackage_21668616413578", "targetProcessVarName": "", "sendNotificationTo": "lisa.jones@yourcompany.com", "includeSnapshot": false, "cleanPkgsOfSameName": true }
{ "taskId": 3023444194, "links": [{ "rel": "related", "href": "http://sitename.oracle.com /rest/v18/tasks/3023444194" } ], "messages": { "info": ["There are other migration tasks that are currently running. Your request will be queued."] } }
Upload ZIP File for a Migration Package
Description |
This endpoint uploads a migration package ZIP file to the server. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationPackages/actions/uploadPackage |
|
Endpoint Parameters |
None |
|
HTTP Method |
POST |
|
Request Body Parameters |
Multipart/form data
|
Form data, for example:
|
Response Body Parameters |
name |
The name of the migration package |
identifier |
The unique identifier for the migration package |
|
description |
The description of the migration package | |
version |
The version of the migration package | |
dateRelease |
The date the migration package was released | |
dateAdded |
The date the migration package was added | |
dateModified |
The date of the last migration package modification |
|
siteVersion |
The version for the site |
|
uploadedPackageIdentifier |
The server location of the uploaded ZIP file |
|
crossProcessMigrationEnabled |
The Boolean value to indicate if the migration package is elibible for cross-process migration |
|
dependencies |
A list of migration package dependencies |
|
uploadStatus |
The upload status of the migration package
|
https://sitename.oracle.com/rest/v18/migrationPackages/actions/uploadPackage
{ "name": "MigrationPackage", "identifier": "migrationPackage_v11", "version": 11, "dateModified": "2023-05-27T02:29:48.000Z", "uploadedPackageIdentifer": "MigrationPackage_111665383246705", "siteVersion": "22.3.0", "validCPM": false, "dependencies": {}, "links": [{ "rel": "self", "href": "http://sitename.oracle.com /rest/v18/migrationPackages/TestPackage_111665383246705?retrieveFromPkgZip=true" }, { "rel": "child", "href": "http://sitename.oracle.com /rest/v18/migrationPackages/TestPackage_111665383246705/contents?retrieveFromPkgZip=true" } ] }
curl --request POST 'https://sitename.oracle.com /rest/v18/migrationPackages/actions/uploadPackage' \ --header 'Authorization: Basic c3VwZXJ1c2VyOnFhcGFzcw==' \ --header 'Cookie: JSESSIONID=41fdadef842a4b3ba2079846ac05a5a14ee284b2b4fc509eb875!1363400201' \ --form 'file=@/D:/MigrationPackage_2.zip
https://sitename.oracle.com/rest/v18/migrationPackages/migrationPackage_v2/actions/export
{ "taskId": 41372543, "links": [{ "rel": "related", "href": "https://sitename.oracle.com/rest/v18/tasks/41372543" } ] }
A task is initiated when you export a migration package and the migration package zip file will be associated with the task. After exporting the migration package, you can view the status of the export and download the exported migration package.
Get Task Example
To view the status of the migration package export initiate the Get Task REST API using the task id from the Export Migration Package REST API response.
https://sitename.oracle.com/rest/v18/tasks/41372543
{ "id": 41372543, "dateModified": "04/15/2020 3:33 PM", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v18/tasks/41372543" }, { "rel": "parent", "href": "https://sitename.oracle.com/rest/v18/tasks" }, { "rel": "child", "href": "https://sitename.oracle.com/rest/v18/tasks/41372543/files" } ], "name": "Migration REST Export", "category": { "lookupCode": "52", "displayValue": "Migration Package Export" }, "status": "Completed", "result": "MigrationPackage_2", "executionTime": "04/15/2020 3:33 PM", "dateAdded": "04/15/2020 3:33 PM" }
After the task has completed, perform the following steps to download the exported migration package:
-
Get Task File List
Initiate the Get Task File List REST API using the task id from the Export Migration Package REST API response.
https://sitename.oracle.com/rest/v18/tasks/41372543/files
{ "items": [{ "links": [{ "rel": "related", "href": "https://sitename.oracle.com/rest/v18/tasks/41372543/files/MigrationPackage_2" } ], "name": "MigrationPackage_2", "type": "application/zip" } ], "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v18/tasks/41372543/files" } ] }
-
Download Task File
Initiate the Download Task File REST API using the file name from the Get Task File List REST API.
https://sitename.oracle.com/rest/v18/tasks/41372543/files/MigrationPackage_2
https://sitename.oracle.com/rest/v18/migrationPackages/actions/import
--form 'file=@/D:/MigrationPackage_2.zip' \ --form 'migrationDescription=This migration package contains...' \ --form 'sendNotificationTo=<username>@<domain>.com' \ --form 'includeSnapshot=true' \ --form 'targetProcessVarName=oraclecpqo_bmClone_1' \ --form 'cleanOtherVersionsOfSamePackage=true'
{ "taskId": 41372699, "links": [{ "rel": "related", "href": "https://sitename.oracle.com/rest/v18/tasks/41372699" } ] }
A task is initiated when you import a migration package. After importing the migration package, you can view the status of the import and cancel the migration package, if required.
Get Task Example
To view the status of the migration package import initiate the Get Task REST API using the task id from the Import Migration Package REST API response.
https://sitename.oracle.com/rest/v18/tasks/41372699
{ "id": 41372699, "dateModified": "04/15/2020 4:02 PM", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v18/tasks/41372699" }, { "rel": "parent", "href": "https://sitename.oracle.com/rest/v18/tasks" }, { "rel": "child", "href": "https://sitename.oracle.com/rest/v18/tasks/41372699/files" } ], "name": "Migration REST Import", "category": { "lookupCode": "51", "displayValue": "Migration Package Import" }, "status": "Completed", "detailStatus": { "message": "Task is completed successfully.", "items": [{ "entity": "Util Library", "status": "Successful" }, { "entity": "Package", "status": "Successful" } ] }, "executionTime": "04/15/2020 4:00 PM", "dateAdded": "04/15/2020 4:00 PM" }
To cancel the migration package import initiate the Cancel Task REST API using the task id from the Import Migration Package REST API response.
Migration Resources
Description |
This endpoint retrieves all the migration resources, grouped by category. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationResources |
|
Endpoint Parameters |
None |
|
HTTP Method |
GET |
|
Request Body Parameters |
None |
|
Response Body Parameters |
JSON data containing all migration resources |
https://sitename.oracle.com/rest/v18/migrationResources
{ "items": [{ "name": "Util Library", "category": "UTIL_LIBRARY", "children": [{ "name": "", "variableName": "template_1", "resourceType": "library", "granular": true, "links": [{ "rel": "related", "href": "http://sitename.oracle.com /rest/v18/migrationResources/UTIL_LIBRARY/template_1" } ] } ] }, { "name": "Product Definition", "category": "PRODUCT_DEFINITION", "children": [{ "name": "Vision Vehicles", "variableName": "visionVehicles", "resourceType": "product_family" } ] }, { "name": "Catalog", "category": "CATALOG", "children": [{ "name": "Admin", "variableName": "admin", "resourceType": "product_line_model" } ] }, { "name": "Configuration", "category": "CONFIGURATION", "children": [{ "name": "Admin", "variableName": "admin", "resourceType": "product_family_configuration", "granular": true, "links": [{ "rel": "related", "href": "http://sitename.oracle.com /rest/v18/migrationResources/CONFIGURATION/admin" } ] } ] } ], "links": [{ "rel": "self", "href": "http://sitename.oracle.com /rest/v18/migrationResources" } ] }
Get Category Migration Resources
Description |
This endpoint retrieves all migration resources for a specific category. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationResources/{category} |
|
Endpoint Parameters |
category |
The category of migration content. Include to filter by resource category |
HTTP Method |
GET |
|
Request Body Parameters |
None |
|
Response Body Parameters |
JSON data containing the list of migration resources |
https://sitename.oracle.com/rest/v18/migrationResources/UTIL_LIBRARY
{ "items": [{ "name": "Util Library", "category": "UTIL_LIBRARY", "children": [{ "name": "RecommendationRule_StringArrayAttribute", "variableName": "recommendationRule_StringArrayAttribute", "resourceType": "library", "links": [{ "rel": "related", "href": "http:// https://sitename.oracle.com/rest/v18/migrationResources/UTIL_LIBRARY/recommendationRule_StringArrayAttribute" } ] }, { "name": "TranslatedLanguage", "variableName": "translatedLanguage", "resourceType": "library", "links": [{ "rel": "related", "href": "http:// https://sitename.oracle.com/rest/v18/migrationResources/UTIL_LIBRARY/translatedLanguage" } ] } ] } ] }
Get Category Resource Low-level Details
Description |
This endpoint retrieves low-level details of a migration resource within a specific category. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationResources/{category}/{varName} |
|
Endpoint Parameters |
category |
The category of migration content. Include to filter by resource category. |
varName |
The variable name of the category item. Include to filter by resource category and variable name. | |
HTTP Method |
GET |
|
Request Body Parameters |
None |
|
Response Body Parameters |
JSON data containing the low-level details of a migration resource for a specific category. For example, for Commerce process the response contains: document , sub-documents, actions, attributes, etc. |
https://sitename.oracle.com/rest/v18/migrationResources/COMMERCE/test
{ "name": "Test", "variableName": "test", "modifiedByUser": "matt", "lastModified": "09/19/2019 12:30 PM", "children": [{ "name": "Export File Attachments", "variableName": "_action_export_file_attachments", "resourceType": "action", "modifiedByUser": "matt", "lastModified": "12/15/2017 3:25 PM" }, { "name": "Main", "variableName": "main", "resourceType": "document", "modifiedByUser": "matt", "lastModified": "09/18/2019 3:07 PM", "children": [{ "name": "SSM 1", "variableName": "sSM1", "resourceType": "attribute", "modifiedByUser": "matt", "lastModified": "09/17/2019 9:11 AM" }, { "name": "submit", "variableName": "submit", "resourceType": "action", "lastModified": "01/05/2023 9:55 AM" }, { "name": "Hide AJAX Output Sub", "variableName": "hideAJAXOutputSub", "resourceType": "rule", "modifiedByUser": "matt", "lastModified": "09/17/2019 1:19 PM" } ] }, { "name": "formulaOutput = formulaInput", "variableName": "formulaOutput = formulaInput", "resourceType": "formula", "modifiedByUser": "matt", "lastModified": "09/17/2019 12:44 PM" }, { "name": "To Step 2 Step", "variableName": "toStep2", "resourceType": "step", "lastModified": "12/15/2017 3:25 PM" }, { "name": "Document PDF(Printer Friendly/History)", "variableName": "documentPDF", "resourceType": "xsl_view", "modifiedByUser": "matt", "lastModified": "12/15/2017 3:25 PM" } ], "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v18/migrationResources/COMMERCE/test" } ] }
Get Dependencies for Selected Migration Resources or Migration Package from Source Site
https://sitename.oracle.com/rest/v18/migrationResources/dependencies
Example of Dependencies of Selected Migration Resources from a Source Site
{ "contents": { "items": [{ "category": "COMMERCE", "children": [{ "name": "test", "variableName": "test", "granular": true, "children": [{ "variableName": "test", "resourceType": "process", "checked": false, "children": [{ "name": "Main", "variableName": "main", "resourceType": "document", "children": [{ "name": "Save", "variableName": "save", "resourceType": "action", "modifiedByUser": "adminuser1", "lastModified": "08/01/2023 10:28 PM" }, { "name": "Submit", "variableName": "submit", "resourceType": "action", "modifiedByUser": "adminuser1", "lastModified": "08/01/2023 10:27 PM" } ] } ] } ] } ] } ] } }
{ "items": [{ "name": "Commerce", "category": "COMMERCE", "children": [{ "name": "Test", "variableName": "test", "resourceType": "process", "resourceTypeLabel": "Commerce", "granular": true, "dependencies": [{ "name": "Step Name", "category": "COMMERCE", "variableName": "stepName", "resourceType": "attribute", "resourceTypeLabel": "Attribute(s)", "type": "LOW_LEVEL", "hierarchy": "test~process/main~document/stepName~attribute", "hierarchyLabel": "Test/Document(s)/Main/Attribute(s)/Step Name", "source": [{ "name": "Save", "variableName": "save", "resourceType": "action", "resourceTypeLabel": "Action(s)", "hierarchyLabel": "Test/Document(s)/Main/Action(s)" } ] }, { "name": "HTML Field 1", "category": "COMMERCE", "variableName": "hTMLField1", "resourceType": "attribute", "resourceTypeLabel": "Attribute(s)", "type": "LOW_LEVEL", "hierarchy": "test~process/main~document/hTMLField1~attribute", "hierarchyLabel": "Test/Document(s)/Main/Attribute(s)/HTML Field 1", "source": [{ "name": "Save", "variableName": "save", "resourceType": "action", "resourceTypeLabel": "Action(s)", "hierarchyLabel": "Test/Document(s)/Main/Action(s)" }, { "name": "Submit", "variableName": "submit", "resourceType": "action", "resourceTypeLabel": "Action(s)", "hierarchyLabel": "Test/Document(s)/Main/Action(s)" } ] } ] } ] } ] }
Example of Dependencies of a Migration Package from a Source Site
{ "packageIdentifier": "migrationPackage_v1", "contents": { "items": [{ "category": "COMMERCE", "children": [{ "name": "test", "variableName": "test", "granular": true, "children": [{ "variableName": "test", "resourceType": "process", "checked": false, "children": [{ "name": "Main", "variableName": "main", "resourceType": "document", "children": [{ "name": "Save", "variableName": "save", "resourceType": "action", "modifiedByUser": "adminuser1", "lastModified": "08/01/2023 10:28 PM" }, { "name": "Submit", "variableName": "submit", "resourceType": "action", "modifiedByUser": "adminuser1", "lastModified": "08/01/2023 10:27 PM" } ] } ] } ] } ] } ] } }
{ "items": [{ "name": "Commerce", "category": "COMMERCE", "children": [{ "name": "Test", "variableName": "test", "resourceType": "process", "resourceTypeLabel": "Commerce", "granular": true, "dependencies": [{ "name": "Step Name", "category": "COMMERCE", "variableName": "stepName", "resourceType": "attribute", "resourceTypeLabel": "Attribute(s)", "type": "LOW_LEVEL", "hierarchy": "test~process/main~document/stepName~attribute", "hierarchyLabel": "Test/Document(s)/Main/Attribute(s)/Step Name", "source": [{ "name": "Save", "variableName": "save", "resourceType": "action", "resourceTypeLabel": "Action(s)", "hierarchyLabel": "Test/Document(s)/Main/Action(s)" } ] }, { "name": "HTML Field 1", "category": "COMMERCE", "variableName": "hTMLField1", "resourceType": "attribute", "resourceTypeLabel": "Attribute(s)", "type": "LOW_LEVEL", "hierarchy": "test~process/main~document/hTMLField1~attribute", "hierarchyLabel": "Test/Document(s)/Main/Attribute(s)/HTML Field 1", "source": [{ "name": "Save", "variableName": "save", "resourceType": "action", "resourceTypeLabel": "Action(s)", "hierarchyLabel": "Test/Document(s)/Main/Action(s)" }, { "name": "Submit", "variableName": "submit", "resourceType": "action", "resourceTypeLabel": "Action(s)", "hierarchyLabel": "Test/Document(s)/Main/Action(s)" } ] } ] } ] } ] }
Migrate Selected Migration Resources or Migration Package from Source Site
Migrate Selected Migration Resources or Migration Package from Source Site |
||
---|---|---|
Description |
This endpoint migrates the selected migration resources or a migration package from a source site. |
|
URI Endpoint |
/rest/v18/migrationResources/actions/migrate |
|
Endpoint Parameters |
None |
|
HTTP Method |
POST |
|
Request Header |
siteURL |
(Required) The URL for the source site |
username |
(Required) The username for the source site | |
password |
(Required) The password for the source site | |
Request Body Parameters |
packageIdentifier |
(Required for Migration Package) The identifier for the migration package residing in the source site |
cleanPkgsOfSameName |
(Required for Migration Package and Optional for Migration Resources) The boolean value to delete the migration packages from resources having the same name | |
contents |
(Required for Migration Resources and Optional for Migration Package) Content to be migrated
|
|
excludeContents |
(Optional) The migration package content to exclude from the migration. The specified excludeContents are not migrated with the package. |
|
includeSnapshot |
(Optional) The boolean value to indicate whether to create a snapshot | |
migrationDescription |
(Optional) The migrate resource or migrate package description | |
sendNotificationTo |
(Optional) The email address to send migrate status (i.e., success or error message)e | |
dependencies |
(Optional) A list of migration resources or migration package dependencies | |
Response Body Parameters |
taskId |
The task identifier associated with the migration job. A task is initiated when you migrate resources or a package. You can view the status of the migration and cancel the migration, if required. Refer to the Task REST APIs for the following task-related functions: Get List of Tasks, Get Task, Cancel Task, Get Task File List, and Download a Task File. |
https://sitename.oracle.com/rest/v18/migrationResources/actions/migrate
Example of Migrating Resources from a Source Site
{ "contents": { "items": [{ "category": "COMMERCE", "children": [{ "variableName": "test", "granular": true, "children": [{ "variableName": "main", "resourceType": "document", "checkedAllChildren": false, "children": [{ "name": "eSignature Action Set", "variableName": "_action_esig_set", "resourceType": "action_set", "lastModified": "06/15/2023 3:27 AM" } ] } ] } ] } ] } }
{ "taskId": 3023163957, "links": [{ "rel": "related", "href": "http://sitename.oracle.com /rest/v18/tasks/3023163957" } ] }
Example of Migrating a Package from a Source Site
{ "packageIdentifier": "packageName3_v1", "sendNotificationTo": "lisajones@yourcompany.com", "includeSnapshot": false, "excludeContents": { "items": [{ "category": "COMMERCE", "children": [{ "variableName": "test", "granular": true, "children": [{ "variableName": "main", "resourceType": "document", "checkedAllChildren": false, "children": [{ "name": "eSignature Action Set", "variableName": "_action_esig_set", "resourceType": "action_set", "lastModified": "06/15/2023 3:27 AM" } ] } ] } ] } ] }, "dependencies": { "items": [{ "name": "Commerce", "category": "COMMERCE", "children": [{ "name": "Test", "variableName": "test", "resourceType": "process", "granular": true, "dependencies": [{ "name": "HTML Field 1", "category": "COMMERCE", "variableName": "hTMLField1", "resourceType": "attribute", "type": "LOW_LEVEL", "hierarchy": "test~process/main~document/hTMLField1~attribute" } ] } ] } ] } }
{ "taskId": 3023163957, "links": [{ "rel": "related", "href": "http://sitename.oracle.com /rest/v18/tasks/3023163957" } ] }
Migration Tasks
Description |
This endpoint retrieves a list of all migration tasks. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationTasks |
|
Endpoint Parameters |
This endpoint supports the following query specifications. For more information, see Manage Collections.
|
|
HTTP Method |
GET |
|
Request Body Parameters |
None |
|
Response Body Parameters |
JSON data containing all migration tasks. |
https://sitename.oracle.com/rest/v18/migrationTasks
{ "items": [{ "taskId": 3023634117, "owner": "adminuser1", "taskCategory": { "value": 22, "displayValue": "Snapshot" }, "status": "Snapshot Cancelled", "statusLabel": "Snapshot Cancelled", "date": "2025-02-14T05:27:40.000Z", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v18/migrationTasks/3023634117" } ], "isRevertToSnapshot": false, "isDownload": false, "isDelete": false, "isRollback": false, "isCancel": false }, { "taskId": 3023628792, "owner": "adminuser1", "taskCategory": { "value": 33, "displayValue": "Rollback of a migration" }, "description": "Rollback for migration dated 02/12/2025 6:41 AM", "status": "Successful", "statusLabel": "Successful", "date": "2025-02-14T05:40:07.250Z", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v18/migrationTasks/3023628792" }, { "rel": "child", "href": "https://sitename.oracle.com/rest/v18/migrationTasks/3023628792/categories" } ], "isRevertToSnapshot": false, "isDownload": false, "isDelete": true, "isRollback": false, "isCancel": false }, { "taskId": 3023628791, "owner": "adminuser1", "taskCategory": { "value": 32, "displayValue": "Migration Rollback Helper" }, "description": "User Initiated Rollback", "status": "Successful", "statusLabel": "Successful", "date": "2025-02-14T05:25:18.000Z", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v18/migrationTasks/3023628791"
} ], "isRevertToSnapshot": false, "isDownload": false, "isDelete": true, "isRollback": false, "isCancel": false } ] }
Description |
This endpoint retrieves migration task details. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationTasks/{taskId} |
|
Endpoint Parameters |
taskId |
The unique task identifier. |
expand |
(Optional) This endpoint supports the expand query specification to expand the child content. |
|
HTTP Method |
GET |
|
Request Body Parameters |
None |
|
Response Body Parameters |
JSON data containing the specified migration task. |
https://sitename.oracle.com/rest/v18/migrationTasks/3023616692
{ "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/v18/migrationTasks/3023616692" }, { "rel": "child", "href": "https://sitename.oracle.com/rest/v18/migrationTasks/3023616692/categories" } ], "isRevertToSnapshot": false, "isDownload": false, "isDelete": true, "isRollback": false, "isCancel": false }
Description |
This endpoint retrieves a list of migration task categories for a specified task. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationTasks/{taskId}/categories |
|
Endpoint Parameters |
taskId |
The unique task identifier. |
expand |
(Optional) This endpoint supports the expand query specification to expand the child content. |
|
HTTP Method |
GET |
|
Request Body Parameters |
None |
|
Response Body Parameters |
JSON data containing the specified migration task categories. |
https://sitename.oracle.com/rest/v18/migrationTasks/3023616692/categories
{ "items": [{ "category": "FILE_MANAGER", "categoryLabel": "File Manager", "date": "2025-02-12T14:31:58.344Z", "status": "Successful", "statusLabel": "Successful", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v18/migrationTasks/3023616692/categories/FILE_MANAGER" } ] }, { "category": "COMMERCE", "categoryLabel": "Commerce", "date": "2025-02-12T14:32:04.359Z", "status": "Successful", "statusLabel": "Successful", "statusMessage": "Warning occurred during the migration. Please see the logs for more details.", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v18/migrationTasks/3023616692/categories/COMMERCE" } ] }, { "category": "UTIL_LIBRARY", "categoryLabel": "Util Library", "date": "2025-02-12T14:32:58.887Z", "status": "Successful", "statusLabel": "Successful", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v18/migrationTasks/3023616692/categories/UTIL_LIBRARY" } ] }, { "category": "PACKAGE", "categoryLabel": "Package", "date": "2025-02-12T14:41:23.738Z", "status": "Successful", "statusLabel": "Successful", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v18/migrationTasks/3023616692/categories/PACKAGE" } ] } ], "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v18/migrationTasks/3023616692/categories" } ] }
Get Migration Task Category Details
Description |
This endpoint retrieves a list of migration task category details. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationTasks/{taskId}/categories/{category} |
|
Endpoint Parameters |
taskId |
The unique task identifier. |
category |
The unique category identifier. | |
expand |
(Optional) This endpoint supports the expand query specification to expand the child content. |
|
HTTP Method |
GET |
|
Request Body Parameters |
None |
|
Response Body Parameters |
JSON data containing the specified migration task category detail. |
https://sitename.oracle.com/rest/v18/migrationTasks/3023616692/categories/file_manager
{ "category": "FILE_MANAGER", "categoryLabel": "File Manager", "events": [{ "name": "Begin Upload", "timeStamp": "2025-02-12T14:31:58.344Z", "status": "Successful", "statusLabel": "Successful" }, { "name": "Complete", "timeStamp": "2025-02-12T14:32:03.000Z", "status": "Successful", "statusLabel": "Successful" } ], "logs": [{ "displayName": "ABO/defaultContextJson.txt", "items": [{ "level": "INFO", "levelLabel": "Info", "message": "Starting the migration process.", "timeStamp": "2025-02-12T14:32:02.778Z" }, { "level": "INFO", "levelLabel": "Info", "message": "Starting to save data to database.", "timeStamp": "2025-02-12T14:32:02.831Z" }, { "level": "INFO", "levelLabel": "Info", "message": "Completed saving data to database.", "timeStamp": "2025-02-12T14:32:02.855Z" }, { "level": "INFO", "levelLabel": "Info", "message": "Completed the migration process.", "timeStamp": "2025-02-12T14:32:02.935Z" } ] }, { "displayName": "Bulk Processor for File Manager", "items": [{ "level": "INFO", "levelLabel": "Info", "message": "Starting the migration process.", "timeStamp": "2025-02-12T14:32:02.935Z" }, { "level": "INFO", "levelLabel": "Info", "message": "Completed the migration process.", "timeStamp": "2025-02-12T14:32:02.936Z" } ] } ] }
Description |
This endpoint is used to roll back (undo) a migration completed by the specified task. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationTasks/{taskId}/actions/rollback |
|
Endpoint Parameters |
taskId |
The unique task identifier. |
HTTP Method |
POST |
|
Request Body Parameters |
None |
|
Response Body Parameters |
JSON data containing the specified migration task and links. |
https://sitename.oracle.com/rest/v18/migrationTasks/3023660980/actions/rollback
{ "taskId": 3023660980, "links": [{ "rel": "related", "href": "https://sitename.oracle.com/rest/v18/migrationTasks/3023660980" } ] }
Description |
This endpoint submits a task to create a snapshot. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationTasks/actions/createSnapshot |
|
Endpoint Parameters | None | |
HTTP Method |
POST |
|
Request Body Parameters |
None |
|
Response Body Parameters |
JSON data containing the migration snapshot task details. |
https://sitename.oracle.com/rest/v18/migrationTasks/actions/createSnapshot
{ "taskId": 3023660644, "links": [{ "rel": "related", "href": "https://sitename.oracle.com/rest/v18/migrationTasks/3023660644" } ] }
Description |
This endpoint reverts to the snapshot created by the specified task. |
|
---|---|---|
URI Endpoint |
/rest/v18/migrationTasks/{taskId}/actions/revertToSnapshot |
|
Endpoint Parameters |
taskId |
The unique task identifier. |
HTTP Method |
POST |
|
Request Body Parameters |
None |
|
Response Body Parameters |
JSON data containing the migration revert to snapshot task details. |
https://sitename.oracle.com/rest/v18/migrationTasks/3023660703/actions/revertToSnapshot
{ "taskId": 3023660703, "links": [{ "rel": "related", "href": "https://sitename.oracle.com/rest/v18/migrationTasks/3023660703" } ] }
Refer to the Task REST APIs to cancel or delete migration tasks.