Fetch used Quota value through apis

fatemaali
Participant I

I am applying quota for each policy based on the HTTP method. The quota value is stored in custom attributes of ApiProduct. I want to fetch the used quota for each HTTP method in a given time range. How can i do this through apigee API's.

1 1 61
1 REPLY 1

fatemaali
Participant I

I think i got the answer. instead of thinking of getting Quota i should have thought in terms of getting message count.

Thanks to https://community.apigee.com/questions/42259/how-to-get-multiple-dimensions-with-analytics-api.html

https://api.enterprise.apigee.com/v1/organizations/apigeedocs/environments/test/stats/api_product,request_verb?select=sum(message_count)&timeRange=05%2F15%2F2017%2000%3A00~05%2F20%2F2017%2023%3A59"

Regards,

Fatema