我正在使用 Office 365 Graph API 来获取一些报告。我尝试使用从 applicationUsageSummaryEvents 报告的结果中获取的 applicationId 从以下端点获取应用程序使用详细信息事件:
不幸的是,即使在尝试了我能想到的“applicationId”的所有排列之后,我仍然会收到以下错误。
{ "error":{ "code":"","message":"applicationId is required" } }
我已经在网上找到了我能想到的所有地方,试图找出这个电话。从这里我知道架构将其显示为“applicationId”:
<EntityType Name="ApplicationUsageDetailEvent">
<Key>
<PropertyRef Name="id" />
</Key>
<Property Name="id" Type="Edm.String" Nullable="false" />
<Property Name="eventTime" Type="Edm.DateTimeOffset" Nullable="false" />
<Property Name="maxActivityTimeStamp" Type="Edm.DateTimeOffset" Nullable="false" />
<Property Name="applicationId" Type="Edm.Guid" Nullable="false" />
<Property Name="numberOfClicks" Type="Edm.Int32" Nullable="false" />
<Property Name="totalDay30Count" Type="Edm.Int32" />
<Property Name="totalDay7Count" Type="Edm.Int32" />
<Property Name="totalHour24Count" Type="Edm.Int32" />
<Property Name="userName" Type="Edm.String" />
</EntityType>
谁能告诉我如何正确地将应用程序 ID 传递到此 REST 调用中以获取结果?
提前致谢!