CsAVConferenceTime* 报告

CsAVConferenceTime* REST URI 提供有关登录用户在 Office 365 Lync Online 会议(包括音频或视频)中使用的时间量的概要统计。共有三个报告使用同一个整体结构,它们仅在汇总数据使用的时间间隔(每日、每周和每月)上有区别。为简单起见,本主题中详细说明了三个报告。

上次修改时间: 2015年9月17日

适用范围: Office 365

REST URI

https://reports.office365.com/ecp/reportingwebservice/reporting.svc/CsAVConferenceTimeDaily[?ODATA options]
https://reports.office365.com/ecp/reportingwebservice/reporting.svc/CsAVConferenceTimeWeekly[?ODATA options]
https://reports.office365.com/ecp/reportingwebservice/reporting.svc/CsAVConferenceTimeMonthly[?ODATA options]

字段

可在 $select、$filter 和 $orderby ODATA2 查询选项中指定下列字段。如果没有提供 $select 选项,将返回所有字段。

名称

WCF 类型*

EDM 类型*

[In/Out]** 说明

示例值

在其中添加的服务版本

AVConferenceMinutes

long

Edm.Int64

[In/Out] 截至日期值的报告期间 AV 会议花费的分钟数。

3330

2013-V1

Date

System.DateTime

Edm.DateTime

[In/Out] 报告期间的结束日期和时间。请参阅以下部分,获取有关报告期间的详细信息。

简写日期(例如,03/10/2013)或带引号的日期时间(例如,"03/10/2013 4:55 PM")

2013-V1

ID

long

Edm.Int64

[In/Out] 报告记录的索引号。

72

2013-V1

TenantGuid

System.guid

Edm.Guid

[In/Out] 组织的 GUID。

16a58f78-539f-47f7-b9bf-02a63867d73b

2013-V1

TenantName

string

Edm.String

[In/Out] 组织名称。

example.onmicrosoft.com

2013-V1

*WCF 类型指在 Visual Studio 中创建 Windows Communications Framework (WCF) 服务参考时分配给字段的 .NET Framework 数据类型。EDM 类型指 ATOM 格式化报告中返回的 ADO.NET 实体数据模型 (EDM) 类型。

**[In/Out]:有关详细信息,请参阅"输入参数和报告输出列"部分。

备注

若要包含在使用的报告会议资源中,则必须至少已有一个参与者作为其 Office 365 组织用户帐户参与了会议。

通过移动设备(如电话或平板电脑)参加会议的参与者不包括在报告的时间计数器中。为此,如果某会议的所有参与者均在移动设备上进行,则报告中不会显示该会议。

返回的会议计数仅包含由组织用户组织的会议。每个会议按照类别仅计算一次,无论参与的用户或来宾数量如何。由于不同的 Lync Online 计划可能不包括组织会议的功能,但可能仍具有参与会议的功能,因此这种租户中组织的会议数量可能始终返回零。

报告中的每个条目都包含元数据的多个字段。有关详细信息,请参阅 Office 365 报告 Web 服务返回的常见元数据

三个报告类型仅是每个报告条目涵盖的时间量不同。"日期"字段中报告的时间表示时间段的结束。日期和时间按 HTTPS GET X-timezone 标头指定的时区报告。如果没有指定时区,则使用 UTC 时间。报告的持续时间以下列方式计算。

报告名称

时间段计算

每日 (CsAVConferenceTimeDaily)

报告日精确始于午夜 (00:00:00) 并在当天即将午夜前 (23.59:59.9999...) 结束。报告的最后一天是所提供数据的最后一整天,将不包含当日。Date 字段中返回的日期和时间表示该报告日的结束。

每周 (CsAVConferenceTimeWeekly)

报告周精确始于星期日凌晨午夜 (00:00:00),并在下一周星期六晚上即将午夜前 (23:59:59.9999...) 结束。最近报告的条目包含当日的条目,因此通常延长到请求报告的时间之外。Date 字段中返回的日期和时间表示该报告周的结束。

