timeOffReason 资源类型
命名空间:microsoft.graph
重要
Microsoft Graph版本下的 /beta API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。
方法
| 方法 | 返回类型 | 说明 |
|---|---|---|
| Create | timeOffReason | 创建新的 timeOffReason。 |
| 列表 | timeOffReason 集合 | 获取计划 中的 timeOffReason 列表。 |
| Get | timeOffReason | 按 ID 获取 timeOffReason 。 |
| Replace | timeOffReason | 替换 timeOffReason。 |
| Delete | 无 | 将 timeOffReason 标记为非活动状态。 |
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| id | string |
timeOffReason 的 ID。 |
| displayName | string |
timeOffReason 的名称。 必需。 |
| iconType | timeOffReasonIconType |
支持的图标类型:无;car;calendar;running;plane;firstAid;一个notWorking;clock;将duty;globe;cup;phone;weather;umbrella;bankgyBank;dog;一个trafficCone;pin;。 必需。 |
| isActive | Boolean |
指示在创建新实体或更新现有实体时是否可以使用 timeOffReason 。 必需。 |
| createdDateTime | DateTimeOffset |
首次创建 此 timeOffReason 的时间戳。 时间戳类型表示采用 ISO 8601 格式的日期和时间信息,始终采用 UTC 时区。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z。 |
| lastModifiedDateTime | DateTimeOffset |
上次更新 TimeOffReason 的时间戳。 时间戳类型表示采用 ISO 8601 格式的日期和时间信息,始终采用 UTC 时区。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z。 |
| lastModifiedBy | identitySet | 上次更新此时间 OffReason 的标识。 |
JSON 表示形式
下面是资源的 JSON 表示形式。
{
"id": "String",
"createdDateTime": "String (timestamp)",
"lastModifiedDateTime": "String (timestamp)",
"displayName": "String",
"iconType": "String",
"isActive": true,
"lastModifiedBy": { "@odata.type":"microsoft.graph.identitySet"}
}
反馈
提交和查看相关反馈