timeOffRequest 资源类型

命名空间:microsoft.graph

表示一种班次请求采取 时间Off

方法

方法 返回类型 说明
Get timeOffRequest 读取 timeOffRequest 对象的属性和关系。
List timeOffRequest 集合 获取此 计划中的 timeOffRequest 对象列表。
删除 None 删除 timeOffRequest 对象。
批准 None 批准请假请求。
拒绝 None 拒绝请假请求。

属性

属性 类型 说明
endDateTime DateTimeOffset 时间戳类型表示使用 ISO 8601 格式的日期和时间信息,并且始终处于 UTC 时间。例如,2014 年 1 月 1 日午夜 UTC 类似于如下形式:2014-01-01T00:00:00Z
startDateTime DateTimeOffset 时间戳类型表示使用 ISO 8601 格式的日期和时间信息,并且始终处于 UTC 时间。例如,2014 年 1 月 1 日午夜 UTC 类似于如下形式:2014-01-01T00:00:00Z
timeOffReasonId String 请假的原因。

关系

无。

JSON 表示形式

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

{
  "endDateTime": "String (timestamp)",
  "startDateTime": "String (timestamp)",
  "timeOffReasonId": "String"
}