Apologies for delayed response @Hennie van Zyl . Unfortunately, you do need access to an existing billing account in order to use the Billing Accounts API method. There isn't a way to use "test data". If the use of test data is for testing a system you're developing, I would advise using the Sample Response on the documentation to mock the response.
Azure billing API test or dummy data
Hennie van Zyl
20
Reputation points
Is there any test data available for:
https://learn.microsoft.com/en-us/rest/api/billing/2019-10-01-preview/billing-accounts/get?tabs=HTTP#code-try-0
I would like to test, but my subscription does not have applicable data for this API call
Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
3,369 questions
Accepted answer
-
Ryan Hill 30,266 Reputation points Microsoft Employee Moderator
2023-07-25T12:59:09.0133333+00:00