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

Billing RP spec changes for GTM FieldLed-Go-Big #6661

Merged
merged 33 commits into from
Aug 6, 2019
Merged
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
563a6ee
Added spec for Recurring charges api
asarkar84 Jun 18, 2019
43140c4
Renamed recurring charges to recurring products
asarkar84 Jun 19, 2019
03a7147
Updated the billing frequency type to string
asarkar84 Jun 19, 2019
57717d9
Merge remote-tracking branch 'upstream/master'
asarkar84 Jul 18, 2019
967bc13
Billing RP spec changes for GTM FieldLed-Go-Big
asarkar84 Jul 18, 2019
b284504
Rolled back the changes in 2018-11-01-preview version
asarkar84 Jul 18, 2019
d091ef6
Fixed build errors
asarkar84 Jul 18, 2019
3389cad
Fixed build error
asarkar84 Jul 18, 2019
d03bdfd
Fixed build errors
asarkar84 Jul 18, 2019
12a3f4c
Update billing.json
asarkar84 Jul 18, 2019
0a3d64e
Updated policy properties
asarkar84 Jul 19, 2019
aa563c5
Incorporated review comments
asarkar84 Jul 19, 2019
0675925
Incorporated review comments
asarkar84 Jul 22, 2019
cf675f3
Updated autorenew request params
asarkar84 Jul 22, 2019
f192330
Updated types for payment methods and available balance
asarkar84 Jul 23, 2019
c018eb9
Updated invoice section list examples
asarkar84 Jul 23, 2019
ec62a59
Updated pricesheet download path
asarkar84 Jul 24, 2019
9f20843
Updated type for Invoice and Policy
asarkar84 Jul 24, 2019
fb43af7
Changing AgreementType->Legacy to MicrosoftOnlineServicesProgram
asarkar84 Jul 24, 2019
3a4c4f0
Added Pricesheet download by BillingProfileName
asarkar84 Jul 25, 2019
5275e24
Fixed few errors
asarkar84 Jul 25, 2019
09d2117
Updated transaction api examples
asarkar84 Jul 27, 2019
18ddcc3
Updated namespace for agreements
asarkar84 Aug 1, 2019
1790ba7
Incorporated review coments
asarkar84 Aug 2, 2019
d0721dd
Incorporated review comments
asarkar84 Aug 2, 2019
c61229b
Incorporated review comments
asarkar84 Aug 2, 2019
c16ee5e
Incorporated review comments
asarkar84 Aug 2, 2019
5091b5f
Fixed build errors
asarkar84 Aug 3, 2019
3559e48
Fixed build errors
asarkar84 Aug 3, 2019
a30934c
Updated BillingRoleAssignments actions
asarkar84 Aug 3, 2019
09cbd07
Added Transfer apis for partner led
asarkar84 Aug 3, 2019
be18185
Removing listInvoiceSectionsWithCreateSubscriptionPermission
asarkar84 Aug 3, 2019
1527d6f
Removed unused property, billing profile id is not required in the re…
asarkar84 Aug 5, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"parameters": {
"api-version": "2019-10-01-preview",
"transferName": "transferName",
"parameters": {
"properties": {
"productDetails": [
{
"productType": "AzureSubscription",
"productId": "subscriptionId"
},
{
"productType": "AzureReservation",
"productId": "reservedInstanceId"
}
]
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"creationTime": "2018-10-10T17:32:28Z",
"expirationTime": "2018-11-05T17:32:28Z",
"transferStatus": "InProgress",
"recipientEmailId": "user@contoso.com",
"initiatorEmailId": "xyz@contoso.com",
"lastModifiedTime": "2018-10-10T17:32:28Z",
"detailedTransferStatus": [
{
"productType": "AzureSubscription",
"productId": "subscriptionId",
"transferStatus": "InProgress"
},
{
"productType": "AzureReservation",
"productId": "reservedInstanceId",
"transferStatus": "InProgress"
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"parameters": {
"api-version": "2019-10-01-preview",
"billingAccountName": "{billingAccountName}",
"parameters": {
"principalId": "00000000-0000-0000-0000-000000000000",
"billingRoleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/providers/Microsoft.Billing/billingRoleDefinition/10000000-aaaa-bbbb-cccc-100000000000"
}
},
"responses": {
"201": {
"body": {
"value": [
{
"id": "10000000-aaaa-bbbb-cccc-100000000000_00000000-0000-0000-0000-000000000000",
"name": "10000000-aaaa-bbbb-cccc-100000000000_00000000-0000-0000-0000-000000000000",
"properties": {
"createdOn": "2018-06-21T21:34:12.2363515+00:00",
"createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f",
"createdByPrincipalId": "",
"name": "10000000-aaaa-bbbb-cccc-100000000000_00000000-0000-0000-0000-000000000000",
"principalId": "00000000-0000-0000-0000-000000000000",
"scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}"
},
"type": "Microsoft.Billing/billingRoleAssignments"
},
{
"id": "10000000-aaaa-bbbb-cccc-100000000000_b1839933-b3ac-42ca-8112-d29c43f3ab47",
"name": "10000000-aaaa-bbbb-cccc-100000000000_b1839933-b3ac-42ca-8112-d29c43f3ab47",
"properties": {
"createdOn": "2018-06-21T21:58:19.9073876+00:00",
"createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f",
"createdByPrincipalId": "46b831ec-42b2-4f1a-8b54-3fd5ff9d6aa1",
"name": "10000000-aaaa-bbbb-cccc-100000000000_b1839933-b3ac-42ca-8112-d29c43f3ab47",
"principalId": "b1839933-b3ac-42ca-8112-d29c43f3ab47",
"scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}"
},
"type": "Microsoft.Billing/billingRoleAssignments"
},
{
"id": "10000000-aaaa-bbbb-cccc-100000000002_129db794-64a5-44e0-9838-002780478959",
"name": "10000000-aaaa-bbbb-cccc-100000000002_129db794-64a5-44e0-9838-002780478959",
"properties": {
"createdOn": "2018-06-22T06:03:51.430844+00:00",
"createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f",
"createdByPrincipalId": "b1839933-b3ac-42ca-8112-d29c43f3ab47",
"name": "10000000-aaaa-bbbb-cccc-100000000002_129db794-64a5-44e0-9838-002780478959",
"principalId": "129db794-64a5-44e0-9838-002780478959",
"scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}"
},
"type": "Microsoft.Billing/billingRoleAssignments"
},
{
"id": "10000000-aaaa-bbbb-cccc-100000000001_d7b03fbc-ecd9-49b8-8e38-285b75eaa8f7",
"name": "10000000-aaaa-bbbb-cccc-100000000001_d7b03fbc-ecd9-49b8-8e38-285b75eaa8f7",
"properties": {
"createdOn": "2018-07-06T05:52:57.1463874+00:00",
"createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f",
"createdByPrincipalId": "b1839933-b3ac-42ca-8112-d29c43f3ab47",
"name": "10000000-aaaa-bbbb-cccc-100000000001_d7b03fbc-ecd9-49b8-8e38-285b75eaa8f7",
"principalId": "d7b03fbc-ecd9-49b8-8e38-285b75eaa8f7",
"scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}"
},
"type": "Microsoft.Billing/billingRoleAssignments"
},
{
"id": "10000000-aaaa-bbbb-cccc-100000000000_c4f54fd2-d920-4c49-9b4d-9f09387b881c",
"name": "10000000-aaaa-bbbb-cccc-100000000000_c4f54fd2-d920-4c49-9b4d-9f09387b881c",
"properties": {
"createdOn": "2018-07-10T22:04:33.8309285+00:00",
"createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f",
"createdByPrincipalId": "b1839933-b3ac-42ca-8112-d29c43f3ab47",
"name": "10000000-aaaa-bbbb-cccc-100000000000_c4f54fd2-d920-4c49-9b4d-9f09387b881c",
"principalId": "c4f54fd2-d920-4c49-9b4d-9f09387b881c",
"scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}"
},
"type": "Microsoft.Billing/billingRoleAssignments"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"api-version": "2019-10-01-preview",
"billingAccountName": "{billingAccountName}",
"billingProfileName": "{billingProfileName}",
"parameters": {
"principalId": "00000000-0000-0000-0000-000000000000",
"billingRoleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/providers/Microsoft.Billing/billingRoleDefinition/10000000-aaaa-bbbb-cccc-100000000000"
}
},
"responses": {
"201": {
"body": {
"value": [
{
"id": "10000000-aaaa-bbbb-cccc-100000000000_00000000-0000-0000-0000-000000000000",
"name": "10000000-aaaa-bbbb-cccc-100000000000_00000000-0000-0000-0000-000000000000",
"properties": {
"createdOn": "2018-06-21T21:34:12.2363515+00:00",
"createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f",
"createdByPrincipalId": "",
"name": "10000000-aaaa-bbbb-cccc-100000000000_00000000-0000-0000-0000-000000000000",
"principalId": "00000000-0000-0000-0000-000000000000",
"scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}"
},
"type": "Microsoft.Billing/billingRoleAssignments"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"api-version": "2019-10-01-preview",
"billingAccountName": "{billingAccountName}",
"billingProfileName": "{billingProfileName}",
"invoiceSectionName": "{invoiceSectionName}",
"parameters": {
"principalId": "00000000-0000-0000-0000-000000000000",
"billingRoleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Billing/billingRoleDefinition/10000000-aaaa-bbbb-cccc-100000000000"
}
},
"responses": {
"201": {
"body": {
"value": [
{
"id": "10000000-aaaa-bbbb-cccc-100000000000_00000000-0000-0000-0000-000000000000",
"name": "10000000-aaaa-bbbb-cccc-100000000000_00000000-0000-0000-0000-000000000000",
"properties": {
"createdOn": "2018-06-21T21:34:12.2363515+00:00",
"createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f",
"createdByPrincipalId": "",
"name": "10000000-aaaa-bbbb-cccc-100000000000_00000000-0000-0000-0000-000000000000",
"principalId": "00000000-0000-0000-0000-000000000000",
"scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}"
},
"type": "Microsoft.Billing/billingRoleAssignments"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parameters": {
"api-version": "2019-10-01-preview",
"address": {
"addressLine1": "55 110th Ave NE",
"city": "bellevue",
"region": "wa",
"postalCode": "98004",
"country": "us"
}
},
"responses": {
"200": {
"body": {
"status": "Invalid",
"suggestedAddresses": [
{
"country": "US",
"region": "WA",
"city": "Bellevue",
"addressLine1": "100 110th Ave NE",
"postalCode": "98004"
},
{
"country": "US",
"region": "WA",
"city": "Bellevue",
"addressLine1": "102 110th Ave NE",
"postalCode": "98004-5804"
},
{
"country": "US",
"region": "WA",
"city": "Bellevue",
"addressLine1": "104 110th Ave NE",
"postalCode": "98004-5804"
}
],
"validationMessage": "Invalid address"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"api-version": "2019-10-01-preview",
"address": {
"addressLine1": "555 110th Ave NE",
"city": "bellevue",
"region": "wa",
"postalCode": "98004",
"country": "us"
}
},
"responses": {
"200": {
"body": {
"status": "Valid",
"suggestedAddresses": [
{
"country": "US",
"region": "WA",
"city": "Bellevue",
"addressLine1": "555 110th Ave NE",
"postalCode": "98004-5124"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"api-version": "2019-10-01-preview",
"billingAccountName": "{billingAccountName}",
"agreementName": "{agreementName}"
},
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/agreements/{agreementName}",
"name": "{agreementName}",
"type": "Microsoft.Billing/billingAccounts/agreements",
"properties": {
"agreementLink": "https://agreementuri1.com",
"effectiveDate": "2018-12-05T00:00:00Z",
"expirationDate": "2018-12-05T00:00:00Z",
"participants": [
{
"status": "Accepted",
"statusDate": "2018-11-01T00:00:00Z",
"email": "abc@contoso.com"
},
{
"status": "Declined",
"statusDate": "2018-11-02T00:00:00Z",
"email": "xyz@contoso.com"
}
],
"status": "Published"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"parameters": {
"api-version": "2019-10-01-preview",
"billingAccountName": "{billingAccountName}"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/agreements/Agreement1",
"name": "Agreement1",
"type": "Microsoft.Billing/billingAccounts/agreements",
"properties": {
"agreementLink": "https://agreementuri1.com",
"effectiveDate": "2018-12-05T00:00:00Z",
"expirationDate": "2018-12-05T00:00:00Z",
"participants": [
{
"status": "Accepted",
"statusDate": "2018-11-01T00:00:00Z",
"email": "abc@contoso.com"
},
{
"status": "Declined",
"statusDate": "2018-11-02T00:00:00Z",
"email": "xtz@contoso.com"
}
],
"status": "Published"
}
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/agreements/Agreement2",
"name": "Agreement2",
"type": "Microsoft.Billing/billingAccounts/agreements",
"properties": {
"agreementLink": "https://agreementuri2.com",
"effectiveDate": "2018-12-05T00:00:00Z",
"expirationDate": "2018-12-05T00:00:00Z",
"participants": [
{
"status": "Unknown",
"statusDate": "2018-11-01T00:00:00Z",
"email": "abc@contoso.com"
}
],
"status": "PendingSignature"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"api-version": "2019-10-01-preview",
"billingAccountName": "{billingAccountName}",
"billingProfileName": "{billingProfileName}"
},
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/availableBalance/default",
"name": "default",
"type": "Microsoft.Billing/billingAccounts/billingProfiles/availableBalance",
"properties": {
"amount": {
"currency": "USD",
"value": 500.00
}
}
}
}
}
}
Loading