Skip to content

Commit 5af7233

Browse files
Merge pull request #292922 from shubhamagarwalMSFT/docs-editor/migrate-cost-management-api-1736555233
Update API URL
2 parents acb6887 + a329e6b commit 5af7233

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/cost-management-billing/costs/migrate-cost-management-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,13 +208,13 @@ Use the Price Sheet API to view all Azure Consumption services Price Sheet data
208208

209209
| Method | Request URI |
210210
| --- | --- |
211-
| POST | `https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/pricesheet/default/download?api-version=2018-11-01-preview&startDate=2019-01-01&endDate=2019-01-31&format=csv` |
211+
| POST | `https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.CostManagement/pricesheet/default/download?api-version=2018-11-01-preview&startDate=2019-01-01&endDate=2019-01-31&format=csv` |
212212

213213
Use the Price Sheet API to view all Azure Consumption services Price Sheet data in JSON format:
214214

215215
| Method | Request URI |
216216
| --- | --- |
217-
| POST | `https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/pricesheet/default/download?api-version=2018-11-01-preview&startDate=2019-01-01&endDate=2019-01-31&format=json` |
217+
| POST | `https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.CostManagement/pricesheet/default/download?api-version=2018-11-01-preview&startDate=2019-01-01&endDate=2019-01-31&format=json` |
218218

219219
Using the API returns the price sheet for the entire account. However, you can also get a condensed version of the price sheet in PDF format. The summary includes Azure Consumption and Marketplace consumption services that are billed for a specific invoice. The invoice is identified by the {invoiceId}, which is the same as the **Invoice Number** shown in the Invoice Summary PDF files. Here's an example.
220220

0 commit comments

Comments
 (0)