段资源类型

命名空间:microsoft.graph.callRecords

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

方法

不存在直接访问段的方法。 请使用获取 callRecord api 或$expand=sessions($expand=segments)列表会话 api 和 $expand=segments 来获取 callRecord 的段。

属性

属性 类型 说明
被调用方 microsoft.graph.callRecords.endpoint 回答此段的终结点。
来电 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 段的唯一标识符。 只读。
媒体 microsoft.graph.callRecords.media 集合 与此段关联的媒体。
startDateTime DateTimeOffset 段开始的 UTC 时间。 DateTimeOffset 表示使用 ISO 8601 格式的日期和时间信息,并且始终处于 UTC 时间。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z

关系

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)",
  "media": [{"@odata.type": "microsoft.graph.callRecords.media"}],
  "startDateTime": "String (timestamp)"
}