Office 365 报告 Web 服务 reporting.svc 文档

本主题介绍 Office 365 报告 Web 服务reporting.svc 文档,该文档根据用户帐户权限告知应用程序可用的报告。

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

适用范围: Office 365

Reporting.svc 文档结构

若要检索 报告 Web 服务 说明文档,请使用以下 URL。该路径不区分大小写。

https://reports.office365.com/ecp/ReportingWebService/Reporting.svc/

以下是 报告 Web 服务 返回的服务说明文档示例。

<?xml version="1.0" encoding="utf-8"?>
<service 
  xml:base="https://reports.office365.com/ecp/ReportingWebService/Reporting.svc/" 
  xmlns="http://www.w3.org/2007/app" 
  xmlns:atom="http://www.w3.org/2005/Atom">
<workspace>
<atom:title>Default</atom:title>
<collection href="MailboxActivityDaily">
<atom:title>MailboxActivityDaily</atom:title>
</collection>
<collection href="MailboxActivityWeekly">
<atom:title>MailboxActivityWeekly</atom:title>
</collection>
<collection href="MailboxActivityMonthly">
<atom:title>MailboxActivityMonthly</atom:title>
</collection>
<collection href="MailboxActivityYearly">
<atom:title>MailboxActivityYearly</atom:title>
</collection>
<collection href="GroupActivityDaily">
<atom:title>GroupActivityDaily</atom:title>
</collection>
<collection href="GroupActivityWeekly">
<atom:title>GroupActivityWeekly</atom:title>
</collection>
<collection href="GroupActivityMonthly">
<atom:title>GroupActivityMonthly</atom:title>
</collection>
<collection href="GroupActivityYearly">
<atom:title>GroupActivityYearly</atom:title>
</collection>
<collection href="StaleMailbox">
<atom:title>StaleMailbox</atom:title>
</collection>
<collection href="StaleMailboxDetail">
<atom:title>StaleMailboxDetail</atom:title>
</collection>
<collection href="MailboxUsage">
<atom:title>MailboxUsage</atom:title>
</collection>
<collection href="MailboxUsageDetail">
<atom:title>MailboxUsageDetail</atom:title>
</collection>
<collection href="CsActiveUserDaily">
<atom:title>CsActiveUserDaily</atom:title>
</collection>
<collection href="CsActiveUserWeekly">
<atom:title>CsActiveUserWeekly</atom:title>
</collection>
<collection href="CsActiveUserMonthly">
<atom:title>CsActiveUserMonthly</atom:title>
</collection>
<collection href="CsActiveUserYearly">
<atom:title>CsActiveUserYearly</atom:title>
</collection>
<collection href="CsConferenceDaily">
<atom:title>CsConferenceDaily</atom:title>
</collection>
<collection href="CsConferenceWeekly">
<atom:title>CsConferenceWeekly</atom:title>
</collection>
<collection href="CsConferenceMonthly">
<atom:title>CsConferenceMonthly</atom:title>
</collection>
<collection href="CsP2PSessionDaily">
<atom:title>CsP2PSessionDaily</atom:title>
</collection>
<collection href="CsP2PSessionWeekly">
<atom:title>CsP2PSessionWeekly</atom:title>
</collection>
<collection href="CsP2PSessionMonthly">
<atom:title>CsP2PSessionMonthly</atom:title>
</collection>
<collection href="CsP2PAVTimeDaily">
<atom:title>CsP2PAVTimeDaily</atom:title>
</collection>
<collection href="CsP2PAVTimeWeekly">
<atom:title>CsP2PAVTimeWeekly</atom:title>
</collection>
<collection href="CsP2PAVTimeMonthly">
<atom:title>CsP2PAVTimeMonthly</atom:title>
</collection>
<collection href="CsAVConferenceTimeDaily">
<atom:title>CsAVConferenceTimeDaily</atom:title>
</collection>
<collection href="CsAVConferenceTimeWeekly">
<atom:title>CsAVConferenceTimeWeekly</atom:title>
</collection>
<collection href="CsAVConferenceTimeMonthly">
<atom:title>CsAVConferenceTimeMonthly</atom:title>
</collection>
<collection href="ConnectionbyClientTypeDaily">
<atom:title>ConnectionbyClientTypeDaily</atom:title>
</collection>
<collection href="ConnectionbyClientTypeWeekly">
<atom:title>ConnectionbyClientTypeWeekly</atom:title>
</collection>
<collection href="ConnectionbyClientTypeMonthly">
<atom:title>ConnectionbyClientTypeMonthly</atom:title>
</collection>
<collection href="ConnectionbyClientTypeYearly">
<atom:title>ConnectionbyClientTypeYearly</atom:title>
</collection>
<collection href="ConnectionbyClientTypeDetailDaily">
<atom:title>ConnectionbyClientTypeDetailDaily</atom:title>
</collection>
<collection href="ConnectionbyClientTypeDetailWeekly">
<atom:title>ConnectionbyClientTypeDetailWeekly</atom:title>
</collection>
<collection href="ConnectionbyClientTypeDetailMonthly">
<atom:title>ConnectionbyClientTypeDetailMonthly</atom:title>
</collection>
<collection href="ConnectionbyClientTypeDetailYearly">
<atom:title>ConnectionbyClientTypeDetailYearly</atom:title>
</collection>
<collection href="MailTraffic">
<atom:title>MailTraffic</atom:title>
</collection>
<collection href="MailTrafficTop">
<atom:title>MailTrafficTop</atom:title>
</collection>
<collection href="MailTrafficPolicy">
<atom:title>MailTrafficPolicy</atom:title>
</collection>
<collection href="MailFilterList">
<atom:title>MailFilterList</atom:title>
</collection>
<collection href="MailTrafficSummary">
<atom:title>MailTrafficSummary</atom:title>
</collection>
<collection href="MailDetailSpam">
<atom:title>MailDetailSpam</atom:title>
</collection>
<collection href="MailDetailMalware">
<atom:title>MailDetailMalware</atom:title>
</collection>
<collection href="MailDetailDlpPolicy">
<atom:title>MailDetailDlpPolicy</atom:title>
</collection>
<collection href="MailDetailTransportRule">
<atom:title>MailDetailTransportRule</atom:title>
</collection>
<collection href="MessageTrace">
<atom:title>MessageTrace</atom:title>
</collection>
<collection href="MessageTraceDetail">
<atom:title>MessageTraceDetail</atom:title>
</collection>
<collection href="MxRecordReport">
<atom:title>MxRecordReport</atom:title>
</collection>
<collection href="OutboundConnectorReport">
<atom:title>OutboundConnectorReport</atom:title>
</collection>
<collection href="ServiceDeliveryReport">
<atom:title>ServiceDeliveryReport</atom:title>
</collection>
</workspace>
</service>

每个 <collection><title>…</title></collection> 项目代表用户可以访问的一个可用报告。collection 元素中的 href 属性表示应用程序应在其构建的 URL 中使用的报告名称。您的应用程序应使用 atom:title 元素值作为报告的显示名称。

您还可以在以下 URL 位置检索 $metadata 文档中报告定义信息的更详细列表。

https://reports.office365.com/ecp/reportingwebservice/reporting.svc/$metadata

有关详细信息,请参阅 Office 365 报告 Web 服务返回的常见元数据

重要

适用于用户的报告取决于组织所授予的管理员权限。由于适用于每个用户的报告列表取决于其权限,因此请注意将您的应用程序进行相应调整。

例如,如果您拥有较低级别的管理员帐户,则不要设想能够访问所有可用报告。全局管理员可以访问所有报告。但是,请注意,某些报告可能随时因组织的 Office 365 订阅而不可用。如果您要构建综合报告工具,请不要依赖于自己帐户的权限来生成对 Office 365 中可用报告的引用列表。

另请参阅

概念

Office 365 报告 Web 服务返回的常见元数据