-
Notifications
You must be signed in to change notification settings - Fork 5k
/
CreateApprovalRequest.json
70 lines (70 loc) · 2.5 KB
/
CreateApprovalRequest.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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": "user@somedoamin.com",
"createdByType": "User",
"lastModifiedBy": "user@somedoamin.com",
"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
}
}
}
}
}