Get Migration Package Properties
get
                    /rest/v19/migrationPackages/{identifier}
This endpoint retrieves the properties for the specified migration package.
                
                Request
Path Parameters
                - 
                    identifier(required): string
                    
                    The unique identifier of the package the user wants to fetch.
Query Parameters
                - 
                        expand: string
                        
                        Expand the child content.
- 
                        fields: string
                        
                        Restrict which fields shall be returned. The value is a comma delimited string and each token is a field name.
- 
                        retrieveFromPackageZip: boolean
                        
                        To fetch uploaded package content.
- 
                        targetProcessVarName: string
                        
                        Cross process migration variable name.This field is only applicable if retrieveFromPackageZip is set as true.
Response
Supported Media Types
                - application/json
Default Response
Package information
                
                
                    Root Schema : migrationPackageContent
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            contents: 
            object  Migration Package Content
            
            Title:Migration Package ContentContents populate, when expand=contents or expand=all.
- 
            crossProcessMigrationEnabled: 
            boolean
            Title:crossProcessMigrationEnabledUploaded package is eligible cross process migration. This field is only applicable if retrieveFromPackageZip is set as true.
- 
            dateAdded: 
            string
            Title:dateAddedDate Added of the Migration Package
- 
            dateModified: 
            string
            Title:dateModifiedDate Modified of the Migration Package
- 
            dateRelease: 
            string
            Title:dateReleaseDate Release of the Migration Package
- 
            dependencies: 
            object  Migration Package Dependencies
            
            Title:Migration Package DependenciesDependent Packages for the Migration Package
- 
            description: 
            string
            Title:descriptionDescription of the Migration Package
- 
            identifier: 
            string
            Title:identifierUnique Identifier for the Migration Package
- 
            installedVersionOnTarget: 
            integer
            Title:installedVersionOnTargetif package available in resource with same name. This field is only applicable if retrieveFromPackageZip is set as true
- 
            isImported: 
            boolean
            Title:isImportedThe package is created in the local or imported package
- 
            lastModifiedUser: 
            string
            Title:lastModifiedUserThe last modified user of Package
- 
            links: 
            array  Migration Package Links
            
            Title:Migration Package Linksshows self and child content links
- 
            multipleDuplicatePkgs: 
            boolean
            Title:multipleDuplicatePkgsIf more than one package available in resource with same name. This field is only applicable if retrieveFromPackageZip is set as true.
- 
            name: 
            string
            Title:nameName of the Migration Package
- 
            owner: 
            string
            Title:ownerThe user name package was created.
- 
            siteVersion: 
            string
            Title:siteVersionSite version. This field is only applicable if retrieveFromPackageZip is set as true
- 
            sourceSiteUrl: 
            string
            Title:sourceSiteUrlThe site name of the package was created
- 
            uploadedPackageIdentifer: 
            string
            Title:uploadedPackageIdentiferServer location of uploaded zip. This field is only applicable if retrieveFromPackageZip is set as true.
- 
            version: 
            integer
            Title:versionVersion of the Migration Package
Nested Schema : Migration Package Content
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Migration Package ContentContents populate, when expand=contents or expand=all.
    
    
    
    
    Show Source
        - 
            items: 
            array  This is list of migration package contents
            
            Title:This is list of migration package contentsMigration package contents
- 
            links: 
            array  Links for Migration Package Contents
            
            Title:Links for Migration Package Contentsshows self and parent links
Nested Schema : Migration Package Dependencies
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Migration Package DependenciesDependent Packages for the Migration Package
    
    
    
    
    Show Source
        - 
            items: 
            array  Migration Package Dependencies list
            
            Title:Migration Package Dependencies listList of Dependencies for Migration Package
Nested Schema : Migration Package Links
    
      
      Type: 
    
    
    
    arrayTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Migration Package Linksshows self and child content links
    
    
    
    
    
        Show Source
        - 
            Array of: 
                object  referenceLinks
            
            Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : This is list of migration package contents
    
      
      Type: 
    
    
    
    arrayTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    This is list of migration package contentsMigration package contents
    
    
    
    
    
        Show Source
        - 
            Array of: 
                object  migrationContent
            
            Low-level details
Nested Schema : Links for Migration Package Contents
    
      
      Type: 
    
    
    
    arrayTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Links for Migration Package Contentsshows self and parent links
    
    
    
    
    
        Show Source
        - 
            Array of: 
                object  referenceLinks
            
            Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : migrationContent
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectLow-level details
    
    
    
    
    Show Source
        - 
            category: 
            string
            Title:Migration Package Contents CategoryIt's a category of migration contents
- 
            children: 
            array  List of children contents
            
            Title:List of children contentsList of children contents
- 
            name: 
            string
            Title:Migration Package Contents NameName is an optional field in the request payload
Nested Schema : List of children contents
    
      
      Type: 
    
    
    
    arrayTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    List of children contentsList of children contents
    
    
    
    
    
        Show Source
        - 
            Array of: 
                object  migrationContent-children
            
            Migration Resource children contents
Nested Schema : migrationContent-children
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectMigration Resource children contents
    
    
    
    
    Show Source
        - 
            granular: 
            boolean
            Title:granularIf true, the resource has low-level details
- 
            links: 
            array  Category Migration Resource Links
            
            Title:Category Migration Resource LinksLinks for Category Migration Package Contents low-level details. These links contains related link (This links populate only when granular=true)
- 
            name: 
            string
            Title:Migration Resource Child NameName is an optional field in Request Payload
- 
            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:Migration Resource Child VarNamevariable name refers the child varname
Nested Schema : Category Migration Resource Links
    
      
      Type: 
    
    
    
    arrayTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Category Migration Resource LinksLinks for Category Migration Package Contents low-level details. These links contains related link (This links populate only when granular=true)
    
    
    
    
    
        Show Source
        - 
            Array of: 
                object  referenceLinks
            
            Reference links for the Parent, Self, Children and Related as applicable
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
Nested Schema : Migration Package Dependencies list
    
      
      Type: 
    
    
    
    arrayTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Migration Package Dependencies listList of Dependencies for Migration Package
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : migrationPackageDependency
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            name(required): 
            string
            Title:nameName of the Migration Package
- 
            version(required): 
            integer
            Title:versionVersion of the Migration Package
Examples
The following examples show how to retrieve properties for the specified migration package by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X GET -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/migrationPackages/migrationPackage_v12
Response Body Sample
{
  "name": "Migration Package",
  "identifier": "migrationPackage_v12",
  "version": 2,
  "dateAdded": "2020-04-15T21:01:57.000Z",
  "dateModified": "2020-04-15T21:01:57.000Z",
  "dependencies": {
    "items": []
  },
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/migrationPackages/migrationPackage_v12"
    }
  ]
}