An API that connects multiple Microsoft services, enabling data access and automation across platforms
check whether extension is added when creating an event
const eventData = {
subject: subject,
body: {
contentType: "HTML",
content: description, // You can customize this as needed
},
start: {
dateTime: startDateTime,
timeZone: startTimezone, // Adjust the timezone as needed
},
end: {
dateTime: endDateTime,
timeZone: endTimezone, // Adjust the timezone as needed
},
extensions: [
// Include the transaction ID as an extension
{
"@odata.type": "Microsoft.Graph.OpenTypeExtension",
extensionName: "transactionId",
transactionId: `sch${transactionId}`,
},
],
};