{
  "parameters": {
    "api-version": "2026-06-01",
    "billingAccountId": "12",
    "departmentId": "1234",
    "exportName": "TestExport",
    "scope": "providers/Microsoft.Billing/billingAccounts/12/departments/1234"
  },
  "responses": {
    "200": {
      "body": {
        "name": "TestExport",
        "type": "Microsoft.CostManagement/exports",
        "eTag": "\"00000000-0000-0000-0000-000000000000\"",
        "id": "/providers/Microsoft.Billing/billingAccounts/12/departments/1234/providers/Microsoft.CostManagement/exports/TestExport",
        "identity": {
          "type": "SystemAssigned",
          "principalId": "00000000-0000-0000-0000-000000000000",
          "tenantId": "00000000-0000-0000-0000-000000000000"
        },
        "location": "centralus",
        "properties": {
          "format": "Csv",
          "compressionMode": "gzip",
          "dataOverwriteBehavior": "OverwritePreviousReport",
          "definition": {
            "type": "ActualCost",
            "dataSet": {
              "configuration": {
                "dataVersion": "2023-05-01"
              },
              "granularity": "Daily"
            },
            "timePeriod": {
              "from": "2020-06-01T00:00:00Z",
              "to": "2020-06-30T00:00:00Z"
            },
            "timeframe": "Custom"
          },
          "deliveryInfo": {
            "destination": {
              "container": "exports",
              "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
              "rootFolderPath": "ad-hoc"
            }
          },
          "exportDescription": "This is a test export.",
          "partitionData": true
        }
      }
    }
  },
  "operationId": "Exports_Get",
  "title": "ExportGetByDepartment"
}
