Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Review request for Microsoft.Billing to add version 2018-11-01-preview #5486

Merged
Original file line number Diff line number Diff line change
Expand Up @@ -421,19 +421,6 @@
"$ref": "#/definitions/InvoiceSectionListResult"
}
},
"202": {
"description": "Accepted. InvoiceSection creation is in progress.",
"headers": {
"Location": {
"description": "GET this URL to retrieve the status of the asynchronous operation.",
"type": "string"
},
"Retry-After": {
"description": "The amount of delay to use while the status of the operation is checked. The value is expressed in seconds.",
"type": "string"
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -504,6 +491,45 @@
}
}
},
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections": {
"get": {
"tags": [
"InvoiceSections"
],
"x-ms-examples": {
"InvoiceSectionsListByBillingProfileName": {
"$ref": "./examples/InvoiceSectionsListByBillingProfileName.json"
}
},
"operationId": "InvoiceSectionsByBillingProfileName_List",
wilcobmsft marked this conversation as resolved.
Show resolved Hide resolved
"description": "Lists all invoice sections under a billing profile for a user which he has access to.",
"parameters": [
{
"$ref": "#/parameters/apiVersionParameter"
},
{
"$ref": "#/parameters/billingAccountNameParameter"
},
{
"$ref": "#/parameters/billingProfileNameParameter"
}
],
"responses": {
"200": {
"description": "OK. The request has succeeded.",
"schema": {
"$ref": "#/definitions/InvoiceSectionListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
},
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/listInvoiceSectionsWithCreateSubscriptionPermission": {
"get": {
"tags": [
Expand Down Expand Up @@ -541,19 +567,6 @@
"$ref": "#/definitions/InvoiceSectionListResult"
}
},
"202": {
"description": "Accepted. InvoiceSection creation is in progress.",
"headers": {
"Location": {
"description": "GET this URL to retrieve the status of the asynchronous operation.",
"type": "string"
},
"Retry-After": {
"description": "The amount of delay to use while the status of the operation is checked. The value is expressed in seconds.",
"type": "string"
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -1898,6 +1911,36 @@
}
}
},
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/elevate": {
"post": {
"description": "Elevates the caller's access to match their billing profile access.",
"operationId": "BillingProfileInvoiceSection_Elevate",
wilcobmsft marked this conversation as resolved.
Show resolved Hide resolved
"x-ms-examples": {
"Elevate": {
"$ref": "./examples/ElevateInvoiceSection.json"
}
},
"parameters": [
{
"$ref": "#/parameters/billingAccountNameParameter"
},
{
"$ref": "#/parameters/invoiceSectionNameParameter"
}
],
"responses": {
"204": {
"description": "Elevated the caller's access to the invoice section."
},
"default": {
"description": "Unexpected error.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
},
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/initiateTransfer": {
"post": {
"description": "Initiates the request to transfer the GTM or legacy subscriptions or RIs to GTM.",
Expand All @@ -1918,9 +1961,6 @@
"$ref": "#/parameters/initiateTransferRequestParameter"
}
],
"tags": [
"AIPController"
],
"responses": {
"200": {
"description": "Initiated transfer details.",
Expand Down Expand Up @@ -1957,9 +1997,6 @@
"$ref": "#/parameters/transferNameParameter"
}
],
"tags": [
"AIPController"
],
"responses": {
"200": {
"description": "Details of transfer.",
Expand Down Expand Up @@ -1994,9 +2031,6 @@
"$ref": "#/parameters/transferNameParameter"
}
],
"tags": [
"AIPController"
],
"responses": {
"200": {
"description": "Details of canceled transfer.",
Expand Down Expand Up @@ -2030,9 +2064,6 @@
"$ref": "#/parameters/invoiceSectionNameParameter"
}
],
"tags": [
"AIPController"
],
"responses": {
"200": {
"description": "List of transfers initiated from this invoice section.",
Expand Down Expand Up @@ -2069,9 +2100,6 @@
"$ref": "#/parameters/acceptTransferRequestParameter"
}
],
"tags": [
"AIPController"
],
"responses": {
"200": {
"description": "Details of the accepted transfer.",
Expand Down Expand Up @@ -2102,9 +2130,6 @@
"$ref": "#/parameters/transferNameParameter"
}
],
"tags": [
"AIPController"
],
"responses": {
"200": {
"description": "Details of the declined transfer.",
Expand Down Expand Up @@ -2135,9 +2160,6 @@
"$ref": "#/parameters/transferNameParameter"
}
],
"tags": [
"AIPController"
],
"responses": {
"200": {
"description": "Details of the transfers with given Id.",
Expand All @@ -2163,9 +2185,6 @@
"$ref": "./examples/ListRecipientTransfers.json"
}
},
"tags": [
"AIPController"
],
"responses": {
"200": {
"description": "List of transfers received by caller.",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"api-version": "2018-08-01-preview",
"billingAccountName": "billingAccountName",
"invoiceSectionName": "invoiceSectionName"
},

"responses": {
"204": {
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
"billingAccountName": "billingAccountName",
"billingProfileName": "billingProfileName"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/invoiceSectionId1",
"name": "invoiceSectionId1",
"type": "Microsoft.Billing/invoiceSections",
"properties": {
"displayName": "invoiceSectionName1"
}
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/invoiceSectionId2",
"name": "invoiceSectionId2",
"type": "Microsoft.Billing/invoiceSections",
"properties": {
"displayName": "invoiceSectionName2"
}
}
]
}
}
}
}