Skip to content

Analytics Operations

Paul Smelser edited this page Oct 19, 2017 · 6 revisions

Analytics

Use the Spring Social for Microsoft Partner Center to programmatically retrieve analytic information.

MSDN Documentation


Get partner licenses deployment information

Get partner licenses deployment information aggregated to include all customers.

final AnalyticsOperations analyticsOperations = partnerCenterAdmin.getAnalyticsOperations();
final PartnerCenterResponse<PartnerLicensesDeploymentInsights> partnerDeployments = analyticsOperations.getPartnerLicensesDeploymentInformation().getBody();

Get partner licenses usage information

Get partner licenses usage information aggregated to include all customers.

final AnalyticsOperations analyticsOperations = partnerCenterAdmin.getAnalyticsOperations();
final PartnerCenterResponse<PartnerLicensesUsageInsights> partnerUsage = analyticsOperations.getPartnerLicensesUsageInsights().getBody();

Get customer licenses deployment information

Get licenses deployment insights for a specific customer

final AnalyticsOperations analyticsOperations = partnerCenterAdmin.getAnalyticsOperations();
final ResponseEntity<PartnerCenterResponse<CustomerLicensesDeploymentInsights>> customerDeployments = analyticsOperations.getCustomerLicensesDeploymentInsights("00000000-0000-0000-0000-000000000001");

Get customer licenses usage information

Get licenses deployment insights for a specific customer.

final AnalyticsOperations analyticsOperations = partnerCenterAdmin.getAnalyticsOperations();
final ResponseEntity<PartnerCenterResponse<CustomerLicensesUsageInsights>> customerLicensesUsageInsights = analyticsOperations.getCustomerLicensesUsageInsights("00000000-0000-0000-0000-000000000001");