MS Graph API创建的MS Bookings预约ICS文件含多余内容求助
关于MS Bookings Graph API创建预约后ICS文件包含多余信息的问题
问题描述
我们长期使用MS Bookings及MS Graph API(v1.0)(SDK v4.52.0),近几周有客户反馈,通过API创建预约时生成的ICS文件包含超出预期的信息。此前ICS仅包含服务备注,现在却额外包含客户信息、预约详情、缓冲时间、内部备注等内容,引发终端用户困惑。
已排查情况
- 检查过SDK配置及MS Bookings后台设置,未发现异常配置
- 通过Postman直接调用Graph API测试,同样出现ICS包含多余信息的问题
- 但通过MS Bookings日历手动创建预约时,生成的ICS文件无此类多余信息
API请求体示例
POST https://graph.microsoft.com/v1.0/solutions/bookingBusinesses/{id}/appointments
{ "@odata.type": "#microsoft.graph.bookingAppointment", "customerTimeZone": "Europe/Berlin", "smsNotificationsEnabled": false, "priceType": "free", "startDateTime": { "@odata.type": "#microsoft.graph.dateTimeTimeZone", "dateTime": "2023-07-18T13:30:00.0000000+00:00", "timeZone": "W. Europe Standard Time" }, "endDateTime": { "@odata.type": "#microsoft.graph.dateTimeTimeZone", "dateTime": "2023-07-18T14:00:00.0000000+00:00", "timeZone": "W. Europe Standard Time" }, "isLocationOnline": false, "optOutOfCustomerEmail": true, "anonymousJoinWebUrl": null, "serviceId": "redacted", "staffMemberIds": [ "redacted" ], "maximumAttendeesCount": 1, "filledAttendeesCount": 1, "reminders@odata.type": "#Collection(microsoft.graph.bookingReminder)", "reminders": [ { "offset": "P1D", "recipients": "allAttendees", "message": "This is a reminder for both customer and attendees" }, { "offset": "PT1H", "recipients": "customer", "message": "Please be available to enjoy your lunch service." }, { "offset": "PT2H", "recipients": "staff", "message": "Please check traffic for next cater." } ], "customers@odata.type": "#Collection(microsoft.graph.bookingCustomerInformation)", "customers": [ { "@odata.type": "#microsoft.graph.bookingCustomerInformation", "name": "John Doe", "emailAddress": "john.doe@email.com", "phone": "000000000000" } ], "serviceName": "IT Support", "serviceNotes": "Original service note on create" }
提问
是否存在特定配置项可以移除ICS文件中的这些多余信息?
内容的提问来源于stack exchange,提问作者BentoBoxBandit
相关产品推荐
相关产品推荐

