Get Migration Package Resource Low-level Details
get
/rest/v19/migrationPackages/{identifier}/contents/{category}/{variableName}
This endpoint retrieves low-level details of a migration resource within a specific category of a migration package.
Request
Path Parameters
-
category(required): string
Migration category for which the user wants to fetch the low-level details.
-
identifier(required): string
The unique identifier of the package the user wants to fetch.
-
variableName(required): string
Variable Name of the migration category resource for which the user wants to fetch the low-level details.
Query Parameters
-
retrieveFromPackageZip: boolean
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.
Response
Supported Media Types
- application/json
Default Response
Package content low-level detail response.
Root Schema : migration-lowLevelResponse
Type:
Show Source
object-
children:
array Migration resources low-level details Children
Title:
Migration resources low-level details ChildrenMigration resources low-level details children -
hasProperties:
string
Title:
hasPropertiesTrue, if the resource has migratable properties. (Internal use) -
lastModified:
string
Title:
lastModifiedThe last modified date, in a presentable string format. Used in the tree for this object -
links:
array Migration resources low-level details links
Title:
Migration resources low-level details linksshows self and parent links -
modifiedByUser:
string
Title:
modifiedByUserThe modifiedByUser used in the tree for this object -
name:
string
Title:
nameThe name used in the tree for this object. -
variableName:
string
Title:
variableNameThe variableName used in the tree for this object
Nested Schema : Migration resources low-level details Children
Type:
arrayTitle:
Migration resources low-level details ChildrenMigration resources low-level details children
Show Source
Nested Schema : Migration resources low-level details links
Type:
arrayTitle:
Migration resources low-level details linksshows self and parent links
Show Source
-
Array of:
object referenceLinks
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : migrationPackageLowLevelDetails-children
Type:
Show Source
object-
hasProperties:
string
Title:
hasPropertiesTrue, if the resource has migratable properties. (Internal use) -
lastModified:
string
Title:
lastModifiedThe last modified date, in a presentable string format. Used in the tree for this object. -
modifiedByUser:
string
Title:
modifiedByUserThe modifiedByUser used in the tree for this object -
name:
string
Title:
nameThe name used in the tree for this object. -
resourceType:
string
Title:
Migration Package node nameresourceType refers to the node type -
resourceTypeLabel:
string
Title:
Migration Resource Type LabelresourceTypeLabel refers the node type label -
variableName:
string
Title:
variableNameThis field represents the variableName of the resource.
Nested Schema : referenceLinks
Type:
objectReference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
URL to the related objectURL to the related object -
rel:
string
Title:
Link Relationship to the current objectLink Relationship to the current object
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 -H "Authorization: Bearer <token>" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/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/v19/migrationPackages/migrationPackage_v1/contents/configuration/admin"
}
]
}