会话资源类型

命名空间:microsoft.graph.callRecords

重要

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

表示用户与用户的通信或电话会议时的用户与会议的通信。

如果通信涉及多个服务标识,则可以多次返回一个会话。 有关详细信息,请参阅 通话记录 API 常见问题解答。

方法

方法 返回类型 Description
List microsoft.graph.callRecords.session 集合 检索与 callRecord 对象关联的会话列表。

属性

属性 类型 说明
被呼叫方 microsoft.graph.callRecords.endpoint 应答会话的终结点。
caller microsoft.graph.callRecords.endpoint 启动会话的终结点。
endDateTime DateTimeOffset 最后一个用户离开会话时的 UTC 时间。 DateTimeOffset 表示使用 ISO 8601 格式的日期和时间信息,并且始终处于 UTC 时间。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z
failureInfo microsoft.graph.callRecords.failureInfo 与会话关联的失败信息(如果会话失败)。
id string 会话的唯一标识符。 只读。
isTest 布尔值 指定会话是否为测试。
模式 microsoft.graph.callRecords.modality 集合 会话中出现的模式列表。 可取值包括:unknown、audio、video、videoBasedScreenSharing、data、screenSharing、unknownFutureValue。
startDateTime DateTimeOffset 第一个用户加入会话时的 UTC 时间。 DateTimeOffset 表示使用 ISO 8601 格式的日期和时间信息,并且始终处于 UTC 时间。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z

关系

关系 类型 说明
段 microsoft.graph.callRecords.segment 集合 会话中涉及的段的列表。 只读。 可为 Null。

JSON 表示形式

以下 JSON 表示形式显示资源类型。

{  
  "callee": {"@odata.type": "microsoft.graph.callRecords.endpoint"},  
  "caller": {"@odata.type": "microsoft.graph.callRecords.endpoint"},
  "endDateTime": "String (timestamp)",
  "failureInfo": {"@odata.type": "microsoft.graph.callRecords.failureInfo"},
  "id": "String (identifier)",
  "isTest": "Boolean",
  "modalities": ["string"],
  "startDateTime": "String (timestamp)"
}