更新Gmail活动预订问题

时间:2019-07-08 17:14:02

标签: gmail google-schemas

我正在尝试更新Gmail“活动预订”的位置和/或日期。但是到目前为止,如果我使用文档中提供的方法,则不会进行任何修改。但是在所有具有相同信息的情况下,事件创建都能成功进行。

除了通过“ modififedTime”字段更新事件保留之外,我还尝试了以下其他方法:

  1. 在同一封电子邮件中以阵列形式发送“已取消”和“已确认”事件预订
  2. 将“已取消”事件作为单独的电子邮件发送,然后发送“已确认”事件
  3. 等待4个小时以传播修改

这是我正在使用的示例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"
}

这是Gmail HTML标记验证工具的输出: enter image description here

0 个答案:

没有答案