Skip to content

Instantly share code, notes, and snippets.

@HiteshRepo
Last active February 23, 2024 12:12
Show Gist options
  • Save HiteshRepo/e7e68b64185cf07d3c84022bcb800616 to your computer and use it in GitHub Desktop.
Save HiteshRepo/e7e68b64185cf07d3c84022bcb800616 to your computer and use it in GitHub Desktop.
non nested item attachment, succeeds while upload
{
"id": "AAMkAGQ1NzViZTdhLTEwMTMtNGJjNi05YWI2LTg4NWRlZDA2Y2UxOABGAAAAAAAPvVwUramXT7jlSGpVU8_7BwB8wYc0thTTTYl3RpEYIUq_AAAAAAEMAAB8wYc0thTTTYl3RpEYIUq_AADKo35SAAABEgAQABv3spWM8g5IriSvYJe5kO8=",
"@odata.type": "#microsoft.graph.itemAttachment",
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#/attachments(microsoft.graph.itemAttachment/item())/$entity",
"item@odata.navigationLink": "https://graph.microsoft.com/v1.0/users('f435c656-f8b2-4d71-93c3-6e092f52a167')/messages('')",
"item@odata.associationLink": "https://graph.microsoft.com/v1.0/users('f435c656-f8b2-4d71-93c3-6e092f52a167')/messages('')/$ref",
"isInline": false,
"lastModifiedDateTime": "2023-02-06T20:03:40Z",
"name": "Not Something Small. 28-Jul-2022_20:53:33 Different",
"size": 10959,
"item": {
"@odata.type": "#microsoft.graph.message",
"body": {
"content": "<html><head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"><meta name=\"Generator\" content=\"Microsoft Word 15 (filtered medium)\"><style><!--@font-face{font-family:\"Cambria Math\"}@font-face{font-family:Calibri}p.MsoNormal, li.MsoNormal, div.MsoNormal{margin:0in;font-size:11.0pt;font-family:\"Calibri\",sans-serif}span.EmailStyle17{font-family:\"Calibri\",sans-serif;color:windowtext}.MsoChpDefault{font-family:\"Calibri\",sans-serif}@page WordSection1{margin:1.0in 1.0in 1.0in 1.0in}div.WordSection1{}--></style></head><body lang=\"EN-US\" link=\"#0563C1\" vlink=\"#954F72\" style=\"word-wrap:break-word\"><div class=\"WordSection1\"><p class=\"MsoNormal\">I've been going through with the changing of messages. It shouldn't have the same calls, right? Call Me? </p><p class=\"MsoNormal\">&nbsp;</p><p class=\"MsoNormal\">We want to be able to send multiple messages and we want to be able to respond and do other things that make sense for our users. In this case. Let’s consider a Mailbox</p></div></body></html>",
"contentType": "html"
},
"bodyPreview": "I've been going through with the changing of messages. It shouldn't have the same calls, right? Call Me?\r\n\r\nWe want to be able to send multiple messages and we want to be able to respond and do other things that make sense for our users. In this case. Let",
"conversationId": "AAQkAGQ1NzViZTdhLTEwMTMtNGJjNi05YWI2LTg4NWRlZDA2Y2UxOAAQAOlAM0OrVQlHkhUZeZMPxgg=",
"conversationIndex": "AQHYosQZ6UAzQ6tVCUeSFRl5kw/GCA==",
"flag": {
"flagStatus": "notFlagged"
},
"from": {
"emailAddress": {
"address": "foobar@8qzvrj.onmicrosoft.com",
"name": "A Stranger"
}
},
"importance": "normal",
"internetMessageId": "<MWHPR1401MB1952C46D4A46B6398F562B0FA6E99@MWHPR1401MB1952.namprd14.prod.outlook.com>",
"isDeliveryReceiptRequested": false,
"isRead": true,
"isReadReceiptRequested": false,
"receivedDateTime": "2022-07-28T20:53:33Z",
"sender": {
"emailAddress": {
"address": "foobar@8qzvrj.onmicrosoft.com",
"name": "A Stranger"
}
},
"sentDateTime": "2022-07-28T20:53:33Z",
"subject": "Not Something Small. 28-Jul-2022_20:53:33 Different",
"toRecipients": [
{
"emailAddress": {
"address": "notAvailable@8qzvrj.onmicrosoft.com",
"name": "Direct Report"
}
}
],
"webLink": "https://outlook.office365.com/owa/?AttachmentItemID=Aviewmodel=ItemAttachment"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment