Get a Favorite Folder
get
/rest/v19/favoriteFolders/{id}
This endpoint returns a favorite folder available to the user.
Request
Supported Media Types
- application/json
Path Parameters
-
id(required): integer
Primary key of Favorite Folders
Query Parameters
-
expand: string
Allows expansion of relationships.
Response
Supported Media Types
- application/json
Default Response
Root Schema : Favorite Folders
Type:
objectTitle:
Show Source
Favorite Folders-
canAdd:
boolean
Title:
Can Add Favorites -
dateAdded:
string
Title:
Date Added -
dateModified:
string
Title:
Date Modified -
folderType:
object Folder Type
Title:
Folder TypeIndicates type of folder -
id:
integer
Title:
IdPrimary key of Favorite Folders -
isOwner:
boolean
Title:
Is Owner - isShared: boolean
-
name:
string
Title:
Name
Nested Schema : Folder Type
Type:
objectTitle:
Folder TypeIndicates type of folder
Show Source
-
displayValue:
string
Title:
Display ValueTranslated display name of the type for which fixed list of values can be defined. -
id:
integer
Title:
IdPrimary Key of the fixed list of value resource. -
lookupCode:
string
Title:
Lookup CodeLanguage independent code of the fixed list of value.
Examples
The following example shows how to retrieve the specified favorite folder 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/favoriteFolders/123
Response Body Sample
{
"id": 123,
"name": "SUV List",
"isShared": true,
"canAdd": true,
"dateAdded": "08/17/2021 2:00 AM",
"dateModified": "08/17/2021 2:00 AM",
"createdBy": "john.jones",
"links": ...
}