You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/marketplace/cloud-partner-portal/saas-app/cpp-saas-fulfillment-api-v2.md
+28-13Lines changed: 28 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,7 +114,7 @@ Resolves the opaque token to a SaaS subscription.<br>
114
114
```json
115
115
Response body:
116
116
{
117
-
"subscriptionId": "<guid>",
117
+
"id": "<guid>",
118
118
"subscriptionName": "Contoso Cloud Solution",
119
119
"offerId": "offer1",
120
120
"planId": "silver",
@@ -365,8 +365,7 @@ Internal Server Error<br>
365
365
366
366
```json
367
367
{
368
-
"planId": "gold",
369
-
"quantity": ""
368
+
"planId": "gold"
370
369
}
371
370
```
372
371
@@ -450,6 +449,9 @@ Bad request- Validation failures.
450
449
Code: 403<br>
451
450
Unauthorized. The auth token wasn't provided, is invalid, or the request is attempting to access an acquisition that doesn’t belong to the current publisher.
452
451
452
+
Code: 409<br>
453
+
Another operation is in progress on the resource. Wait for pending operations to complete then try again.
454
+
453
455
Code: 500<br>
454
456
Internal Server Error
455
457
@@ -516,6 +518,9 @@ Bad request- Validation failures.
516
518
Code: 403<br>
517
519
Unauthorized. The auth token wasn't provided, is invalid, or the request is attempting to access an acquisition that doesn’t belong to the current publisher.
518
520
521
+
Code: 409<br>
522
+
Another operation is in progress on the resource. Wait for pending operations to complete then try again.
523
+
519
524
Code: 500<br>
520
525
Internal Server Error
521
526
@@ -780,15 +785,16 @@ The publisher must implement a webhook in this SaaS service to proactively notif
780
785
781
786
```json
782
787
{
783
-
"operationId": "<guid>",
784
-
"activityId": "<guid>",
785
-
"subscriptionId":"<guid>",
786
-
"offerId": "offer1",
787
-
"publisherId": "contoso",
788
-
"planId": "silver",
789
-
"quantity": "20" ,
790
-
"action": "Subscribe",
791
-
"timeStamp": "2018-12-01T00:00:00"
788
+
"id": "<this is a Guid operation id, you can call operations API with this to get status>",
789
+
"activityId": "<this is a Guid correlation id>",
790
+
"subscriptionId": "<Guid to uniquely identify this resource>",
791
+
"publisherId": "<this is the publisher’s name>",
792
+
"offerId": "<this is the offer name>",
793
+
"planId": "<this is the plan id>",
794
+
"quantity": "<the number of seats, will be null if not per-seat saas offer>",
795
+
"timeStamp": "2019-04-15T20:17:31.7350641Z",
796
+
"action": "Unsubscribe",
797
+
"status": "NotStarted"
792
798
}
793
799
794
800
Where action can be one of these:
@@ -797,7 +803,16 @@ Where action can be one of these:
797
803
ChangePlan, (When the change plan operation has completed)
798
804
ChangeQuantity, (When the change quantity operation has completed),
799
805
Suspend, (When resource has been suspended)
800
-
Reinstate, (When resource has been reinstated after suspension)
806
+
Reinstate, (When resource has been reinstated after suspension),
0 commit comments