Search for security filter

GET {{baseUrl}}/api/searches/results?type=58&pattern=2&getAncestors=true

Request Params

KeyDatatypeRequiredDescription
namenullValue the search pattern is set to, which will be applied to the names of object types being searched. For example, search for all report objects (type) whose name begins with (pattern) B (name).
typenumberYou can use object type or object subtype. https://www2.microstrategy.com/producthelp/Current/ReferenceFiles/reference/com/microstrategy/webapi/EnumDSSXMLObjectTypes.html https://www2.microstrategy.com/producthelp/Current/ReferenceFiles/reference/com/microstrategy/webapi/EnumDSSXMLObjectSubTypes.html
patternnumberhttps://www2.microstrategy.com/producthelp/Current/ReferenceFiles/reference/com/microstrategy/webapi/EnumDSSXMLSearchTypes.html
certifiedStatusstringALL, NOT_CERTIFIED_ONLY, CERTIFIED_ONLY, OFF
rootnullFolder ID of the root folder where the search will be performed.
getAncestorsbooleanSpecifies whether to return the list of ancestors for each object

Default value : false | | offset | number | | Starting point within the collection of returned search results. Used to control paging behavior.

Default value : 0 | | limit | number | | Maximum number of items returned for a single request. Used to control paging behavior. Use -1 for no limit.

Default value : -1 | | isCrossCluster | boolean | | Perform search in all unique projects across the cluster, this parameter only takes affect for I-Server with cluster nodes.

Default value : false | | result.hidden | boolean | | Filter the result based on the 'hidden' field of objects. If not passed, no filtering is applied. | | viewMedia | null | | ViewMedia of object to be searched, such as Dossier or Document. Possible values are defined in ViewMedia. To specify multiple viewMedias in API explorer, simply specify them with newline delimiter. | | projectId | null | | Project IDs where the search will be performed. X-MSTR-ProjectID will be ignored and isCrossCluster will be regarded as true if the project IDs are specified. | | fields | null | | Comma-separated, top-level field whitelist that allows the client to selectively retrieve part of the response model. If specified, extra filtering is applied, and for top-level object (if root model is an array, each array element), only the listed fields are kept in the response. For example, "id,elements" keeps only the "id" field and whole "elements" array field, omitting all other fields in the top-level response model. |

HEADERS

KeyDatatypeRequiredDescription
X-MSTR-AuthTokenstring
X-MSTR-ProjectIDstring