End point: https://graph.microsoft.com/v1.0/me/events
Body
{
"subject": "Let's go for lunch",
"body": {
"contentType": "HTML",
"content": "Does noon work for you?"
},
"start": {
"dateTime": "2023-03-21T12:00:00",
"timeZone": "Pacific Standard Time"
},
"end": {
"dateTime": "2023-03-21T12:00:00",
"timeZone": "Pacific Standard Time"
},
"location": {
"displayName": "Harry's Bar"
},
"attendees": [
{
"emailAddress": {
"address": "adrian.pazalonso@cgi.com",
"name": "Adrian Paz Alonso"
},
"type": "required"
}
],
"allowNewTimeProposals": true,
"isOnlineMeeting": true,
"onlineMeetingProvider": "teamsForBusiness"
}
Response:
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('hive-ip%40outlook.com')/events/$entity",
"@odata.etag": "W/\"nm7WO1rBIUax2FTOt73TYwAAAAAFMg==\"",
"id": "AQMkADAwATM0MDAAMS01NmQzLWI1MGEtMDACLTAwCgBGAAADMOpK1qyMD02aEDu4qr7P_wcAnm7WO1rBIUax2FTOt73TYwAAAgENAAAAnm7WO1rBIUax2FTOt73TYwAAAjJMAAAA",
"createdDateTime": "2023-03-21T15:16:04.8850385Z",
"lastModifiedDateTime": "2023-03-21T15:16:05.3224619Z",
"changeKey": "nm7WO1rBIUax2FTOt73TYwAAAAAFMg==",
"categories": [],
"transactionId": null,
"originalStartTimeZone": "Pacific Standard Time",
"originalEndTimeZone": "Pacific Standard Time",
"iCalUId": "040000008200E00074C5B7101A82E00800000000CE1D050E085CD901000000000000000010000000FFBD989F310188428F6B8C157FCEE218",
"reminderMinutesBeforeStart": 15,
"isReminderOn": true,
"hasAttachments": false,
"subject": "Let's go for lunch",
"bodyPreview": "Does noon work for you?",
"importance": "normal",
"sensitivity": "normal",
"isAllDay": false,
"isCancelled": false,
"isOrganizer": true,
"responseRequested": true,
"seriesMasterId": null,
"showAs": "busy",
"type": "singleInstance",
"webLink": "https://outlook.live.com/owa/?itemid=AQMkADAwATM0MDAAMS01NmQzLWI1MGEtMDACLTAwCgBGAAADMOpK1qyMD02aEDu4qr7P%2BwcAnm7WO1rBIUax2FTOt73TYwAAAgENAAAAnm7WO1rBIUax2FTOt73TYwAAAjJMAAAA&exvsurl=1&path=/calendar/item",
"onlineMeetingUrl": null,
"isOnlineMeeting": false,
"onlineMeetingProvider": "unknown",
"allowNewTimeProposals": true,
"occurrenceId": null,
"isDraft": false,
"hideAttendees": false,
"responseStatus": {
"response": "organizer",
"time": "0001-01-01T00:00:00Z"
},
"body": {
"contentType": "html",
"content": "<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"></head><body>Does noon work for you?</body></html>"
},
"start": {
"dateTime": "2023-03-21T12:00:00.0000000",
"timeZone": "Pacific Standard Time"
},
"end": {
"dateTime": "2023-03-21T12:00:00.0000000",
"timeZone": "Pacific Standard Time"
},
"location": {
"displayName": "Harry's Bar",
"locationType": "default",
"uniqueId": "Harry's Bar",
"uniqueIdType": "private"
},
"locations": [
{
"displayName": "Harry's Bar",
"locationType": "default",
"uniqueId": "Harry's Bar",
"uniqueIdType": "private"
}
],
"recurrence": null,
"attendees": [
{
"type": "required",
"status": {
"response": "none",
"time": "0001-01-01T00:00:00Z"
},
"emailAddress": {
"name": "Adrian Paz Alonso",
"address": "adrian.pazalonso@cgi.com"
}
}
],
"organizer": {
"emailAddress": {
"name": "Hive Ip",
"address": "hive-ip@outlook.com"
}
},
"onlineMeeting": null
}
Email
Question:
- why no Teams meeting URL generated?
Are we missing any parameter or properties in the request body?