me
can not be used in the User ID parameter
.
Mail.ReadWrite
.Note: Using the delegated (OAuth) connection type will only allow to insert the connected user's ID.
Parameter | Description |
---|---|
From Date | Date from which to show all new messages. |
Order By | Order the results by one or more properties and their correlating directions. Example: receivedDateTime desc |
User ID or User Principal Name | The ID or userPrincipalName of the user. |
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('bb8775a4-4d8c-42cf-a1d4-4d58c2bb668f')/messages(sender,subject)",
"value": [
{
"@odata.etag": "W/\"CQAAABYAAADHcgC8Hl9tRZ/hc1wEUs1TAAAwR4Hg\"",
"id": "AAMkAGUAAAwTW09AAA=",
"subject": "You have late tasks!",
"sender": {
"emailAddress": {
"name": "Microsoft Planner",
"address": "noreply@Planner.Office365.com"
}
}
}
],
"@odata.nextLink": "<string>"
}
Was this page helpful?