編輯

共用方式為


virtualEventRegistrationCustomQuestion 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 a custom registration question associated with a virtualEventRegistration.

Inherits from virtualEventRegistrationQuestionBase.

Properties

Property Type Description
answerChoices String collection Answer choices when answerInputType is singleChoice or multiChoice.
answerInputType virtualEventRegistrationQuestionAnswerInputType Input type of the registration question answer.
displayName String Display name of the registration question. Inherited from virtualEventRegistrationQuestionBase.
id String Unique identifier of the registration question. Inherited from virtualEventRegistrationQuestionBase.
isRequired Boolean Indicates whether an answer to the question is required. The default value is false. Inherited from virtualEventRegistrationQuestionBase.

virtualEventRegistrationQuestionAnswerInputType values

The following shows the supported types of answer input for a custom registration question.

Member Description
text The registration question accepts single-line text.
multilineText The registration question accepts multi-line text.
singleChoice The registration question accepts one answer from a list of options.
multiChoice The registration question accepts more than one answer from a list of options.
Boolean The registration question accepts a yes, or no answer.
unknownFutureValue Evolvable enumeration sentinel value. Don't use.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.virtualEventRegistrationCustomQuestion",
  "answerChoices": [
    "String"
  ],
  "answerInputType": "String",
  "displayName": "String",
  "id": "String (identifier)",
  "isRequired": "Boolean"
}