我正在尝试更新Gmail“活动预订”的位置和/或日期。但是到目前为止,如果我使用文档中提供的方法,则不会进行任何修改。但是在所有具有相同信息的情况下,事件创建都能成功进行。
除了通过“ modififedTime”字段更新事件保留之外,我还尝试了以下其他方法:
这是我正在使用的示例JSON-LD对象:
{
"@context": "http://schema.org",
"@type": "EventReservation",
"reservationNumber": "5bd5a927f54b162b4f10534",
"reservationStatus": "http://schema.org/Confirmed",
"underName": {
"@type": "Person",
"name": "test.person@gmail.com"
},
"reservationFor": {
"@type": "Event",
"name": "New event to test",
"performer": {
"@type": "Person",
"name": "Test person",
"image": "https://imageserver.com/test.avatar.jpg"
},
"startDate": "2019-07-08T22:30:00.000Z",
"endDate": "2019-07-09T03:30:00.000Z",
"location": {
"@type": "Place",
"name": "Small house near crossroad",
"address": {
"@type": "PostalAddress",
"streetAddress": "Oakland street 10",
"addressLocality": "Needham",
"addressRegion": "Massachusetts",
"postalCode": "02492",
"addressCountry": "USA"
}
}
},
"modifiedTime": "2019-07-08T16:09:26.524Z",
"modifyReservationUrl": "https://examplewebsite.com/api/gate/event/5bd5a927f54b162b4f10534/eceb435"
}