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.
In the request body, supply only the values for properties that should be updated. Existing properties that aren't included in the request body maintains their previous values or be recalculated based on changes to other property values.
The following table specifies the properties that can be updated.
// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.Beta.Models;
var requestBody = new VirtualEventPresenter
{
PresenterDetails = new VirtualEventPresenterDetails
{
Bio = new ItemBody
{
Content = "Lead Product Manager of Contoso Sales department",
ContentType = BodyType.Text,
},
Company = "Contoso",
JobTitle = "Product Manager",
LinkedInProfileWebUrl = "https://linkedin.com/in/DianeDemoss",
PersonalSiteWebUrl = "https://DianeDemoss.com",
},
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Solutions.VirtualEvents.Webinars["{virtualEventWebinar-id}"].Presenters["{virtualEventPresenter-id}"].PatchAsync(requestBody);
Important
Microsoft Graph SDKs use the v1.0 version of the API by default, and do not support all the types, properties, and APIs available in the beta version. For details about accessing the beta API with the SDK, see Use the Microsoft Graph SDKs with the beta API.
Microsoft Graph SDKs use the v1.0 version of the API by default, and do not support all the types, properties, and APIs available in the beta version. For details about accessing the beta API with the SDK, see Use the Microsoft Graph SDKs with the beta API.
// Code snippets are only available for the latest major version. Current major version is $v0.*
// Dependencies
import (
"context"
msgraphsdk "github.com/microsoftgraph/msgraph-beta-sdk-go"
graphmodels "github.com/microsoftgraph/msgraph-beta-sdk-go/models"
//other-imports
)
requestBody := graphmodels.NewVirtualEventPresenter()
presenterDetails := graphmodels.NewVirtualEventPresenterDetails()
bio := graphmodels.NewItemBody()
content := "Lead Product Manager of Contoso Sales department"
bio.SetContent(&content)
contentType := graphmodels.TEXT_BODYTYPE
bio.SetContentType(&contentType)
presenterDetails.SetBio(bio)
company := "Contoso"
presenterDetails.SetCompany(&company)
jobTitle := "Product Manager"
presenterDetails.SetJobTitle(&jobTitle)
linkedInProfileWebUrl := "https://linkedin.com/in/DianeDemoss"
presenterDetails.SetLinkedInProfileWebUrl(&linkedInProfileWebUrl)
personalSiteWebUrl := "https://DianeDemoss.com"
presenterDetails.SetPersonalSiteWebUrl(&personalSiteWebUrl)
requestBody.SetPresenterDetails(presenterDetails)
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=go
presenters, err := graphClient.Solutions().VirtualEvents().Webinars().ByVirtualEventWebinarId("virtualEventWebinar-id").Presenters().ByVirtualEventPresenterId("virtualEventPresenter-id").Patch(context.Background(), requestBody, nil)
Important
Microsoft Graph SDKs use the v1.0 version of the API by default, and do not support all the types, properties, and APIs available in the beta version. For details about accessing the beta API with the SDK, see Use the Microsoft Graph SDKs with the beta API.
// Code snippets are only available for the latest version. Current version is 6.x
GraphServiceClient graphClient = new GraphServiceClient(requestAdapter);
VirtualEventPresenter virtualEventPresenter = new VirtualEventPresenter();
VirtualEventPresenterDetails presenterDetails = new VirtualEventPresenterDetails();
ItemBody bio = new ItemBody();
bio.setContent("Lead Product Manager of Contoso Sales department");
bio.setContentType(BodyType.Text);
presenterDetails.setBio(bio);
presenterDetails.setCompany("Contoso");
presenterDetails.setJobTitle("Product Manager");
presenterDetails.setLinkedInProfileWebUrl("https://linkedin.com/in/DianeDemoss");
presenterDetails.setPersonalSiteWebUrl("https://DianeDemoss.com");
virtualEventPresenter.setPresenterDetails(presenterDetails);
VirtualEventPresenter result = graphClient.solutions().virtualEvents().webinars().byVirtualEventWebinarId("{virtualEventWebinar-id}").presenters().byVirtualEventPresenterId("{virtualEventPresenter-id}").patch(virtualEventPresenter);
Important
Microsoft Graph SDKs use the v1.0 version of the API by default, and do not support all the types, properties, and APIs available in the beta version. For details about accessing the beta API with the SDK, see Use the Microsoft Graph SDKs with the beta API.
Microsoft Graph SDKs use the v1.0 version of the API by default, and do not support all the types, properties, and APIs available in the beta version. For details about accessing the beta API with the SDK, see Use the Microsoft Graph SDKs with the beta API.
<?php
use Microsoft\Graph\Beta\GraphServiceClient;
use Microsoft\Graph\Beta\Generated\Models\VirtualEventPresenter;
use Microsoft\Graph\Beta\Generated\Models\VirtualEventPresenterDetails;
use Microsoft\Graph\Beta\Generated\Models\ItemBody;
use Microsoft\Graph\Beta\Generated\Models\BodyType;
$graphServiceClient = new GraphServiceClient($tokenRequestContext, $scopes);
$requestBody = new VirtualEventPresenter();
$presenterDetails = new VirtualEventPresenterDetails();
$presenterDetailsBio = new ItemBody();
$presenterDetailsBio->setContent('Lead Product Manager of Contoso Sales department');
$presenterDetailsBio->setContentType(new BodyType('text'));
$presenterDetails->setBio($presenterDetailsBio);
$presenterDetails->setCompany('Contoso');
$presenterDetails->setJobTitle('Product Manager');
$presenterDetails->setLinkedInProfileWebUrl('https://linkedin.com/in/DianeDemoss');
$presenterDetails->setPersonalSiteWebUrl('https://DianeDemoss.com');
$requestBody->setPresenterDetails($presenterDetails);
$result = $graphServiceClient->solutions()->virtualEvents()->webinars()->byVirtualEventWebinarId('virtualEventWebinar-id')->presenters()->byVirtualEventPresenterId('virtualEventPresenter-id')->patch($requestBody)->wait();
Important
Microsoft Graph SDKs use the v1.0 version of the API by default, and do not support all the types, properties, and APIs available in the beta version. For details about accessing the beta API with the SDK, see Use the Microsoft Graph SDKs with the beta API.
Microsoft Graph SDKs use the v1.0 version of the API by default, and do not support all the types, properties, and APIs available in the beta version. For details about accessing the beta API with the SDK, see Use the Microsoft Graph SDKs with the beta API.
from msgraph_beta import GraphServiceClient
from msgraph_beta.generated.models.virtual_event_presenter import VirtualEventPresenter
from msgraph_beta.generated.models.virtual_event_presenter_details import VirtualEventPresenterDetails
from msgraph_beta.generated.models.item_body import ItemBody
from msgraph_beta.generated.models.body_type import BodyType
graph_client = GraphServiceClient(credentials, scopes)
request_body = VirtualEventPresenter(
presenter_details = VirtualEventPresenterDetails(
bio = ItemBody(
content = "Lead Product Manager of Contoso Sales department",
content_type = BodyType.Text,
),
company = "Contoso",
job_title = "Product Manager",
linked_in_profile_web_url = "https://linkedin.com/in/DianeDemoss",
personal_site_web_url = "https://DianeDemoss.com",
),
)
result = await graph_client.solutions.virtual_events.webinars.by_virtual_event_webinar_id('virtualEventWebinar-id').presenters.by_virtual_event_presenter_id('virtualEventPresenter-id').patch(request_body)
Important
Microsoft Graph SDKs use the v1.0 version of the API by default, and do not support all the types, properties, and APIs available in the beta version. For details about accessing the beta API with the SDK, see Use the Microsoft Graph SDKs with the beta API.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see: https://aka.ms/ContentUserFeedback.