线段资源类型

命名空间:microsoft.graph.callRecords

重要

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

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

方法

不存在直接访问线段的方法。 Please use the Get callRecord api with $expand=sessions($expand=segments) or the List session api with to get the segments for $expand=segments a callRecord.

属性

属性 类型 说明
id String 线段的唯一标识符。 只读。
调用方 microsoft.graph.callRecords.endpoint 启动此段的终结点。
被叫方 microsoft.graph.callRecords.endpoint 应答此段的终结点。
failureInfo microsoft.graph.callRecords.failureInfo 与段关联的失败信息(如果失败)。
media 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)"
}