Update Migration Package Resource Low-level Details
put
/rest/v19/migrationPackages/{identifier}/contents/{category}/{variableName}
This endpoint updates 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
- application/json
Path Parameters
-
category(required): string
Migration category for which the user wants to update the low-level details.
-
identifier(required): string
The unique identifier of the package the user wants to update.
-
variableName(required): string
Variable Name of the migration category resource for which the user wants to update the low-level details.
Migration package low-level details request.
Root Schema : schema
Type:
Show Source
object-
checkedAll:
boolean
Title:
checkedAllIf true, include all migratable resources within low-level details. -
items:
array low-level details list
Title:
low-level details listList of low-level details
Nested Schema : low-level details list
Type:
arrayTitle:
low-level details listList of low-level details
Show Source
Nested Schema : migrationPackage-lowLevelUpdateRequest
Type:
Show Source
object-
checkedAllChildren:
boolean
Title:
checkedAllChildrenDefault Value:falseIf true, considers all the children of the resource as selected. -
children:
array List of children contents
Title:
List of children contentsList of children contents -
resourceType(required):
string
Title:
resourceTypeThis field represents the type of resource. -
variableName(required):
string
Title:
variableNameThis field represents the variableName of the resource.
Nested Schema : List of children contents
Type:
arrayTitle:
List of children contentsList of children contents
Show Source
Nested Schema : migrationPackage-lowLevelUpdateRequest-children
Type:
Show Source
object-
resourceType(required):
string
Title:
resourceTypeThis field represents the type of resource -
variableName(required):
string
Title:
variableNameThis field represents the variableName of the resource.
Response
Supported Media Types
- application/json
Default Response
Migration package low-level details 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 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 -H "Authorization: Bearer <token>" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/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/v19/migrationPackages/migrationPackage_v1/contents/COMMERCE/test"
}
]
}