Upravit

Sdílet prostřednictvím


virtualEventTownhall 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 information about a virtual event town hall.

Inherits from virtualEvent.

Methods

Method Return type Description
List virtualEventTownhall collection Get the list of all virtualEventTownhall objects created in a tenant.
Create virtualEventTownhall Create a new virtualEventTownhall object.
Get virtualEventTownhall Read the properties and relationships of a virtualEventTownhall object.
Update virtualEventTownhall Update the properties of a virtualEventTownhall object.
Publish None Publish a virtualEventTownhall.
Cancel None Cancel a virtualEventTownhall.
List by user role virtualEventTownhall collection Get a list of virtualEventTownhall objects where the signed-in user is either the organizer or a coorganizer.
List by user ID and role virtualEventTownhall collection Get a list of virtualEventTownhall objects where the specified user is either the organizer or a coorganizer.

Properties

Property Type Description
audience meetingAudience The audience to whom the town hall is visible. Possible values are: everyone, organization, unknownFutureValue.
coOrganizers communicationsUserIdentity collection Identity information of the coorganizers of the town hall.
createdBy communicationsIdentitySet Identity information of the creator of the town hall. Inherited from virtualEvent. Read-only.
description itemBody Description of the town hall. Inherited from virtualEvent.
displayName String Display name of the town hall. Inherited from virtualEvent.
endDateTime dateTimeTimeZone Date and time when the town hall ends. The timeZone property can be set to any of the time zones currently supported by Windows. For details on how to get all available time zones using PowerShell, see Get-TimeZone. Inherited from virtualEvent.
id String Unique identifier of the town hall. Inherited from virtualEvent. Read-only.
invitedAttendees identity collection The attendees invited to the town hall. The supported identities are: communicationsUserIdentity and communicationsGuestIdentity.
isInviteOnly Boolean Indicates whether the town hall is only open to invited people and groups within your organization. The isInviteOnly property can only be true if the value of the audience property is set to organization.
settings virtualEventSettings The town hall settings. Inherited from virtualEvent.
startDateTime dateTimeTimeZone Date and time when the town hall starts. The timeZone property can be set to any of the time zones currently supported by Windows. For details on how to get all available time zones using PowerShell, see Get-TimeZone. Inherited from virtualEvent.
status virtualEventStatus Status of the town hall. Possible values are: draft, published, canceled, unknownFutureValue. Inherited from virtualEvent.

meetingAudience values

Value Description
everyone The town hall is open to anyone. Select this choice to include attendees from outside your organization.
organization The town hall is open to people in your organization and guests of your organization.
unknownFutureValue Evolvable enumeration sentinel value. Don't use.

virtualEventStatus values

Value Description
draft The virtual event is in draft and only visible to the organizer.
published The organizer published the virtual event and it's visible to the audience.
canceled The organizer canceled the virtual event.
unknownFutureValue Evolvable enumeration sentinel value. Don't use.

Relationships

Relationship Type Description
presenters virtualEventPresenter collection Presenters' information of the town hall. Inherited from virtualEvent.
sessions virtualEventSession collection Sessions of the town hall. Inherited from virtualEvent.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.virtualEventTownhall",
  "audience": "String",
  "coOrganizers": [{"@odata.type": "microsoft.graph.communicationsUserIdentity"}],
  "createdBy": {"@odata.type": "microsoft.graph.communicationsIdentitySet"},
  "description": {"@odata.type": "microsoft.graph.itemBody"},
  "displayName": "String",
  "endDateTime": {"@odata.type": "microsoft.graph.dateTimeTimeZone"},
  "id": "String (identifier)",
  "invitedAttendees": [{"@odata.type": "microsoft.graph.identity"}],
  "isInviteOnly": "Boolean",
  "settings": {"@odata.type": "microsoft.graph.virtualEventSettings"},
  "startDateTime": {"@odata.type": "microsoft.graph.dateTimeTimeZone"},
  "status": "String"
}