shiftItem 资源类型
命名空间:microsoft.graph
表示班次 的版本。
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| notes | 字符串 | 的班次说明 shiftItem。 |
| displayName | string | 的 Shift 标签 shiftItem。 |
| startDateTime | DateTimeOffset | 的开始日期和时间 shiftItem。 时间戳类型表示采用 ISO 8601 格式的日期和时间信息,始终采用 UTC 时区。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z。 必需。 |
| endDateTime | DateTimeOffset | 的结束日期和时间 shiftItem。 必需项。 时间戳类型表示采用 ISO 8601 格式的日期和时间信息,始终采用 UTC 时区。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z。 |
| theme | scheduleEntityTheme | 支持的颜色:白色;blue;绿色;紫色;粉色;黄色;灰色;darkBlue;darkGreen;darkPurple;darkPink;darkYellow。 |
| activities | shiftActivity 集合 | 班次的增量部分,可涵盖员工在班次的何时及何处的详细信息。 例如,工作分配或计划的休息或午餐。 此为必需属性。 |
JSON 表示形式
下面是资源的 JSON 表示形式。
{
"displayName": "String",
"notes": "String",
"startDateTime": "String (timestamp)",
"endDateTime": "String (timestamp)",
"theme": "String",
"activities": [{"@odata.type": "microsoft.graph.shiftActivity"}]
}
反馈
提交和查看相关反馈