Pregunta

I read that the Admin SDK works for Google Apps resellers, but I'm having one specific problem.

I want to use the following request to get the number of user licenses in use on one of my customer's domains.

https://www.googleapis.com/admin/reports/v1/usage/dates/%s?parameters=accounts:num_users

But there's no way that I can find to specify the customer's domain name that I want to get the usage report for. Tried a few different ways.

There must be a way that is hiding from me because this was possible with the old deprecated API.

Thanks.

¿Fue útil?

Otros consejos

Using the Reports API for this is not advisable because it can be delayed by 48+ hours. It's also not possible for reseller users to run reports for customers at this time. Rather, you should use the Google Apps Reseller API to list subscription counts that should be fully up to date.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top