Parameters

Input (searchAssetsParam)

NameTypeRequired?Description
companyHandlexsd:stringYesThe handle to the company with the assets you want to search.
accessUserHandlexsd:stringNoLets administrators work as a different user.
accessGroupHandlexsd:stringNoLets administrators work as part of a different group.
folderxsd:stringNoThe root path for searching for assets. If omitted, the company root folder is used.
includeSubfoldersxsd:booleanNoSet to true to search subfolders.
publishStatexsd:stringNoPublish state choice.
trashStatexsd:stringNoTrash state choice. Default is NotInTrash.
conditionMatchModexsd:stringNo

Choice of Search Match Modes for combining results of keywordArray,

conditionMatchMode

systemFieldConditionArray, and metadataConditionArray. Default is MatchAll.

keywordArraytypes:StringArrayNo

Note: Deprecated parameter. It is advised that you do not use it.

A string array of keywords to match.

systemFieldMatchModexsd:stringNo

Choice of Search Match Modes for combining systemFieldCondition matches. Default is MatchAll

.

systemFieldConditionArraytypes:SystemFieldConditionArrayNoThe array of system field conditions.
tagMatchModexsd:stringNoSearch Match Modes string constants. The default is MatchAll.
tagConditionArraytypes:TagConditionArrayNo

An array of tag field search predicates.

Predicates are combined according to the tagMatchMode setting, and then combined with any terms in keywordArray, systemFieldConditionArray, and metadataConditionArray according to the conditionMatchMode setting.

metadataMatchModexsd:stringNoSearch Match Modes for combining metadataCondition matches. Default is MatchAll.
metadataConditionArraytypes:MetadataConditionArrayNoThe array of metadata field search conditions.
assetTypeArraytypes:StringArrayNoArray of Asset Types to include in search.
excludeAssetTypeArraytypes:StringArrayNoArray of Asset Types to exclude from search.
assetSubTypeArraytypes:StringArrayNoA list of sub type names to filter against.
strictSubTypeCheckxsd:booleanNoIf true and assetSubTypeArray is not empty, only assets whose sub types are in assetSubTypeArray are returned. If false (default), then assets with no defined sub type are returned.
excludeByproductsxsd:booleanNoIf true, byproduct assets generated during ingestion of a primary asset, such as ripped PDF page images, are excluded from search results. Default is false.
excludByproductArraytypes:ExcludeByproductArrayNoArray of byproduct asset generation conditions to exclude from search results. If present, this parameter overrides the excludeByproducts setting.
projectHandlexsd:stingNoHandle of a project containing the assets to search.
recordsPerPagexsd:intNoMaximum number of results to return.
resultsPagexsd:intNoSpecifies the page of results to return, based on recordsPerPage page size.
sortByxsd:stringNoChoice of asset sort fields.
sortDirectionxsd:stringNoChoice of sort direction.
responseFieldArraytypes:StringArrayNoContains a list of fields and subfields for inclusion in the response.
excludeFieldArraytypes:StringArrayNoContains a list of fields and subfields for exclusion from the response.

Output (searchAssetsReturn)

NameTypeRequiredDescription
totalRowsxsd:intNoNumber of rows a search returns when records per page are not limited.
assetArraytypes:AssetArrayNoAssets that the search returns.