Move a List of Favorites to a Folder
post
/rest/v19/favorites/actions/moveTo
This endpoint moves a list of favorites to a folder.
Request
Supported Media Types
- application/json
Root Schema : favorites-moveToCollectionRequest
Type:
Show Source
object-
selections:
array Selected Favorite Ids
Title:
Selected Favorite IdsList of selected favorite ids -
targetFolderId:
integer
Title:
Target Folder IDThe target Folder to which the favorites will be moved to.
Nested Schema : Selected Favorite Ids
Type:
arrayTitle:
Selected Favorite IdsList of selected favorite ids
Show Source
Response
Supported Media Types
- application/json
Default Response
Root Schema : favorites-moveToCollectionResponse
Type:
objectExamples
The following example shows how to a list of favorites to a folder by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X POST -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/favorites/actions/moveTo
Request Body Sample
{
"selections": [123, 124],
"targetFolderId": 991
}Response Body Sample
{
"items": []
}