plannerRecurrenceSchedule 资源类型

命名空间:microsoft.graph

重要

Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

表示 Microsoft 365 中 Planner 任务的 重复计划。 目前, plannerRecurrenceSchedule 包括一个重复模式定义 (模式) 、该模式的开始日期 (patternStartDateTime) ,以及一个系统生成的属性,该属性指示下一个发生日期 (nextOccurrenceDateTime) 。 若要定义重复计划,客户端必须指定 模式patternStartDateTime;服务计算 下一个OccurrenceDateTime

有关详细信息,请参阅 在 Planner 中配置任务重复周期

属性

属性 类型 说明
nextOccurrenceDateTime DateTimeOffset 计划的下一个日期。 当实例化新任务以继续重复序列时,此日期将用于新 plannerTaskdueDateTime。 由服务自动生成。 时间戳类型表示采用 ISO 8601 格式的日期和时间信息,始终采用 UTC 时区。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z。 只读。
模式 recurrencePattern 重复周期的模式。 必填。
patternStartDateTime DateTimeOffset 重复模式的开始日期。 时间戳类型表示采用 ISO 8601 格式的日期和时间信息,始终采用 UTC 时区。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z。 必填。

关系

无。

JSON 表示形式

以下 JSON 表示形式显示了资源类型。 有关包含此资源的真实示例,请参阅 在 Planner 中配置任务重复周期

{
  "@odata.type": "#microsoft.graph.plannerRecurrenceSchedule",
  "nextOccurrenceDateTime": "String (timestamp)",
  "pattern": { "@odata.type": "#microsoft.graph.recurrencePattern" },
  "patternStartDateTime": "String (timestamp)"
}