Azure Cost Management · Example Payload

Markuprulescreateorupdate

Cost ManagementFinOpsCloud CostBillingBudgetsExportCost AnalysisForecastingChargebacksFocusAzureReservations

Markuprulescreateorupdate 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

operationIdtitleparametersresponses

Example Payload

Raw ↑
{
  "operationId": "MarkupRules_CreateOrUpdate",
  "title": "MarkupRulesCreateOrUpdate",
  "parameters": {
    "api-version": "2026-06-01",
    "billingAccountId": "2af90bea-080c-438c-8977-17cddd5f115a:ef5ce3cf-f5af-4fcb-a5ed-c376e1d6d2b6",
    "billingProfileId": "cbf78278-f4b8-43d9-8f13-47112da1c63e",
    "ruleName": "markup-2022",
    "resource": {
      "properties": {
        "description": "Markup rule for year 2022",
        "percentage": 5.0,
        "startDate": "2022-01-01T00:00:00Z",
        "endDate": "2022-12-31T00:00:00Z",
        "customerDetails": {
          "billingAccountId": "cff9aa6d-941c-43f2-b6cb-1d2bb34a02b4:780237f3-1aa6-4159-943b-498e0d647dd9",
          "billingProfileId": "08eeecee-efb2-40d5-817c-0a254d2e042c"
        }
      }
    }
  },
  "responses": {
    "200": {
      "body": {
        "id": "/providers/Microsoft.Billing/billingAccounts/2af90bea-080c-438c-8977-17cddd5f115a:ef5ce3cf-f5af-4fcb-a5ed-c376e1d6d2b6/billingProfiles/cbf78278-f4b8-43d9-8f13-47112da1c63e/providers/Microsoft.CostManagement/markupRules/markup-2022",
        "name": "markup-2022",
        "type": "Microsoft.CostManagement/markupRules",
        "properties": {
          "description": "Markup rule for year 2022",
          "percentage": 5.0,
          "startDate": "2022-01-01T00:00:00Z",
          "endDate": "2022-12-31T00:00:00Z",
          "customerDetails": {
            "billingAccountId": "cff9aa6d-941c-43f2-b6cb-1d2bb34a02b4:780237f3-1aa6-4159-943b-498e0d647dd9",
            "billingProfileId": "08eeecee-efb2-40d5-817c-0a254d2e042c"
          }
        },
        "systemData": {
          "createdAt": "2020-06-18T22:21:51.1287144Z",
          "createdBy": "testuser",
          "createdByType": "User",
          "lastModifiedAt": "2020-06-18T22:21:51.1287144Z",
          "lastModifiedBy": "testuser",
          "lastModifiedByType": "User"
        }
      }
    },
    "201": {
      "body": {
        "id": "/providers/Microsoft.Billing/billingAccounts/2af90bea-080c-438c-8977-17cddd5f115a:ef5ce3cf-f5af-4fcb-a5ed-c376e1d6d2b6/billingProfiles/cbf78278-f4b8-43d9-8f13-47112da1c63e/providers/Microsoft.CostManagement/markupRules/markup-2022",
        "name": "markup-2022",
        "type": "Microsoft.CostManagement/markupRules",
        "properties": {
          "description": "Markup rule for year 2022",
          "percentage": 5.0,
          "startDate": "2022-01-01T00:00:00Z",
          "endDate": "2022-12-31T00:00:00Z",
          "customerDetails": {
            "billingAccountId": "cff9aa6d-941c-43f2-b6cb-1d2bb34a02b4:780237f3-1aa6-4159-943b-498e0d647dd9",
            "billingProfileId": "08eeecee-efb2-40d5-817c-0a254d2e042c"
          }
        },
        "systemData": {
          "createdAt": "2020-06-18T22:21:51.1287144Z",
          "createdBy": "testuser",
          "createdByType": "User",
          "lastModifiedAt": "2020-06-18T22:21:51.1287144Z",
          "lastModifiedBy": "testuser",
          "lastModifiedByType": "User"
        }
      }
    }
  }
}

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/MarkupRulesCreateOrUpdate"
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.