Update Migration Package Resource Low-level Details

put

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

Use this endpoint to update low-level details of a migration resource within a specific category of a migration package. Using the PUT method replaces the entire package contents with new package contents.

Request

Supported Media Types
Path Parameters
Body ()
Migration package low-level details request.
Root Schema : schema
Type: object
Show Source
Nested Schema : low-level details list
Type: array
Title: low-level details list
List of low-level details
Show Source
Nested Schema : migrationPackage-lowLevelUpdateRequest
Type: object
Show Source
Nested Schema : List of children contents
Type: array
Title: List of children contents
List of children contents
Show Source
Nested Schema : migrationPackage-lowLevelUpdateRequest-children
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

Migration package low-level details 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 update low-level details of a migration resource within a specific category of a migration package by submitting a PUT 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/commerce/test

Request Body Sample

{
  "items": [{
      "variableName": "main",
      "resourceType": "document",
      "children": [{
          "variableName": "submit",
          "resourceType": "action"
        }
      ]
    }
  ]
}

Response Body Sample

{
  "name": "Test",
  "variableName": "test",
  "modifiedByUser": "matt",
  "lastModified": "09/19/2019 12:30 PM",
  "children": [{
      "name": "Main",
      "variableName": "main",
      "resourceType": "document",
      "modifiedByUser": "matt",
      "lastModified": "09/18/2019 3:07 PM",
      "children": [{
          "name": "Submit",
          "variableName": "submit",
          "resourceType": "action",
          "modifiedByUser": "asuh",
          "lastModified": "06/06/2019 1:24 PM"
        }
      ]
    }
  ],
  "links": [{
      "rel": "self",
      "href": "http://sitename.oracle.com/rest/v16/migrationPackages/migrationPackage_v1/contents/COMMERCE/test"
    }
  ]
}
Back to Top