Skip to content
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
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,21 @@
{
"parameters": {
"privateStoreId": "a0e28e55-90c4-41d8-8e34-bb7ef7775406",
"offerId": "marketplacetestthirdparty.md-test-third-party-2",
"api-version": "2021-12-01",
"payload": {
"properties": {
"removePlans": [
"testPlanA"
],
"addPlans": null,
"acknowledge": false,
"dismiss": false,
"removeOffer": false
}
}
},
"responses": {
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"parameters": {
"privateStoreId": "a0e28e55-90c4-41d8-8e34-bb7ef7775406",
"api-version": "2021-12-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2021-02-01T10:23:17.6571572+02:00",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-02-01T10:23:17.6571572+02:00"
},
"id": "/providers/Microsoft.Marketplace/privateStores/a0e28e55-90c4-41d8-8e34-bb7ef7775406/adminRequestApprovals/marketplacetestthirdparty.md-test-third-party-2",
"name": "marketplacetestthirdparty.md-test-third-party-2",
"type": "/providers/Microsoft.Marketplace/privateStores/adminRequestApprovals",
"properties": {
"publisherId": "marketplacetestthirdparty",
"offerId": "marketplacetestthirdparty.md-test-third-party-2",
"displayName": "Offer display name",
"plans": [
{
"planId": "testA",
"planDisplayName": "Plan display name A",
"requesters": [
{
"user": "testUser3",
"date": "2021-02-01T11:42:12.9526511+02:00",
"justification": "Because I want to....",
"subscriptionId": "404a1952-706a-453a-989b-647cc4ca5f9c",
"subscriptionName": "Test subscription"
}
]
},
{
"planId": "*",
"planDisplayName": "* (this means the user requested any plan, here you will get only *)",
"requesters": [
{
"user": "testUser3",
"date": "2021-02-01T11:42:12.9526511+02:00",
"justification": "try me :)",
"subscriptionId": "4ca4753c-5a1e-4913-b849-2c68880e03c2",
"subscriptionName": "Test subscription 2"
}
]
}
],
"adminAction": "Pending",
"collectionIds": [],
"approvedPlans": null,
"comment": null,
"administrator": null
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"privateStoreId": "a0e28e55-90c4-41d8-8e34-bb7ef7775406",
"api-version": "2021-12-01"
},
"responses": {
"200": {
"body": {
"billingAccounts": [
"Billing Account 1",
"Billing Account 2"
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"privateStoreId": "a0e28e55-90c4-41d8-8e34-bb7ef7775406",
"api-version": "2021-12-01",
"payload": {
"properties": {
"collectionIds": [
"c752f021-1c37-4af5-b82f-74c51c27b44a",
"f47ef1c7-e908-4f39-ae29-db181634ad8d"
],
"action": "EnableCollections"
}
}
},
"responses": {
"200": {
"body": {
"succeeded": [
{
"collectionId": "c752f021-1c37-4af5-b82f-74c51c27b44a",
"collectionName": "Test collection"
}
],
"failed": [
{
"collectionId": "f47ef1c7-e908-4f39-ae29-db181634ad8d",
"collectionName": "Test collection 2"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"privateStoreId": "a0e28e55-90c4-41d8-8e34-bb7ef7775406",
"api-version": "2021-12-01",
"payload": {
"properties": {
"subscriptionIds": [
"b340914e-353d-453a-85fb-8f9b65b51f91",
"f2baa04d-5bfc-461b-b6d8-61b403c9ec48"
]
}
}
},
"responses": {
"200": {
"body": {
"details": {
"4eb49758-f591-486f-bd58-dff00fb7a8d8": {
"collectionName": "Test Collection",
"subscriptions": [
"b340914e-353d-453a-85fb-8f9b65b51f91",
"f2baa04d-5bfc-461b-b6d8-61b403c9ec48"
]
},
"74c02e27-2524-436c-831d-d64565f31153": {
"collectionName": "Test Collection 2",
"subscriptions": null
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"parameters": {
"privateStoreId": "a0e28e55-90c4-41d8-8e34-bb7ef7775406",
"requestApprovalId": "marketplacetestthirdparty.md-test-third-party-2",
"api-version": "2021-12-01",
"RequestApprovalResource": {
"parameters": {
"properties": {
"publisherId": "marketplacetestthirdparty",
"plansDetails": [
{
"planId": "testPlanA",
"justification": "Because I want to....",
"subscriptionId": "4ca4753c-5a1e-4913-b849-2c68880e03c2",
"subscriptionName": "Test subscription 2"
},
{
"planId": "*",
"justification": "try me :)",
"subscriptionId": "4ca4753c-5a1e-4913-b849-2c68880e03c2",
"subscriptionName": "Test subscription 2"
}
]
}
}
}
},
"responses": {
"200": {
"body": {
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"createdAt": "2021-02-01T10:23:17.6571572+02:00",
"lastModifiedAt": "2021-02-01T10:23:17.6571572+02:00"
},
"id": "/providers/Microsoft.Marketplace/privateStores/9afd3c45-5230-4d58-9469-2cacc00bba68/requestApprovals/marketplacetestthirdparty.md-test-third-party-2",
"name": "marketplacetestthirdparty.md-test-third-party-2",
"type": "Microsoft.Marketplace/privateStores/requestApprovals",
"properties": {
"offerId": "marketplacetestthirdparty.md-test-third-party-2",
"publisherId": "marketplacetestthirdparty",
"offerDisplayName": "Offer Display name",
"plansDetails": [
{
"planId": "testPlanA",
"requestDate": "2021-02-01T10:23:17.6571572+02:00",
"justification": "Because I want to....",
"status": "Pending",
"subscriptionId": "4ca4753c-5a1e-4913-b849-2c68880e03c2",
"subscriptionName": "Test subscription 2"
},
{
"planId": "*",
"requestDate": "2021-02-01T10:23:17.6571572+02:00",
"justification": "try me :)",
"status": "Pending",
"subscriptionId": "4ca4753c-5a1e-4913-b849-2c68880e03c2",
"subscriptionName": "Test subscription 2"
}
],
"isClosed": false,
"messageCode": 0
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"parameters": {
"privateStoreId": "a0e28e55-90c4-41d8-8e34-bb7ef7775406",
"collectionId": "d0f5aa2c-ecc3-4d87-906a-f8c486dcc4f1",
"api-version": "2020-01-01",
"payload": {
"properties": {
"collectionName": "Test Collection",
"claim": "",
"allSubscriptions": false,
"subscriptionsList": [
"b340914e-353d-453a-85fb-8f9b65b51f91",
"f2baa04d-5bfc-461b-b6d8-61b403c9ec48"
]
}
}
},
"responses": {
"200": {
"body": {
"id": "providers/Microsoft.Marketplace/privateStores/a0e28e55-90c4-41d8-8e34-bb7ef7775406/collections/d0f5aa2c-ecc3-4d87-906a-f8c486dcc4f1",
"type": "Microsoft.Marketplace/privateStores/collections",
"name": "d0f5aa2c-ecc3-4d87-906a-f8c486dcc4f1",
"properties": {
"collectionName": "Test Collection",
"claim": "",
"allSubscriptions": false,
"subscriptionsList": [
"b340914e-353d-453a-85fb-8f9b65b51f91",
"f2baa04d-5bfc-461b-b6d8-61b403c9ec48"
]
},
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2021-04-01T10:23:17.6571572+02:00",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-04-01T10:23:17.6571572+02:00"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"privateStoreId": "a0e28e55-90c4-41d8-8e34-bb7ef7775406",
"api-version": "2021-12-01"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"parameters": {
"privateStoreId": "a0e28e55-90c4-41d8-8e34-bb7ef7775406",
"collectionId": "d0f5aa2c-ecc3-4d87-906a-f8c486dcc4f1",
"api-version": "2020-06-01"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"privateStoreId": "a0e28e55-90c4-41d8-8e34-bb7ef7775406",
"offerId": "marketplacetestthirdparty.md-test-third-party-2",
"collectionId": "56a1a02d-8cf8-45df-bf37-d5f7120fcb3d",
"api-version": "2021-12-01"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"privateStoreId": "a0e28e55-90c4-41d8-8e34-bb7ef7775406",
"api-version": "2021-12-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/090dcec8-3415-4e13-9377-07f489cdfeed",
"subscriptionId": "090dcec8-3415-4e13-9377-07f489cdfeed",
"displayName": "Test subscription",
"state": "Enabled"
}
],
"count": 1
}
}
}
}
Loading