响应事件后,status.response未更新

时间:2018-02-05 04:10:58

标签: outlook microsoft-graph

杰克给我发了一个会议邀请函。我回复了那次会议,在这种情况下tentativelyAccepted来自

POST /me/events/${eventId}/tentativelyAccept
{
  sendResponse: true
}

然后当我使用

GET /me/events

responseStatus.response 正确更新为tentativelyAccepted

但是, status.response 仍为none,这是错误的。

    {
        "responseStatus": {
            "response": "tentativelyAccepted",
            "time": "2018-02-05T03:15:49.3615414Z"
        },
        "start": {
            "dateTime": "2018-02-05T18:30:00.0000000",
            "timeZone": "UTC"
        },
        "end": {
            "dateTime": "2018-02-05T19:30:00.0000000",
            "timeZone": "UTC"
        },
        "location": {
            "displayName": "Office"
        },
        "recurrence": null,
        "attendees": [
            {
                "type": "required",
                "status": {
                    "response": "none",
                    "time": "0001-01-01T00:00:00Z"
                },
                "emailAddress": {
                    "name": "Jack",
                    "address": "jack@example.com"
                }
            },
            {
                "type": "required",
                "status": {
                    "response": "none",
                    "time": "0001-01-01T00:00:00Z"
                },
                "emailAddress": {
                    "name": "Hongbo Miao",
                    "address": "Hongbo.Miao@example.com"
                }
            }
        ],
        "organizer": {
            "emailAddress": {
                "name": "Jack",
                "address": "jack@example.com"
            }
        }
    }

如果我登录杰克的帐户并运行GET /me/events,则 status.response tentativelyAccepted,这是正确的。

0 个答案:

没有答案