API:https://graph.microsoft.com/v1.0/me/events
Request Body:{
"subject": "My event",
"start": {
"dateTime": "2021-07-08T04:46:05.073Z",
"timeZone": "UTC"
},
"end": {
"dateTime": "2021-07-15T04:46:05.073Z",
"timeZone": "UTC"
}
}
API:https://graph.microsoft.com/v1.0/me/events
Request Body:{
"subject": "My event",
"start": {
"dateTime": "2021-07-08T04:46:05.073Z",
"timeZone": "UTC"
},
"end": {
"dateTime": "2021-07-15T04:46:05.073Z",
"timeZone": "UTC"
}
}
Hi, is there any update on your issue? I am willing to hear from you. :)
It is not supported to create an event along with attachments within a single request, only we can post an attachment to the event after it's created.
We can use the following API to add an attachment to an existing event.
POST /me/events/{eventid}/attachments
{
"@odata.type": "#microsoft.graph.fileAttachment",
"name": "$(fileName)",
"contentBytes": "$(base64EncodedString)"
}
6 people are following this question.
Receiving successful subscription response, but never receiving event notifications
The property 'subject' does not exist on type Microsoft.OutlookServices.Event'
Graph api get mailbox setting of resource
how to identifying updated child event in series(rucurring events) with help of calendar graph api?