【发布时间】:2017-05-18 18:30:00
【问题描述】:
使用Google Calendar API,我可以使用GET https://www.googleapis.com/calendar/v3/calendars/calendarId/events/eventId获取所有活动参与者。
在我的日历活动中,我使用别名 team@mycompany.com 向整个团队组织发送电子邮件。不幸的是,我的日历活动返回别名,而不是单个电子邮件,如下所示:
"attendees": [
{
"email": "me@mycomapny.com",
"self": true,
"responseStatus": "accepted"
},
{
"email": "team@mycomapny.com", <-- Not what I want
"displayName": "My Entire Company",
"responseStatus": "needsAction"
},
],
如何获取扩展的与会者列表,如下所示:
"attendees": [
{
"email": "me@mycomapny.com",
"self": true,
"responseStatus": "accepted"
},
{
"email": "you@mycomapny.com", <-- expanded email list
"responseStatus": "needsAction"
},
{
"email": "someoneelse@mycomapny.com",
"responseStatus": "needsAction"
},
{
"email": "manager@mycomapny.com",
"responseStatus": "needsAction"
},
... etc
],
【问题讨论】:
标签: email google-api mailing-list google-calendar-api