命名空间:microsoft.graph
表示与班次的劳动力集成的实例。
方法
| 方法 | 返回类型 | 说明 |
|---|---|---|
| 创建 | workforceIntegration | 创建新的 workforceIntegration 对象。 |
| List | workforceIntegration 集合 | 获取与此计划关联的 workforceIntegration 对象列表。 |
| Get | workforceIntegration | 读取 workforceIntegration 对象的属性和关系。 |
| 更新 | workforceIntegration | 更新 workforceIntegration 对象。 |
| 删除 | None | 删除 workforceIntegration 对象。 |
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| apiVersion | Int32 | 回调 URL 的 API 版本。 从 1 开始。 |
| createdDateTime | DateTimeOffset | 首次创建此 workforceIntegration 的日期和时间。 时间戳类型使用 ISO 8601 格式表示日期和时间信息,并且始终采用 UTC 格式。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z。 继承自 changeTrackedEntity。 |
| displayName | String | 劳动力集成的名称。 |
| eligibilityFilteringEnabledEntities | eligibilityFilteringEnabledEntities | 支持查看资格筛选结果。 可取值为:none、swapRequest、offerShiftRequest、unknownFutureValue、timeOffReason。 使用 Prefer: include-unknown-enum-members 请求标头获取此 可演变枚举中的以下值: timeOffReason。 |
| 加密 | workforceIntegrationEncryption | 劳动力集成加密资源。 |
| isActive | 布尔值 | 指示此劳动力集成当前是否处于活动状态且可用。 |
| supportedEntities | workforceIntegrationSupportedEntities | 同步更改通知支持的 Shifts 实体。 当客户端更改到此属性中指定的实体时,将调回提供的 URL。 默认情况下,更改通知不支持任何实体。 可取值为:none、shift、swapRequest、userShiftPreferences、openShift、openShiftRequest、offerShiftRequest、unknownFutureValue、timeCard、timeOffReason、timeOff、timeOffRequest。 使用 Prefer: include-unknown-enum-members 请求标头获取此 可演变枚举中的以下值: timeCard 、 timeOffReason 、 timeOff 、 timeOffRequest。 |
| url | String | 来自班次服务的回调的 Workforce 集成 URL。 |
关系
无。
JSON 表示形式
以下 JSON 表示形式显示了资源类型。
{
"@odata.type": "#microsoft.graph.workforceIntegration",
"apiVersion": "Int32",
"createdDateTime": "String (timestamp)",
"displayName": "String",
"eligibilityFilteringEnabledEntities": "String",
"encryption": {"@odata.type": "microsoft.graph.workforceIntegrationEncryption"},
"id": "String (identifier)",
"isActive": "Boolean",
"lastModifiedBy": {"@odata.type": "microsoft.graph.identitySet"},
"lastModifiedDateTime": "String (timestamp)",
"supportedEntities": "String",
"url": "String"
}