description |
---|
Automatically generated file. DO NOT MODIFY |
// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.Beta.Models;
var requestBody = new Extension
{
OdataType = "#microsoft.outlookServices.openTypeExtension",
AdditionalData = new Dictionary<string, object>
{
{
"extensionName" , "Com.Contoso.Estimate"
},
{
"companyName" , "Contoso"
},
{
"expirationDate" , "2016-07-30T11:00:00.000Z"
},
{
"DealValue" , 1010100
},
{
"topPicks" , new List<string>
{
"Employees only",
"Add spouse or guest",
"Add family",
}
},
},
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Groups["{group-id}"].Threads["{conversationThread-id}"].Posts["{post-id}"].Extensions["{extension-id}"].PatchAsync(requestBody);