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
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -798,21 +798,21 @@ The publisher must implement a webhook in this SaaS service to proactively notif
798
798
```
799
799
800
800
Where action can be one of these:
801
-
- `Subscribe` (When the resource has been activated)
802
-
- `Unsubscribe` (When the resource has been deleted)
803
-
- `ChangePlan` (When the change plan operation has completed)
804
-
- `ChangeQuantity` (When the change quantity operation has completed)
805
-
- `Suspend` (When the resource has been suspended)
806
-
- `Reinstate` (When resource has been reinstated after suspension)
807
-
- `Renew` (When a resource subscription is renewed)
801
+
- `Subscribe`, (When the resource has been activated)
802
+
- `Unsubscribe`, (When the resource has been deleted)
803
+
- `ChangePlan`, (When the change plan operation has completed)
804
+
- `ChangeQuantity`, (When the change quantity operation has completed),
805
+
- `Suspend`, (When resource has been suspended)
806
+
- `Reinstate`, (When resource has been reinstated after suspension)
808
807
809
808
Where status can be one of these: <br>
810
-
NotStarted, <br>
811
-
InProgress, <br>
812
-
Succeeded, <br>
813
-
Failed, <br>
814
-
Conflict <br>
809
+
- NotStarted, <br>
810
+
- InProgress, <br>
811
+
- Succeeded, <br>
812
+
- Failed, <br>
813
+
- Conflict <br>
815
814
815
+
Actionable statuses are Succeeded and Failed in a webhook notification. An operation's lifecycle is from NotStarted to a terminal state like Succeeded/Failed/Conflict. If you receive Not started or in progress, please continue to request the status via GET operation API until the operation reaches a terminal state before taking any action.
Copy file name to clipboardExpand all lines: articles/marketplace/partner-center-portal/pc-saas-fulfillment-api-v2.md
+27-18Lines changed: 27 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -778,26 +778,35 @@ The publisher must implement a webhook in this SaaS service to proactively notif
778
778
779
779
```json
780
780
{
781
-
"operationId": "<guid>",
782
-
"activityId": "<guid>",
783
-
"subscriptionId":"<guid>",
784
-
"offerId": "offer1",
785
-
"publisherId": "contoso",
786
-
"planId": "silver",
787
-
"quantity": "20" ,
788
-
"action": "Subscribe",
789
-
"timeStamp": "2018-12-01T00:00:00"
781
+
"id": "<this is a Guid operation id, you can call operations API with this to get status>",
782
+
"activityId": "<this is a Guid correlation id>",
783
+
"subscriptionId": "<Guid to uniquely identify this resource>",
784
+
"publisherId": "<this is the publisher’s name>",
785
+
"offerId": "<this is the offer name>",
786
+
"planId": "<this is the plan id>",
787
+
"quantity": "<the number of seats, will be null if not per-seat saas offer>",
788
+
"timeStamp": "2019-04-15T20:17:31.7350641Z",
789
+
"action": "Unsubscribe",
790
+
"status": "NotStarted"
791
+
790
792
}
791
793
```
792
-
793
-
Where action can be one of the following:
794
-
- `Subscribe` (When the resource has been activated)
795
-
- `Unsubscribe` (When the resource has been deleted)
796
-
- `ChangePlan` (When the change plan operation has completed)
797
-
- `ChangeQuantity` (When the change quantity operation has completed)
798
-
- `Suspend` (When the resource has been suspended)
799
-
- `Reinstate` (When resource has been reinstated after suspension)
800
-
794
+
Where action can be one of these:
795
+
- `Subscribe`, (When the resource has been activated)
796
+
- `Unsubscribe`, (When the resource has been deleted)
797
+
- `ChangePlan`, (When the change plan operation has completed)
798
+
- `ChangeQuantity`, (When the change quantity operation has completed),
799
+
- `Suspend`, (When resource has been suspended)
800
+
- `Reinstate`, (When resource has been reinstated after suspension)
801
+
802
+
Where status can be one of these: <br>
803
+
- NotStarted, <br>
804
+
- InProgress, <br>
805
+
- Succeeded, <br>
806
+
- Failed, <br>
807
+
- Conflict <br>
808
+
809
+
Actionable statuses are Succeeded and Failed in a webhook notification. An operation's lifecycle is from NotStarted to a terminal state like Succeeded/Failed/Conflict. If you receive Not started or in progress, please continue to request the status via GET operation API until the operation reaches a terminal state before taking any action.
0 commit comments