answerVariant resource type

Namespace: microsoft.graph.search

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.

An answer variant can be used to change certain fields of a search answer based on country or platform.

Properties

Property Type Description
description String Answer variation description shown on search results page.
displayName String Answer variation name displayed in search results.
webUrl String Answer variation URL link. When users click this answer variation in search results, they will go to this URL.
languageTags String collection List of countries or regions able to view this search answer.
platforms microsoft.graph.platform collection List of devices and operating systems able to view this answer variation. Possible values are: unknown, ios, android, windows, windowsMobile, macOS.

Relationships

None.

JSON representation

The following is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.search.answerVariant",
  "displayName": "String",
  "webUrl": "String",
  "description": "String",
  "languageTags": ["String"],
  "platforms": ["String"]
}