Import an Oracle Integration Generation 2 Application

post

/process/api/v1/oic-migration/migrations

Import and migrate a single Oracle Integration Generation 2 application to Oracle Cloud Infrastructure Process Automation. You can use this API to automate the import of Oracle Integration Generation 2 applications.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Back to Top

Response

Supported Media Types

201 Response

Migration started
Body ()
Root Schema : RestMigration
Type: object
Show Source
Nested Schema : RestReport
Type: object
Show Source
Nested Schema : remarks
Type: array
Show Source
Nested Schema : RestRemark
Type: object
Show Source

500 Response

An internal error occurred.
Back to Top

Examples

The following example shows how to migrate an application by submitting a POST request on the REST resource using cURL. For more information about cURL, see cURL Access. For more information about endpoint URL structure, see Send Requests.

Example: Migrate an application

Migrate an application where you provide the following application data:

  • name: 3fa85f64-5717-4562-b3fc-2c963f66afa6
  • version: 1.0
  • title: Hotel Invoicing
  • description: Application to generate invoices
  • force: false
curl -X 'POST' \ 'https://<OIC URL>/process/api/v1/oic-migration/migrations' \   -H
      'accept: application/json' \   -H 'Content-Type: application/json' \   -d '{   "name":
      "3fa85f64-5717-4562-b3fc-2c963f66afa6",   "version": "1.0",   "title": "Hotel Invoicing",
      "description": "Application to generate invoices",   "force": false
    }'

Example: Response body of 201 migration started in JSON format

{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "projectId": null,
  "projectName": "string",
  "projectType": "PROJECT",
  "originalProjectName": "string",
  "migratedBy": "string",
  "migratedOn": "2024-08-09T09:32:51.997Z",
  "result": "string",
  "report": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "remarks": [
      {
        "artifactId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "artifactName": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "artifactType": "PROJECT",
        "type": "ASSET_MIGRATED",
        "remark": "string"
      }
    ]
  }
}
Back to Top