-
-
Notifications
You must be signed in to change notification settings - Fork 14
MS Mail
RogerSelwyn edited this page Jun 5, 2024
·
1 revision
The following calls are made:
- (GET) URL: https://graph.microsoft.com/v1.0/me/todo/lists
- {'params': None, 'headers': {}, 'allow_redirects': True, 'verify': True}
- Get list of calendars
- (GET) URL: https://graph.microsoft.com/v1.0/me/mailFolders
- {'params': {'$filter': "displayName eq 'Test'", '$top': 1}, 'headers': {}, 'allow_redirects': True, 'verify': True}
- Get first level folder
Test
- (GET) URL: https://graph.microsoft.com/v1.0/me/mailFolders/{obscure_guid}
- {'params': {'$filter': "displayName eq 'homeassistant'", '$top': 1}, 'headers': {}, 'allow_redirects': True, 'verify': True}
- Get second level folder
homeassistant
- (GET) URL: https://graph.microsoft.com/v1.0/me/mailFolders/{obscure_guid}
- {'params': {'$top': 5, '$orderby': 'receivedDateTime desc', '$select': 'flag,hasAttachments,from,toRecipients,receivedDateTime,attachments,subject,isRead,sender,ccRecipients,importance'}, 'headers': {}, 'allow_redirects': True, 'verify': True}
- Get required mails