У нас есть пользователь с десятью электронными письмами с одинаковым ConversationId
. Также электронные письма имеют ту же тему. Однако сообщения электронной почты не принадлежат одному потоку (и клиент Outlook на рабочем столе пользователя не отображает их как поток). Смотрите пример:
{u'@odata.context': u'https://outlook.office.com/api/v2.0/$metadata#Me/Messages/$entity',
u'@odata.etag': u'W/"CQAAABYAAAD5tyPa0cHzQIZe1qqVKqkXAABLeAQn"',
u'@odata.id': u"https://outlook.office.com/api/v2.0/Users('c9688af1-1760-45b2-b983-26cf0b5a77f3@823b4a15-6ff6-4fe8-bba1-fcc6c80f30f3')/Messages('AAMkADU5YjM5NzljLTllMmYtNDE4Ny1hNGU5LTRkYmVkZGRhZTc4NABGAAAAAABvAgVanjVpTaqt4dX7dEGlBwD5tyPa0cHzQIZe1qqVKqkXAAAAAAEJAAD5tyPa0cHzQIZe1qqVKqkXAABLo1vvAAA=')",
u'BccRecipients': [],
u'Body': {u'Content': u'....',
u'ContentType': u'HTML'},
u'BodyPreview': u'...',
u'Categories': [],
u'CcRecipients': [],
u'ChangeKey': u'...',
u'ConversationId': u'AAQkADU5YjM5NzljLTllMmYtNDE4Ny1hNGU5LTRkYmVkZGRhZTc4NAAQAATMU74PmktojezkfD8RFcY=',
u'ConversationIndex': u'AdX3F4ZgBMxTvg+aS2iN7OR8PxEVxgABUZCAAACzFwAAAhzZMAAATUegAAD8Xes=',
u'CreatedDateTime': u'2020-03-10T22:42:37Z',
u'Flag': {u'FlagStatus': u'NotFlagged'},
u'From': {u'EmailAddress': {u'Address': u'kristine.prugh@...',
u'Name': u'Kristine Prugh'}},
u'HasAttachments': False,
u'Id': u'AAMkADU5YjM5NzljLTllMmYtNDE4Ny1hNGU5LTRkYmVkZGRhZTc4NABGAAAAAABvAgVanjVpTaqt4dX7dEGlBwD5tyPa0cHzQIZe1qqVKqkXAAAAAAEJAAD5tyPa0cHzQIZe1qqVKqkXAABLo1vvAAA=',
u'Importance': u'Normal',
u'InferenceClassification': u'Focused',
u'InternetMessageId': u'<FD23A3EB-CA2D-4E74-B4FC-AF391B25F1A8@...>',
u'IsDeliveryReceiptRequested': False,
u'IsDraft': False,
u'IsRead': True,
u'IsReadReceiptRequested': False,
u'LastModifiedDateTime': u'2020-03-10T22:42:39Z',
u'ParentFolderId': u'AQMkADU5YjM5NzljLTllMmYtNDE4Ny1hNGU5LTRkYmVkZAFhZTc4NAAuAAADbwIFWp41aU2qreHV_3RBpQEA_bcj2tHB80CGXtaqlSqpFwAAAgEJAAAA',
u'ReceivedDateTime': u'2020-03-10T22:42:38Z',
u'ReplyTo': [],
u'Sender': {u'EmailAddress': {u'Address': u'kristine.prugh@....',
u'Name': u'Kristine Prugh'}},
u'SentDateTime': u'2020-03-10T22:42:37Z',
u'Subject': u'Re: College Engine Follow-Up',
u'ToRecipients': [{u'EmailAddress': {u'Address': u'Ross.Kerr@....',
u'Name': u'Ross Kerr'}}],
u'WebLink': u'https://outlook.office365.com/owa/?ItemID=AAMkADU5YjM5NzljLTllMmYtNDE4Ny1hNGU5LTRkYmVkZGRhZTc4NABGAAAAAABvAgVanjVpTaqt4dX7dEGlBwD5tyPa0cHzQIZe1qqVKqkXAAAAAAEJAAD5tyPa0cHzQIZe1qqVKqkXAABLo1vvAAA%3D&exvsurl=1&viewmodel=ReadMessageItem'}
{u'@odata.context': u'https://outlook.office.com/api/v2.0/$metadata#Me/Messages/$entity',
u'@odata.etag': u'W/"CQAAABYAAAD5tyPa0cHzQIZe1qqVKqkXAABLeAHL"',
u'@odata.id': u"https://outlook.office.com/api/v2.0/Users('c9688af1-1760-45b2-b983-26cf0b5a77f3@823b4a15-6ff6-4fe8-bba1-fcc6c80f30f3')/Messages('AAMkADU5YjM5NzljLTllMmYtNDE4Ny1hNGU5LTRkYmVkZGRhZTc4NABGAAAAAABvAgVanjVpTaqt4dX7dEGlBwD5tyPa0cHzQIZe1qqVKqkXAAAAAGB1AAD5tyPa0cHzQIZe1qqVKqkXAAAHhd6TAAA=')",
u'BccRecipients': [],
u'Body': {u'Content': u'....',
u'ContentType': u'HTML'},
u'BodyPreview': u'...',
u'Categories': [],
u'CcRecipients': [],
u'ChangeKey': u'CQAAABYAAAD5tyPa0cHzQIZe1qqVKqkXAABLeAHL',
u'ConversationId': u'AAQkADU5YjM5NzljLTllMmYtNDE4Ny1hNGU5LTRkYmVkZGRhZTc4NAAQAATMU74PmktojezkfD8RFcY=',
u'ConversationIndex': u'AdX3F4ZgBMxTvg+aS2iN7OR8PxEVxgABUZCAAACzFwA=',
u'CreatedDateTime': u'2020-03-10T21:05:30Z',
u'Flag': {u'FlagStatus': u'NotFlagged'},
u'From': {u'EmailAddress': {u'Address': u'lmwenzel@....',
u'Name': u'Laren Wenzell'}},
u'HasAttachments': False,
u'Id': u'AAMkADU5YjM5NzljLTllMmYtNDE4Ny1hNGU5LTRkYmVkZGRhZTc4NABGAAAAAABvAgVanjVpTaqt4dX7dEGlBwD5tyPa0cHzQIZe1qqVKqkXAAAAAGB1AAD5tyPa0cHzQIZe1qqVKqkXAAAHhd6TAAA=',
u'Importance': u'Normal',
u'InferenceClassification': u'Focused',
u'InternetMessageId': u'<CAEB+QRW3L_V-53xFPuZPE0QJbFWO=-k7tMbL1bFiuoqcCpZqew@mail.gmail.com>',
u'IsDeliveryReceiptRequested': None,
u'IsDraft': False,
u'IsRead': True,
u'IsReadReceiptRequested': False,
u'LastModifiedDateTime': u'2020-03-10T22:09:37Z',
u'ParentFolderId': u'AQMkADU5YjM5NzljLTllMmYtNDE4Ny1hNGU5LTRkYmVkZAFhZTc4NAAuAAADbwIFWp41aU2qreHV_3RBpQEA_bcj2tHB80CGXtaqlSqpFwAAAmB1AAAA',
u'ReceivedDateTime': u'2020-03-10T21:05:31Z',
u'ReplyTo': [],
u'Sender': {u'EmailAddress': {u'Address': u'lmwenzel@...',
u'Name': u'Laren Wenzell'}},
u'SentDateTime': u'2020-03-10T21:05:16Z',
u'Subject': u'Re: College Engine Follow-Up',
u'ToRecipients': [{u'EmailAddress': {u'Address': u'kristine.prugh@...',
u'Name': u'Kristine Prugh'}}],
u'WebLink': u'https://outlook.office365.com/owa/?ItemID=AAMkADU5YjM5NzljLTllMmYtNDE4Ny1hNGU5LTRkYmVkZGRhZTc4NABGAAAAAABvAgVanjVpTaqt4dX7dEGlBwD5tyPa0cHzQIZe1qqVKqkXAAAAAGB1AAD5tyPa0cHzQIZe1qqVKqkXAAAHhd6TAAA%3D&exvsurl=1&viewmodel=ReadMessageItem'}
Мне интересно, как мы должны создавать потоки сообщений внутри, если мы не можем полагаться на ConversationId
?