Migrate All Applications

post

/process/api/v1/oic-migration/jobs

Use this API function to migrate all Oracle Integration Generation 2 applications to Oracle Cloud Infrastructure Process Automation. Start bulk migration from a specified bucket container. For more information see Migrate Process Applications to OCI Process Automation.

Request

There are no request parameters for this operation.

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

Response

Supported Media Types

201 Response

Migration started
Body ()
Root Schema : MigrationJob
Type: object
Show Source
Nested Schema : jobApps
Type: array
Show Source
Nested Schema : MigrationJobApp
Type: object
Show Source

500 Response

An internal error occurred.
Back to Top

Examples

The following example shows how to start a bulk migration job 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: Start a bulk migration job

You have to provide region, namespace, and bucket details.

curl -X 'POST' \
  'https://<OIC URL>/process/api/v1/oic-migration/jobs' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "bucketInfo": {
    "region": "string",
    "namespace": "string",
    "bucket": "string"
  }
}'

Example: Response body of 201 migration started successful response in JSON format

{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "bucketUrl": "string",
  "jobApps": [
    {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "appUrl": "string",
      "name": "string",
      "version": "string",
      "status": "NOT_STARTED",
      "migrationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    }
  ],
  "startedDate": "2024-08-09T10:12:26.958Z",
  "finishedDate": "2024-08-09T10:12:26.958Z",
  "status": "NOT_STARTED"
}
Back to Top