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

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

Get customer licenses deployment information

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