Get Migration Job by jobId

get

/process/api/v1/oic-migration/jobs/{jobId}

Get all the details of a bulk migration job by jobId.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : MigrationJob
Type: object
Show Source
Nested Schema : jobApps
Type: array
Show Source
Nested Schema : MigrationJobApp
Type: object
Show Source

404 Response

Migration job not found.

500 Response

An internal error occurred.
Back to Top

Examples

The following example shows how to retrieve details of a migration job by submitting a GET 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: Get details of migration job 3fa85f64-5717-4562-b3fc-2c963f66afa6

curl -X 'GET' \ 'https://<OIC URL>/process/api/v1/oic-migration/jobs/3fa85f64-5717-4562-b3fc-2c963f66afa6' \ -H
      'accept: application/json'

Example: Response body of 200 successful operation 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:21:32.873Z",
  "finishedDate": "2024-08-09T10:21:32.873Z",
  "status": "NOT_STARTED"
}
Back to Top