{
  "parameters": {
    "api-version": "2026-06-01",
    "billingAccountId": "70664866",
    "parameters": {
      "type": "Usage",
      "dataset": {
        "filter": {
          "and": [
            {
              "or": [
                {
                  "dimensions": {
                    "name": "ResourceLocation",
                    "operator": "In",
                    "values": [
                      "East US",
                      "West Europe"
                    ]
                  }
                },
                {
                  "tags": {
                    "name": "Environment",
                    "operator": "In",
                    "values": [
                      "UAT",
                      "Prod"
                    ]
                  }
                }
              ]
            },
            {
              "dimensions": {
                "name": "ResourceGroup",
                "operator": "In",
                "values": [
                  "API"
                ]
              }
            }
          ]
        },
        "granularity": "Daily"
      },
      "timeframe": "MonthToDate"
    },
    "scope": "providers/Microsoft.Billing/billingAccounts/70664866"
  },
  "responses": {
    "200": {
      "body": {
        "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
        "type": "microsoft.costmanagement/Query",
        "id": "/providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
        "properties": {
          "columns": [
            {
              "name": "PreTaxCost",
              "type": "Number"
            },
            {
              "name": "ResourceGroup",
              "type": "String"
            },
            {
              "name": "UsageDate",
              "type": "Number"
            },
            {
              "name": "Currency",
              "type": "String"
            }
          ],
          "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query?api-version=2021-10-01&$skiptoken=AQAAAA%3D%3D",
          "rows": [
            [
              19.545363672276512,
              "JapanUnifia-Trial",
              20180331,
              "USD"
            ],
            [
              173.41979241290323,
              "RVIIOT-TRIAL",
              20180331,
              "USD"
            ],
            [
              20.35941656262545,
              "VSTSHOL-1595322048000",
              20180331,
              "USD"
            ],
            [
              0.16677720329728665,
              "gs-stms-dev",
              20180331,
              "USD"
            ]
          ]
        }
      }
    },
    "204": {}
  },
  "operationId": "Query_Usage",
  "title": "BillingAccountQuery-Legacy"
}
