Reputation: 11
I tried to access through the API call Get price and metadata information for resources used in an Azure subscription
But the authentication is not happening through the URL request
_https://management.azure.com/subscriptions/subscription_id/providers/Microsoft.Commerce/RateCard?api-version=2015-06-01-preview_
Upvotes: 1
Views: 269
Reputation: 837
You must include the access token with the foramt "Bearer token-string" in the request's Authorization
header. Also, please specify valid values for OfferDurableId, Currency, Locale and RegionInfo in format of $filter(Please note that all 4 query parameters are required).
Check https://msdn.microsoft.com/en-us/library/azure/mt219004.aspx for details.
Upvotes: 0