Create virtualEventWebinar
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.
Create a new virtualEventWebinar object in draft mode.
This API is available in the following national cloud deployments.
Global service | US Government L4 | US Government L5 (DOD) | China operated by 21Vianet |
---|---|---|---|
✅ | ❌ | ❌ | ❌ |
Permissions
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.
Permission type | Least privileged permission | Higher privileged permissions |
---|---|---|
Delegated (work or school account) | VirtualEvent.ReadWrite | Not available. |
Delegated (personal Microsoft account) | Not supported. | Not supported. |
Application | Not supported. | Not supported. |
HTTP request
POST /solutions/virtualEvents/webinars
Request headers
Name | Description |
---|---|
Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Content-Type | application/json. Required. |
Request body
In the request body, supply a JSON representation of the supported derived types of virtualEventWebinar object.
You can specify the following properties when you create a virtualEventWebinar.
Property | Type | Description |
---|---|---|
audience | meetingAudience | The audience to whom the webinar is visible. |
coOrganizers | communicationsUserIdentity collection | The identity information of coorganizers of the webinar. |
description | itemBody | A description of the webinar. |
displayName | String | The display name of the webinar. |
endDateTime | dateTimeTimeZone | The date and time when the webinar ends. |
settings | virtualEventSettings | The webinar settings. |
startDateTime | dateTimeTimeZone | The date and time when the webinar starts. |
Response
If successful, this method returns a 201 Created
response code and a virtualEventWebinar object in the response body.
Examples
Request
The following example shows a request.
POST https://graph.microsoft.com/beta/solutions/virtualEvents/webinars
Content-Type: application/json
{
"displayName": "The Impact of Tech on Our Lives",
"description": {
"contentType": "text",
"content": "Discusses how technology has changed the way we communicate."
},
"startDateTime": {
"dateTime": "2024-03-30T10:00:00",
"timeZone": "Pacific Standard Time"
},
"endDateTime": {
"dateTime": "2024-03-30T17:00:00",
"timeZone": "Pacific Standard Time"
},
"audience": "organization",
"coOrganizers": [
{
"id": "7b7e1acd-a3e0-4533-8c1d-c1a4ca0b2e2b",
"tenantId": "77229959-e479-4a73-b6e0-ddac27be315c"
}
],
"settings": {
"isAttendeeEmailNotificationEnabled": false
}
}
Response
The following example shows the response.
Note: The response object shown here might be shortened for readability.
HTTP/1.1 201 Created
Content-Type: application/json
{
"id": "a57082a9-7629-4f74-8da0-8d621aab4d2d@4aa05bcc-1cac-4a83-a9ae-0db84b88f4ba",
"status": "draft",
"displayName": "The Impact of Tech on Our Lives",
"description": {
"contentType": "text",
"content": "Discusses how technology has changed the way we communicate."
},
"startDateTime": {
"dateTime": "2024-03-30T10:00:00",
"timeZone": "Pacific Standard Time"
},
"endDateTime": {
"dateTime": "2024-03-30T17:00:00",
"timeZone": "Pacific Standard Time"
},
"audience": "organization",
"createdBy": {
"application": null,
"device": null,
"user": {
"id": "b7ef013a-c73c-4ec7-8ccb-e56290f45f68",
"displayName": "Diane Demoss",
"tenantId": "77229959-e479-4a73-b6e0-ddac27be315c"
}
},
"coOrganizers": [
{
"id": "7b7e1acd-a3e0-4533-8c1d-c1a4ca0b2e2b",
"displayName": "Kenneth Brown",
"tenantId": "77229959-e479-4a73-b6e0-ddac27be315c"
}
],
"settings": {
"isAttendeeEmailNotificationEnabled": false
}
}
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應