每月 (CsAVConferenceTimeMonthly)

报告月精确始于每月第一天午夜 (00:00:00),并在当月最后一个日历日即将午夜前 (23:59:59.9999...) 结束。最近报告的条目包含当日的条目,因此通常延长到请求报告的时间之外。 Date 字段中返回的日期和时间表示该报告月的结束。

示例

下面的请求和响应对演示如何检索 JSON 格式的每月 AV 会议报告。查询 $select 选项仅查询日期和分钟数。请注意,仅返回 2013 年 5 月 1 日的一个报告数据点。

https://reports.office365.com/ecp/reportingwebservice/reporting.svc/CsAVConferenceTimeMonthly?$select=Date,AVConferenceMinutes&$format=Json
  {
    "d":
      {
        "results":
          [            
              {
                "__metadata":
                  {
                    "id":"https://reports.office365.com/ecp/ReportingWebService/Reporting.svc/CsAVConferenceTimeMonthly
                        (datetime'2013-05-01T00%3A00%3A00')",
                    "uri":"https://reports.office365.com/ecp/ReportingWebService/Reporting.svc/CsAVConferenceTimeMonthly
                        (datetime'2013-05-01T00%3A00%3A00')",
                    "type":"TenantReporting.CsAVConferenceTimeReport"
                  },
                "Date":"\/Date(1367366400000)\/",
                "AVConferenceMinutes":"37"
              }            
          ]        
      }    
  }

下面的请求和响应对演示如何检索前面 14 天每日使用的 AV 会议分钟数,以反向时间顺序排列。类似于之前的查询,这里只查询 Date 和AVConferenceMinutes 计数,并请求 Atom 格式的信息。报告返回包含数据的每日条目,因此,在这种情况下,$top 限制应用于最后"拥有数据"的 14 天,这与最后 14 个日历日不一定相同。若要限制特定时间的报告时间段,请使用 $filter 查询选项。请注意,为清楚起见,请求和响应中添加了换行符。

https://reports.office365.com/ecp/reportingwebservice/reporting.svc/CsAVConferenceTimeDaily?
  $select=Date,TenantName,AVConferenceMinutes&
  $filter=Date%20ge%20datetime'2013-01-01T00:00:00'%20and%20
    Date%20lt%20datetime'2013-06-26T00:00:00'&
  $orderby=Date%20desc&
  $format=Atom
