Azure Cost Management · Example Payload

Mcainvoicesectionquerygrouping

Cost ManagementFinOpsCloud CostBillingBudgetsExportCost AnalysisForecastingChargebacksFocusAzureReservations

Mcainvoicesectionquerygrouping is an example object payload from Azure Cost Management, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

parametersresponsesoperationIdtitle

Example Payload

Raw ↑
{
  "parameters": {
    "api-version": "2026-06-01",
    "billingAccountId": "12345:6789",
    "billingProfileId": "13579",
    "invoiceSectionId": "9876",
    "parameters": {
      "type": "Usage",
      "dataset": {
        "aggregation": {
          "totalCost": {
            "name": "PreTaxCost",
            "function": "Sum"
          }
        },
        "granularity": "None",
        "grouping": [
          {
            "name": "ResourceGroup",
            "type": "Dimension"
          }
        ]
      },
      "timeframe": "TheLastMonth"
    },
    "scope": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876"
  },
  "responses": {
    "200": {
      "body": {
        "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
        "type": "microsoft.costmanagement/Query",
        "id": "/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
        "properties": {
          "columns": [
            {
              "name": "PreTaxCost",
              "type": "Number"
            },
            {
              "name": "ResourceGroup",
              "type": "String"
            },
            {
              "name": "Currency",
              "type": "String"
            }
          ],
          "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Query?api-version=2021-10-01&$skiptoken=AQAAAA%3D%3D",
          "rows": [
            [
              19.545363672276512,
              "JapanUnifia-Trial",
              "USD"
            ],
            [
              173.41979241290323,
              "RVIIOT-TRIAL",
              "USD"
            ],
            [
              20.35941656262545,
              "VSTSHOL-1595322048000",
              "USD"
            ]
          ]
        }
      }
    },
    "204": {}
  },
  "operationId": "Query_Usage",
  "title": "InvoiceSectionQueryGrouping-MCA"
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/MCAInvoiceSectionQueryGrouping"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.