searchResponse resource type
Namespace: microsoft.graph
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Represents results from a search query, and the terms used for the query.
Properties
Property | Type | Description |
---|---|---|
hitsContainers | searchHitsContainer collection | A collection of search results. |
searchTerms | String collection | Contains the search terms sent in the initial search query. |
resultTemplates | resultTemplate collection | A dictionary of resultTemplateIds and associated values, which include the name and JSON schema of the result templates. |
queryAlterationResponse | alterationResponse | Provides details of query alteration response for spelling correction. |
JSON representation
The following JSON representation shows the resource type.
{
"queryAlterationResponse": {"@odata.type": "microsoft.graph.alterationResponse"},
"hitsContainers": [{"@odata.type": "microsoft.graph.searchHitsContainer"}],
"searchTerms": ["String"],
"resultTemplates": [{"@odata.type":"microsoft.graph.resultTemplateDictionary"}]
}