问题描述
Hi.
https://consumption.azure.com/v2/enrollments/{enrollmentnum}/billingperiods/201806/usagedetails
For some reason I am unable to pull usage detail past May 31st, 2018.
Up to that date is fine. From June 1st onwards, nothing is returned.
Yet I have a 42,000 line xls file for June that I generated early in July, so I know it should be there.
Even setting to a specific day, I am unable to get anything after May 31st. Tried with both csv and json versions of the call.
关于问题可能出在哪里?
Any suggestions as to what the problem might be?
谢谢.
推荐答案
在此处中指定需要添加的常见标头属性.可以使用以下格式的开始日期和结束日期参数来指定自定义时间范围 yyyy-MM-dd.
Common header properties that need to be added are specified here. Custom time ranges can be specified with the start and end date parameters that are in the format yyyy-MM-dd.
检查此链接
https://docs.microsoft.com/zh-CN/rest/api/billing/enterprise/billing-enterprise-api-usage-detail
https://docs.microsoft.com/en-us/rest/api/billing/enterprise/billing-enterprise-api-usage-detail
https://docs.microsoft.com/zh-CN/rest/api/billing/enterprise/billing-enterprise-api-billing-periods
https://docs.microsoft.com/en-us/rest/api/billing/enterprise/billing-enterprise-api-billing-periods
https://docs.microsoft.com/zh-CN/azure/billing/billing-review-enterprise-billing
https://docs.microsoft.com/en-us/azure/billing/billing-review-enterprise-billing
这篇关于帐单API问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!