<?xml version="1.0" encoding="utf-8"?>
<feed 
    xml:base="https://reports.office365.com/ecp/ReportingWebService/Reporting.svc/" 
    xmlns="http://www.w3.org/2005/Atom" 
    xmlns:d="https://schemas.microsoft.com/ado/2007/08/dataservices" 
    xmlns:m="https://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
  <id>https://reports.office365.com/ecp/reportingwebservice/reporting.svc/CsAVConferenceTimeDaily</id>
  <title type="text">CsAVConferenceTimeDaily</title>
  <updated>2013-07-08T23:41:28Z</updated>
  <link rel="self" title="CsAVConferenceTimeDaily" href="CsAVConferenceTimeDaily" />
  <entry>
    <id>https://reports.office365.com/ecp/ReportingWebService/Reporting.svc/CsAVConferenceTimeDaily
        (datetime'2013-05-14T00%3A00%3A00')</id>
    <category term="TenantReporting.CsAVConferenceTimeReport" 
        scheme="https://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
    <title />
    <updated>2013-07-08T23:41:28Z</updated>
    <author>
      <name />
    </author>
    <content type="application/xml">
      <m:properties>
        <d:Date m:type="Edm.DateTime">2013-05-14T00:00:00</d:Date>
        <d:AVConferenceMinutes m:type="Edm.Int64">13</d:AVConferenceMinutes>
      </m:properties>
    </content>
  </entry>
  <entry>
    <id>https://reports.office365.com/ecp/ReportingWebService/Reporting.svc/CsAVConferenceTimeDaily
        (datetime'2013-05-13T00%3A00%3A00')</id>
    <category term="TenantReporting.CsAVConferenceTimeReport" 
        scheme="https://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
    <title />
    <updated>2013-07-08T23:41:28Z</updated>
    <author>
      <name />
    </author>
    <content type="application/xml">
      <m:properties>
        <d:Date m:type="Edm.DateTime">2013-05-13T00:00:00</d:Date>
        <d:AVConferenceMinutes m:type="Edm.Int64">24</d:AVConferenceMinutes>
      </m:properties>
    </content>
  </entry>
  <entry>
    <id>https://reports.office365.com/ecp/ReportingWebService/Reporting.svc/CsAVConferenceTimeDaily
        (datetime'2013-05-10T00%3A00%3A00')</id>
    <category term="TenantReporting.CsAVConferenceTimeReport" 
        scheme="https://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
    <title />
    <updated>2013-07-08T23:41:28Z</updated>
    <author>
      <name />
    </author>
    <content type="application/xml">
      <m:properties>
        <d:Date m:type="Edm.DateTime">2013-05-10T00:00:00</d:Date>
        <d:AVConferenceMinutes m:type="Edm.Int64">93</d:AVConferenceMinutes>
      </m:properties>
    </content>
  </entry>
  <entry>
    <id>https://reports.office365.com/ecp/ReportingWebService/Reporting.svc/CsAVConferenceTimeDaily
        (datetime'2013-05-05T00%3A00%3A00')</id>
    <category term="TenantReporting.CsAVConferenceTimeReport" 
        scheme="https://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
    <title />
    <updated>2013-07-08T23:41:28Z</updated>
    <author>
      <name />
    </author>
    <content type="application/xml">
      <m:properties>
        <d:Date m:type="Edm.DateTime">2013-05-05T00:00:00</d:Date>
        <d:AVConferenceMinutes m:type="Edm.Int64">165</d:AVConferenceMinutes>
      </m:properties>
    </content>
  </entry>
</feed>

输入参数和报告输出列

字段表格中的 [In/Out] 指示符具有以下含义:

  • 字段表中标记为 [In] 的字段主要在 $filter=、$orderby= 和其他限制报告应返回哪些条目的查询选项中使用。字段表中标记为 [In] 的字段可包含在 $select= 选项中,他们将在报告条目中出现,但不包含有用数据。

  • 字段表中标记为 [In/Out] 的字段可在列选择 ($select=) 和条目限制($filter= 和 $orderby=)选项中使用。当您在 $select= 选项中包含这些字段之一时,它们将在报告条目中出现,且将在提供时包含有用数据。

兼容性

CsAVConferenceTimeDaily、CsAVConferenceTimeWeekly 和 CsAVConferenceTimeMonthly 报告在 Office 365 服务版本 2013-V1 中引入。有关版本控制的详细信息,请参阅 Office 365 报告 Web 服务中的版本控制

相应的 PowerShell cmdlet

CsAVConferenceTime* 报告返回与 Get-CsAVConferenceTimeReport Windows PowerShell cmdlet 相同的信息。

权限

您用于访问报告的帐户必须拥有该 Office 365 组织的管理权限。如果服务说明文档及返回给用户的 $metadata 文档中包含报告,则它们具有从 REST Web 服务检索数据的权限。此报告要求为用户分配收件人(仅查看)角色。在默认的 Office 365 权限结构中,具有下列管理员权限的用户可以访问此报告:帐务管理员 、全局管理员、密码管理员、服务管理员和用户管理管理员。

数据粒度、 持久性和可用性

通过这些报告提供的信息可分隔为多个一天的时间段,从调用应用程序在 HTTP X-timezone 标头中报告的时区的午夜开始。

此报告的信息适用于一年的时间,或者直到取消订阅为止。

事件可能被推迟达 24 小时,然后才能显示在报告中。