|
| 1 | +{ |
| 2 | + "parameters": { |
| 3 | + "api-version": "2021-10-01", |
| 4 | + "billingAccountName": "{billingAccountName}" |
| 5 | + }, |
| 6 | + "responses": { |
| 7 | + "200": { |
| 8 | + "body": { |
| 9 | + "value": [ |
| 10 | + { |
| 11 | + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingSubscriptionAliases/c356b7c7-7545-4686-b843-c1a49cf853fc", |
| 12 | + "name": "c356b7c7-7545-4686-b843-c1a49cf853fc", |
| 13 | + "type": "Microsoft.Billing/billingAccounts/billingSubscriptionAliases", |
| 14 | + "properties": { |
| 15 | + "autoRenew": "Off", |
| 16 | + "billingFrequency": "P1M", |
| 17 | + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/2b72f936-0166-47d6-91a3-ef9f84f36664", |
| 18 | + "billingProfileDisplayName": "Contoso operations billing profile", |
| 19 | + "billingProfileName": "2b72f936-0166-47d6-91a3-ef9f84f36664", |
| 20 | + "billingSubscriptionId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingSubscriptions/418b0e9c-5dc3-4260-918f-30b90619fe07", |
| 21 | + "displayName": "Subscription 1", |
| 22 | + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/2b72f936-0166-47d6-91a3-ef9f84f36664/invoiceSections/5c562559-e31b-4bfe-b608-f8b5b3fbd073", |
| 23 | + "invoiceSectionDisplayName": "Contoso operations invoice section", |
| 24 | + "invoiceSectionName": "5c562559-e31b-4bfe-b608-f8b5b3fbd073", |
| 25 | + "lastMonthCharges": { |
| 26 | + "currency": "USD", |
| 27 | + "value": 5000.00 |
| 28 | + }, |
| 29 | + "monthToDateCharges": { |
| 30 | + "currency": "USD", |
| 31 | + "value": 600 |
| 32 | + }, |
| 33 | + "productCategory": "UsageBased", |
| 34 | + "productType": "Usage Based", |
| 35 | + "productTypeId": "DZH318Z0BPS6", |
| 36 | + "purchaseDate": "2021-10-01T00:00:00Z", |
| 37 | + "quantity": 1, |
| 38 | + "skuId": "0001", |
| 39 | + "skuDescription": "Microsoft Azure Plan", |
| 40 | + "status": "Active", |
| 41 | + "subscriptionId": "6b96d3f2-9008-4a9d-912f-f87744185aa3" |
| 42 | + } |
| 43 | + }, |
| 44 | + { |
| 45 | + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingSubscriptionAliases/ec16a54e-e8ad-4c14-8e87-e30e75fa800e", |
| 46 | + "name": "ec16a54e-e8ad-4c14-8e87-e30e75fa800e", |
| 47 | + "type": "Microsoft.Billing/billingAccounts/billingSubscriptionAliases", |
| 48 | + "properties": { |
| 49 | + "autoRenew": "Off", |
| 50 | + "billingFrequency": "P1M", |
| 51 | + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/2b72f936-0166-47d6-91a3-ef9f84f36664", |
| 52 | + "billingProfileDisplayName": "Contoso operations billing profile", |
| 53 | + "billingProfileName": "2b72f936-0166-47d6-91a3-ef9f84f36664", |
| 54 | + "billingSubscriptionId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingSubscriptions/9e030ae5-51ed-4e02-8e17-d51b3aa55980", |
| 55 | + "displayName": "Subscription 2", |
| 56 | + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/2b72f936-0166-47d6-91a3-ef9f84f36664/invoiceSections/5c562559-e31b-4bfe-b608-f8b5b3fbd073", |
| 57 | + "invoiceSectionDisplayName": "Contoso operations invoice section", |
| 58 | + "invoiceSectionName": "5c562559-e31b-4bfe-b608-f8b5b3fbd073", |
| 59 | + "lastMonthCharges": { |
| 60 | + "currency": "USD", |
| 61 | + "value": 1000.00 |
| 62 | + }, |
| 63 | + "monthToDateCharges": { |
| 64 | + "currency": "USD", |
| 65 | + "value": 400 |
| 66 | + }, |
| 67 | + "productCategory": "UsageBased", |
| 68 | + "productType": "Usage based", |
| 69 | + "productTypeId": "DZH318Z0BPS6", |
| 70 | + "purchaseDate": "2021-10-01T00:00:00Z", |
| 71 | + "quantity": 1, |
| 72 | + "skuId": "0001", |
| 73 | + "skuDescription": "Microsoft Azure Plan", |
| 74 | + "status": "Active", |
| 75 | + "subscriptionId": "6b96d3f2-9008-4a9d-912f-6b96d3f2" |
| 76 | + } |
| 77 | + }, |
| 78 | + { |
| 79 | + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingSubscriptionAliases/2ee97fe0-efca-4960-a9af-98a30c2c497c", |
| 80 | + "name": "2ee97fe0-efca-4960-a9af-98a30c2c497c", |
| 81 | + "type": "Microsoft.Billing/billingAccounts/billingSubscriptionAliases", |
| 82 | + "properties": { |
| 83 | + "autoRenew": "Off", |
| 84 | + "billingFrequency": "P1M", |
| 85 | + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/2b72f936-0166-47d6-91a3-ef9f84f36664", |
| 86 | + "billingProfileDisplayName": "Contoso operations billing profile", |
| 87 | + "billingProfileName": "2b72f936-0166-47d6-91a3-ef9f84f36664", |
| 88 | + "billingSubscriptionId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingSubscriptions/7f271b5e-a89e-45cc-8fa5-cd5c643f8b5e", |
| 89 | + "displayName": "Subscription 3", |
| 90 | + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/2b72f936-0166-47d6-91a3-ef9f84f36664/invoiceSections/5c562559-e31b-4bfe-b608-f8b5b3fbd0730", |
| 91 | + "invoiceSectionDisplayName": "Contoso operations invoice section", |
| 92 | + "invoiceSectionName": "5c562559-e31b-4bfe-b608-f8b5b3fbd073", |
| 93 | + "lastMonthCharges": { |
| 94 | + "currency": "USD", |
| 95 | + "value": 6000.00 |
| 96 | + }, |
| 97 | + "monthToDateCharges": { |
| 98 | + "currency": "USD", |
| 99 | + "value": 900 |
| 100 | + }, |
| 101 | + "productCategory": "SeatBased", |
| 102 | + "productType": "Microsoft 365 Business Standard", |
| 103 | + "productTypeId": "CFQ7TTC0LDPB", |
| 104 | + "purchaseDate": "2021-08-01T00:12:49.7261677+00:00", |
| 105 | + "quantity": 4, |
| 106 | + "skuId": "0001", |
| 107 | + "skuDescription": "Microsoft 365 Business Standard", |
| 108 | + "status": "Active", |
| 109 | + "termDuration": "P1Y", |
| 110 | + "termStartDate": "2021-10-01T00:00:00Z", |
| 111 | + "termEndDate": "2022-09-30T00:00:00Z" |
| 112 | + } |
| 113 | + } |
| 114 | + ] |
| 115 | + } |
| 116 | + } |
| 117 | + } |
| 118 | +} |
0 commit comments