workforceIntegration 资源类型

命名空间:microsoft.graph

重要

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

员工与班次集成的实例。

方法

方法 返回类型 Description
List workforceIntegration 集合 获取与此 计划关联的 workforceIntegration 对象列表。
Create workforceIntegration 创建新的 workforceIntegration 对象。
Get workforceIntegration 读取 workforceIntegration 对象的属性和关系。
更新 workforceIntegration 更新 一个 workforceIntegration 对象。
删除 删除 一个 workforceIntegration 对象。

属性

属性 类型 说明
apiVersion Int32 用于回叫 URL 的 API 版本。 从 1 开始。
displayName String 员工集成的名称。
加密 workforceIntegrationEncryption 员工集成加密资源。
isActive Boolean 指示此员工集成当前是否处于活动状态且可用。
支持 workforceIntegrationSupportedEntities 同步更改通知支持的 Shifts 实体。 班次将调用此处添加的这些实体上客户端更改时提供的 URL。 默认情况下,更改通知不支持任何实体。

可能的值包括 none shift swapRequest openshift openShiftRequest userShiftPreferences :、、、、、、、。 offerShiftRequest unknownFutureValue timeCard timeOffReason timeOff timeOffRequest 请注意,必须使用请求标头获取此可发展枚举中的以下值 Prefer: include-unknown-enum-members timeCard timeOffReason :、、、。 timeOff timeOffRequest

如果选择多个值,则所有值必须以大写字母开头。
supportedEntities workforceIntegrationSupportedEntities 此属性在 v1.0 中已替换支持。 我们建议你使用此属性,而不是 支持目前,supports 属性在 beta 版中仍受支持。

可能的值包括 none shift swapRequest openshift openShiftRequest userShiftPreferences :、、、、、、、。 offerShiftRequest unknownFutureValue timeCard timeOffReason timeOff timeOffRequest 请注意,必须使用请求标头获取此可发展枚举中的以下值 Prefer: include-unknown-enum-members timeCard timeOffReason :、、、。 timeOff timeOffRequest

如果选择多个值,则所有值必须以大写字母开头。
url String 用于从 Shifts 服务进行回调的员工集成 URL。

关系

无。

JSON 表示形式

下面是资源的 JSON 表示形式。

{
  "apiVersion": 1024,
  "displayName": "String",
  "encryption": {"@odata.type": "microsoft.graph.workforceIntegrationEncryption"},
  "isActive": true,
  "supports": "string",
  "supportedEntities": "string",
  "url": "String"
}