JSON object representing the folder for this object. See documentation for Folder for fields.
Folder Query
Folders let you organize your content and apply permissions to control who can access your assets. Learn more about folders in Salesforce Help.
Retrieving a collection of folders follows the conventions described in Version 5 Overview.
Sortable Fields
When executing a query, the following fields can be specified in the orderBy parameter. See the conventions for query described in the Version 5 Overview.
id
Filtering Results
When executing a query for folders, use these parameters to filter the results. Specify parameters in the request along with any shared parameters defined in Version 5 Overview. When specifying more than one parameter, all parameters must match the record in order for it to be returned in the results.
Parameter
Description
id
Returns any folders where ID is equal to the given integer value.
idList
Returns any folders where ID is included in the given list of values.
idGreaterThan
Returns any folders where ID is greater than the specified value, non-inclusive.
idGreaterThanOrEqualTo
Returns any folders where ID is greater than or equal to the specified value.
idLessThan
Returns any folders where ID is less than the specified value, non-inclusive.
idLessThanOrEqualTo
Returns any folders where ID is less than or equal to the specified value.
name
Returns any folders where Name is equal to the given string value.
parentFolderId
Returns any folders where the parentFolderId is equal to the given integer value.
parentFolderIdGreaterThan
Returns any folders where the parentFolderId is greater than the specified value, non-inclusive.
parentFolderIdGreaterThanOrEqualTo
Returns any folders where the parentFolderId is greater than or equal to the specified value.
parentFolderIdLessThan
Returns any folders where the parentFolderId is less than the specified value, non-inclusive.
parentFolderIdLessThanOrEqualTo
Returns any folders where the parentFolderId is less than or equal to the specified value.
parentFolderIdIsNull
Returns any folders where the parentFolderId is null when true is specified.
parentFolderIdIsNotNull
Returns any folders where the parentFolderId isn’t null when true is specified.