命名空间:microsoft.graph
重要
Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。
表示 排班中的活动。
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| isPaid | bool |
指示是否 microsoft.graph.user 应该在其 shift. 必填。 |
| startDateTime | DateTimeOffset |
开始日期和时间。shiftActivity 时间戳类型表示采用 ISO 8601 格式的日期和时间信息,始终采用 UTC 时区。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z。 必需。 |
| endDateTime | DateTimeOffset |
结束日期和时间。shiftActivity 时间戳类型表示采用 ISO 8601 格式的日期和时间信息,始终采用 UTC 时区。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z。 必需。 |
| code | string |
客户定义的 shiftActivity代码。 必填。 |
| displayName | string |
的 shiftActivity名称。 必填。 |
| theme | scheduleEntityTheme |
活动的颜色。 可能的值为: white、、blue、 greenpurplepinkyellowgraydarkBluedarkGreendarkPurpledarkPinkdarkYellowunknownFutureValuedarkRedcranberrydarkOrangebronzepeachgoldlimeforestlightGreenjadelightTealdarkTealsteelskyBlueblueGraylavenderlilacplummagentadarkBrownbeigecharcoalsilver 使用Prefer: include-unknown-enum-members请求标头从这个可进化的枚举中获取以下值: darkRed、 、 darkBrowndarkTeallightTealjadesteellightGreenforestskyBlueplumlilacmagentalavenderbeigecharcoaldarkOrangepeachsilverbronzegoldlimeblueGraycranberry |
关系
无。
JSON 表示形式
以下 JSON 表示形式显示资源类型。
{
"isPaid": true,
"startDateTime": "2019-03-11T15:00:00Z",
"endDateTime": "2019-03-11T15:15:00Z",
"code": "",
"displayName": "Lunch",
"theme": "white"
}