Outlook カレンダーで会議の新しい日時を提案する
Outlook では、会議の主催者は、元の設定日付/時刻に会議を開催できず、暫定的に承諾または辞退する場合、招待者が別の会議時間を提案できるようにすることができます。 主催者は、会議の時間を適切に調整することで提案を受け入れることができます。
例: 出席者は暫定的に応答し、異なる日付/時刻を提案します
以下は、Alex が Adele をランチに招待し、Adele が別の日付と時刻を暫定的に受け入れて提案し、Alex がそれに応じて会議を調整することで提案を受け入れる例です。
主催者として、Alex は会議の出席依頼を Adele に送信します。 彼はイベントの allowNewTimeProposals プロパティを
true
に設定して、Adele が必要に応じて別の時間を提案できるようにします。POST https://graph.microsoft.com/v1.0/me/events Prefer: outlook.timezone="Pacific Standard Time" Content-type: application/json { "subject": "Let's go for lunch", "body": { "contentType": "HTML", "content": "Does noon work for you?" }, "start": { "dateTime": "2019-08-15T12:00:00", "timeZone": "Pacific Standard Time" }, "end": { "dateTime": "2019-08-15T14:00:00", "timeZone": "Pacific Standard Time" }, "allowNewTimeProposals": true, "location":{ "displayName":"Harry's Bar" }, "attendees": [ { "emailAddress": { "address":"AdeleV@contoso.com", "name": "Adele Vance" }, "type": "required" } ] }
Alex は次の応答を受け取ります。
HTTP/1.1 201 Created Content-type: application/json { "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('64339082-ed84-4b0b-b4ab-004ae54f3747')/events/$entity", "@odata.etag": "W/\"NEXywgsVrkeNsFsyVyRrtAAAAhBhkg==\"", "id": "AAMkADAwJXJGu0AAACEhWOAAA=", "createdDateTime": "2019-08-01T06:41:07.805128Z", "lastModifiedDateTime": "2019-08-01T06:41:08.3298275Z", "changeKey": "NEXywgsVrkeNsFsyVyRrtAAAAhBhkg==", "categories": [], "originalStartTimeZone": "Pacific Standard Time", "originalEndTimeZone": "Pacific Standard Time", "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.office365.com/owa/?itemid=AAMkADAwJXJGu0AAACEhWOAAA%3D&exvsurl=1&path=/calendar/item", "onlineMeetingUrl": null, "allowNewTimeProposals": true, "recurrence": null, "responseStatus": { "response": "organizer", "time": "0001-01-01T00:00:00Z" }, "body": { "contentType": "html", "content": "<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\r\n<meta content=\"text/html; charset=us-ascii\">\r\n</head>\r\n<body>\r\nDoes late morning work for you?\r\n</body>\r\n</html>\r\n" }, "start": { "dateTime": "2019-08-15T12:00:00.0000000", "timeZone": "Pacific Standard Time" }, "end": { "dateTime": "2019-08-15T14: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" } ], "attendees": [ { "type": "required", "status": { "response": "none", "time": "0001-01-01T00:00:00Z" }, "emailAddress": { "name": "Adele Vance", "address": "AdeleV@contoso.com" } } ], "organizer": { "emailAddress": { "name": "Alex Wilber", "address": "AlexW@contoso.com" } } }
Adele は、受信トレイで eventMessageRequest として招待状を受け取ります。 彼女は allowNewTimeProposals プロパティが設定されていることに気付きます。 この eventMessageRequest に関連付けられたイベントを使用して、彼女は暫定的な応答を行い、同時に、possedNewTime 本体パラメーターで翌日を提案します。 また、sendResponse パラメーターを true に設定します。
POST https://graph.microsoft.com/v1.0/me/events/AAMkADU5NRaRqdoI4oeRpAAAB_woNAAA=/tentativelyAccept Content-type: application/json { "comment": "Can you make the next day instead?", "sendResponse": "true", "proposedNewTime": { "Start": { "DateTime": "2019-08-16T12:00:00", "TimeZone": "Pacific Standard Time" }, "End": { "DateTime": "2019-08-16T14:00:00", "TimeZone": "Pacific Standard Time" } } }
Adele は返信に成功し、次の応答が返されます。
HTTP/1.1 202 Accepted
Alex は、eventMessageResponse タイプの電子メールを受信します。 彼は次のことに気づきました。
- 件名には接頭辞が含まれ、「提案された新しい時間: ランチに行きましょう」と表示されます
- 送信者は Adele Vance です
-
responseType は
tentativelyAccepted
です - Adele 提案は、eventMessageResponse の roposedNewTime プロパティにあります。
GET https://graph.microsoft.com/v1.0/me/messages?$top=1 Prefer: outlook.timezone="Pacific Standard Time"
説明のために、Adele の返信が Alex のメールボックスにある最新のメッセージであり、Alex がその最新のメッセージを単にリクエストできると仮定します。
HTTP/1.1 200 OK Content-type: application/json Preference-Applied: outlook.timezone="Pacific Standard Time" { "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('64339082-ed84-4b0b-b4ab-004ae54f3747')/messages", "@odata.nextLink": "https://graph.microsoft.com/v1.0/me/messages?$top=1&$skip=4"", "value": [ { "@odata.type": "#microsoft.graph.eventMessageResponse", "@odata.etag": "W/\"DAAAABYAAAA0RfLCCxWuR42wWzJXJGu0AAACEGHC\"", "id": "AAMkADAwJXJGu0AAACEiVAAAA=", "createdDateTime": "2019-08-01T07:06:27Z", "lastModifiedDateTime": "2019-08-01T07:06:28Z", "changeKey": "DAAAABYAAAA0RfLCCxWuR42wWzJXJGu0AAACEGHC", "categories": [], "receivedDateTime": "2019-08-01T07:06:28Z", "sentDateTime": "2019-08-01T07:06:24Z", "hasAttachments": false, "internetMessageId": "<BY5PR17MB38759D33B8925D525A476F33D9DE0@contoso.outlook.com>", "subject": "New Time Proposed: Let's go for lunch", "bodyPreview": "Can you make the next day instead?", "importance": "normal", "parentFolderId": "AQMkADAwQAAAIBDAAAAA==", "conversationId": "AAQkADAwQAQAMkh89RO3QpBiUCETTtVbIo=", "conversationIndex": "AdVINBlgySHz1E7dCkGJQIRNO1VsigAA4n6R", "isDeliveryReceiptRequested": null, "isReadReceiptRequested": false, "isRead": false, "isDraft": false, "webLink": "https://outlook.office365.com/owa/?ItemID=AAMkADAwJXJGu0AAACEiVAAAA%3D&exvsurl=1&viewmodel=ReadMessageItem", "inferenceClassification": "focused", "unsubscribeData": [], "unsubscribeEnabled": false, "meetingMessageType": "meetingTentativelyAccepted", "type": "singleInstance", "isOutOfDate": false, "isAllDay": false, "isDelegated": false, "responseType": "tentativelyAccepted", "recurrence": null, "body": { "contentType": "html", "content": "<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\r\n<meta content=\"text/html; charset=us-ascii\">\r\n</head>\r\n<body>\r\nCan you make the next day instead?\r\n</body>\r\n</html>\r\n" }, "sender": { "emailAddress": { "name": "Adele Vance", "address": "AdeleV@contoso.com" } }, "from": { "emailAddress": { "name": "Adele Vance", "address": "AdeleV@contoso.com" } }, "toRecipients": [ { "emailAddress": { "name": "Alex Wilber", "address": "AlexW@contoso.com" } } ], "ccRecipients": [], "bccRecipients": [], "replyTo": [], "flag": { "flagStatus": "notFlagged" }, "startDateTime": { "dateTime": "2019-08-15T12:00:00.0000000", "timeZone": "Pacific Standard Time" }, "endDateTime": { "dateTime": "2019-08-15T14:00:00.0000000", "timeZone": "Pacific Standard Time" }, "location": { "displayName": "Harry's Bar", "locationType": "default", "uniqueIdType": "unknown" }, "proposedNewTime": { "start": { "dateTime": "2019-08-16T12:00:00", "timeZone": "Pacific Standard Time" }, "end": { "dateTime": "2019-08-16T14:00:00", "timeZone": "Pacific Standard Time" } } } ] }
Alex はまた、ランチのイベントに、Adele の提案を示す proposedNewTime プロパティが含まれていることに気付きます。 このプロパティは、対応する出席者が別の会議の時間を提案した場合にのみ、出席者インスタンスの一部として存在します。
GET https://graph.microsoft.com/v1.0/me/events/AAMkADAwJXJGu0AAACEhWOAAA=?$select=subject,allowNewTimeProposals,start,end,attendees,organizer Prefer: outlook.timezone="Pacific Standard Time"
HTTP/1.1 200 Ok { "@odata.context": "https://graph.microsoft.com/testexchangev1.0/$metadata#users('64339082-ed84-4b0b-b4ab-004ae54f3747')/events(subject,allowNewTimeProposals,start,end,attendees,organizer)/$entity", "@odata.etag": "W/\"NEXywgsVrkeNsFsyVyRrtAAAAhEDMA==\"", "id": "AAMkADAwJXJGu0AAACEhWOAAA=", "subject": "Let's go for lunch", "allowNewTimeProposals": true, "start": { "dateTime": "2019-08-15T12:00:00.0000000", "timeZone": "Pacific Standard Time" }, "end": { "dateTime": "2019-08-15T14:00:00.0000000", "timeZone": "Pacific Standard Time" }, "attendees": [ { "type": "required", "status": { "response": "tentativelyAccepted", "time": "2019-08-01T07:06:24.5046431Z" }, "proposedNewTime": { "start": { "dateTime": "2019-08-16T12:00:00.0000000", "timeZone": "Pacific Standard Time" }, "end": { "dateTime": "2019-08-16T14:00:00.0000000", "timeZone": "Pacific Standard Time" } }, "emailAddress": { "name": "Adele Vance", "address": "AdeleV@contoso.com" } } ], "organizer": { "emailAddress": { "name": "Alex Wilber", "address": "AlexW@contoso.com" } } }
Alex は、提案された開始と終了日付と時間にイベントを更新することで、Adele の提案を受け入れることにします。
PATCH https://graph.microsoft.com/v1.0/me/events/AAMkADAwJXJGu0AAACEhWOAAA= Prefer: outlook.timezone="Pacific Standard Time" Content-type: application/json { "start": { "dateTime": "2019-08-16T12:00:00.0000000", "timeZone": "Pacific Standard Time" }, "end": { "dateTime": "2019-08-16T14:00:00.0000000", "timeZone": "Pacific Standard Time" } }
Alex の更新は成功し、次の応答を受け取ります。
HTTP/1.1 200 Ok { "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('64339082-ed84-4b0b-b4ab-004ae54f3747')/events/$entity", "@odata.etag": "W/\"NEXywgsVrkeNsFsyVyRrtAAAAhBizA==\"", "id": "AAMkADAwJXJGu0AAACEhWOAAA=", "createdDateTime": "2019-08-01T06:41:07.805128Z", "lastModifiedDateTime": "2019-08-01T08:21:43.5696529Z", "changeKey": "NEXywgsVrkeNsFsyVyRrtAAAAhBizA==", "categories": [], "originalStartTimeZone": "Pacific Standard Time", "originalEndTimeZone": "Pacific Standard Time", "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.office365.com/owa/?itemid=AAMkADAwJXJGu0AAACEhWOAAA%3D&exvsurl=1&path=/calendar/item", "onlineMeetingUrl": null, "allowNewTimeProposals": true, "recurrence": null, "responseStatus": { "response": "organizer", "time": "0001-01-01T00:00:00Z" }, "body": { "contentType": "html", "content": "<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\r\n<meta content=\"text/html; charset=us-ascii\">\r\n</head>\r\n<body>\r\nDoes noon work for you?\r\n</body>\r\n</html>\r\n" }, "start": { "dateTime": "2019-08-16T12:00:00.0000000", "timeZone": "Pacific Standard Time" }, "end": { "dateTime": "2019-08-16T14: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" } ], "attendees": [ { "type": "required", "status": { "response": "notResponded", "time": "4501-01-01T00:00:00Z" }, "emailAddress": { "name": "Adele Vance", "address": "AdeleV@contoso.com" } } ], "organizer": { "emailAddress": { "name": "Alex Wilber", "address": "AlexW@contoso.com" } } }
別の時間を提案する参加者はいません
手順 2 で、Adele が暫定的に応答または拒否し、異なる日付/時刻を提案しなかった場合、次のことが起こります。
- 手順 3 で、Alex は responseType プロパティが
tentativelyAccepted
に設定された eventMessageResponse を受け取ります (またはdecline
Adele が拒否した場合)。 Alex は、eventMessageResponse のこのインスタンスで proposedNewTime プロパティを見つけませんでした。 - 手順 4 で、Alex は、関連するイベントの中で proposedNewTime プロパティも見つけませんでした。