-
Notifications
You must be signed in to change notification settings - Fork 5.6k
GTM billing api for getting reservation Transactions by invoice section. #5475
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
Changes from all commits
edc89ed
8975935
ed5299b
db6a90f
c0cb8dc
da348c1
6ce40a3
8aac196
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -113,9 +113,6 @@ | |
| }, | ||
| "BillingAccountWithExpand": { | ||
| "$ref": "./examples/BillingAccountWithExpand.json" | ||
| }, | ||
| "BillingAccountsListWithExpandForEnrollmentDetails": { | ||
| "$ref": "./examples/BillingAccountsListWithExpandForEnrollmentDetails.json" | ||
| } | ||
| }, | ||
| "operationId": "BillingAccounts_Get", | ||
|
|
@@ -421,19 +418,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": { | ||
|
|
@@ -541,19 +525,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": { | ||
|
|
@@ -1623,7 +1594,7 @@ | |
| "tags": [ | ||
| "Transactions" | ||
| ], | ||
| "operationId": "TransactionsByBillingProfile", | ||
| "operationId": "TransactionsByBillingProfile_List", | ||
| "description": "Lists the transactions by billingProfileName for given start date and end date.", | ||
| "externalDocs": { | ||
| "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" | ||
|
|
@@ -1684,6 +1655,72 @@ | |
| } | ||
| } | ||
| }, | ||
| "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/transactions": { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I noticed that this doesn't have a corresponding GET for a single transaction. I'm also noticing the same pattern on all the other ones that was already approved, so I can't really block based on that. However, this is a violation of the Resource Provider Contract. Can we get that fixed? |
||
| "get": { | ||
| "tags": [ | ||
| "Transactions" | ||
| ], | ||
| "operationId": "TransactionsByInvoiceSection_List", | ||
| "description": "Lists the transactions by invoiceSectionName for given start date and end date.", | ||
| "externalDocs": { | ||
| "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" | ||
| }, | ||
| "x-ms-examples": { | ||
| "TransactionsListByInvoiceSection": { | ||
| "$ref": "./examples/TransactionsListByInvoiceSection.json" | ||
| }, | ||
| "ReservationTransactionsListByInvoiceSection": { | ||
| "$ref": "./examples/ReservationTransactionsListByInvoiceSection.json" | ||
| } | ||
| }, | ||
| "parameters": [ | ||
| { | ||
| "$ref": "#/parameters/billingAccountNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "#/parameters/invoiceSectionNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "#/parameters/apiVersionParameter" | ||
| }, | ||
| { | ||
| "name": "startDate", | ||
| "in": "query", | ||
| "description": "Start date", | ||
| "required": true, | ||
| "type": "string" | ||
| }, | ||
| { | ||
| "name": "endDate", | ||
| "in": "query", | ||
| "description": "End date", | ||
| "required": true, | ||
| "type": "string" | ||
| }, | ||
| { | ||
| "name": "$filter", | ||
| "description": "May be used to filter by transaction kind. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).", | ||
| "in": "query", | ||
| "required": false, | ||
| "type": "string" | ||
| } | ||
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "OK. The request has succeeded.", | ||
| "schema": { | ||
| "$ref": "#/definitions/TransactionsListResult" | ||
| } | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "#/definitions/ErrorResponse" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/policies/default": { | ||
| "get": { | ||
| "tags": [ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,21 +21,13 @@ | |
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/providers/Microsoft.Billing/transfers/transferName", | ||
| "type": "Microsoft.Billing/transfers", | ||
| "name": "transferName", | ||
| "properties": { | ||
| "creationTime": "10/10/2018 9:40:01 PM", | ||
| "expirationTime": "11/5/2018 4:47:08 AM", | ||
| "allowedSubscriptionType": [ | ||
| "DevTestAzureSubscription", | ||
| "StandardAzureSubscription", | ||
| "AzureReservation" | ||
| ], | ||
| "creationTime": "2018-10-10T17:32:28Z", | ||
| "expirationTime": "2018-11-05T17:32:28Z", | ||
| "transferStatus": "InProgress", | ||
| "recipientEmailId": "[email protected]", | ||
| "initiatorEmailId": "[email protected]", | ||
| "lastModifiedTime": "10/10/2018 9:45:01 PM", | ||
| "lastModifiedTime": "2018-10-10T17:32:28Z", | ||
msft-adrianma marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "detailedTransferStatus": [ | ||
| { | ||
| "productType": "AzureSubscription", | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.