Skip to content

Commit

Permalink
Adding Billing Activity Event Category changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hanegi committed Oct 16, 2020
1 parent 287d2ad commit 10cbd7b
Show file tree
Hide file tree
Showing 2 changed files with 142 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,45 @@
}
}
},
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingActivityEventCategory": {
"get": {
"tags": [
"BillingActivity"
],
"x-ms-examples": {
"BillingActivityEventCategory": {
"$ref": "./examples/BillingActivityEventCategory.json"
}
},
"operationId": "BillingActivityTypesList_Get",
"description": "Gets billing activity types at enrollment scope.",
"parameters": [
{
"$ref": "#/parameters/apiVersionParameter"
},
{
"$ref": "#/parameters/billingAccountNameParameter"
}
],
"responses": {
"200": {
"description": "OK. The request has succeeded.",
"schema": {
"$ref": "#/definitions/BillingActivityEventCategoryListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/listInvoiceSectionsWithCreateSubscriptionPermission": {
"post": {
"tags": [
Expand Down Expand Up @@ -5737,6 +5776,67 @@
}
}
},
"BillingActivityEventCategoryListResult": {
"description": "The list of activity categories.",
"properties": {
"value": {
"description": "The list of activity categories.",
"type": "array",
"readOnly": true,
"items": {
"$ref": "#/definitions/BillingActivityEventCategory"
}
},
"nextLink": {
"description": "The link (url) to the next page of results.",
"type": "string",
"readOnly": true
}
}
},
"BillingActivityEventCategory": {
"description": "The properties of an activity event category.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Resource"
}
],
"properties": {
"properties": {
"description": "The properties of an activity event category.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/BillingActivityEventCategoryProperties"
}
}
},
"BillingActivityEventCategoryProperties": {
"description": "The properties of an activity event category.",
"properties": {
"name": {
"description": "The event category name",
"type": "string",
"readOnly": true
},
"relatedProperties": {
"description": "The related specific properties for an event.",
"type": "array",
"items": {
"$ref": "#/definitions/BillingActivityEventProperties"
}
}
}
},
"BillingActivityEventProperties": {
"description": "The additional specific properties for an event.",
"properties": {
"name": {
"description": "Name of the additional property for an event.",
"type": "string",
"readOnly": true
}
}
},
"CustomerListResult": {
"description": "The list of customers.",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"api-version": "2019-10-01-preview",
"billingAccountName": "{billingAccountName}"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/7303440/billingActivityEventCategoryListResult",
"name": "7303440",
"properties": {
"name": "ManageAccountAdd",
"relatedProperties": [
"AccountAuthType",
"AccountCostCenter",
"AccountName"
]
},
"type": "Microsoft.Billing/billingAccounts/billingActivityEventCategory"
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/7303440/billingActivityEventCategoryListResult",
"name": "7303440",
"properties": {
"name": "EaPortalPurchaseOrderNumberUpdate",
"relatedProperties": [
"DocumentId",
"InvoiceId",
"PurchaseOrderNumber",
"BillingPeriodStartDate",
"BillingPeriodEndDate"
]
},
"type": "Microsoft.Billing/billingAccounts/billingActivityEventCategory"
}
]
}
}
}
}

0 comments on commit 10cbd7b

Please sign in to comment.