细分资源类型

命名空间:microsoft.graph.callRecords

重要

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

表示 User-User 通信的一部分,或电话会议的 User-Meeting 通信。 典型的 VOIP 呼叫每个会话有一个段。 在某些情况下,例如公共交换电话网 (PSTN) 呼叫,由于连接呼叫需要其他服务器到服务器通信,每个会话有多个网段。

方法

不存在直接访问细分的方法。 将 Get callRecord API 与 或 List session API 结合$expand=segments$expand=sessions($expand=segments)使用,以获取 callRecord 的段。

属性

属性 类型 说明
id String 细分的唯一标识符。 只读。
caller microsoft.graph.callRecords.endpoint 发起此段的终结点。
被呼叫方 microsoft.graph.callRecords.endpoint 响应此细分的终结点。
failureInfo microsoft.graph.callRecords.failureInfo 与段关联的失败信息(如果发生故障)。
媒体 microsoft.graph.callRecords.media 集合 与此细分关联的媒体。
startDateTime DateTimeOffset 段开始时的 UTC 时间。 DateTimeOffset 表示使用 ISO 8601 格式的日期和时间信息,并且始终处于 UTC 时间。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z
endDateTime DateTimeOffset 段结束时的 UTC 时间。 DateTimeOffset 表示使用 ISO 8601 格式的日期和时间信息,并且始终处于 UTC 时间。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z

关系

无

JSON 表示形式

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

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