命名空间:microsoft.graph
表示 班次中的活动。
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| code | String | 客户定义的 shiftActivity代码。 必填。 |
| displayName | String | 的名称 shiftActivity。 必填。 |
| endDateTime | DateTimeOffset | 的结束日期和时间 shiftActivity。 时间戳类型表示采用 ISO 8601 格式的日期和时间信息,始终采用 UTC 时区。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z。 必需。 |
| isPaid | 布尔值 | 指示是否 microsoft.graph.user 应在其 shift期间为活动支付 费用。 必填。 |
| startDateTime | DateTimeOffset | 的开始日期和时间 shiftActivity。 时间戳类型表示采用 ISO 8601 格式的日期和时间信息,始终采用 UTC 时区。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z。 必需。 |
JSON 表示形式
以下 JSON 表示形式显示了资源类型。
{
"@odata.type": "#microsoft.graph.shiftActivity",
"code": "String",
"displayName": "String",
"endDateTime": "String (timestamp)",
"isPaid": "Boolean",
"startDateTime": "String (timestamp)",
"theme": "String"
}