Get Migration Package Resource Low-level Details

get

/rest/v16/migrationPackages/{identifier}/contents/{category}/{variableName}

Use this endpoint to retrieve low-level details of a migration resource within a specific category of a migration package.

Request

Path Parameters
Query Parameters
  • Flag to determine if contents must be fetched from the uploaded zip file. If true, the uploaded package identifier should be passed as a path parameter.
Back to Top

Response

Supported Media Types

Default Response

Package content low-level detail response.
Body ()
Root Schema : migration-lowLevelResponse
Type: object
Show Source
Nested Schema : Migration resources low-level details Children
Type: array
Title: Migration resources low-level details Children
Migration resources low-level details children
Show Source
Nested Schema : migrationPackageLowLevelDetails-children
Type: object
Show Source
Back to Top

Examples

The following example shows how to get low-level details of a migration resource within a specific category of a migration package by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl -X POST -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Accept: application/json"
https://sitename.oracle.com/rest/v16/migrationPackages/migrationPackage_v1/contents/configuration/admin

Response Body Sample

{
  "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/v16/migrationPackages/migrationPackage_v1/contents/configuration/admin"
    }
  ]
}
Back to Top