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
+19-11Lines changed: 19 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,6 @@ The resolve endpoint enables the publisher to resolve a marketplace token to a p
105
105
106
106
|||
107
107
| --------------- | --------------- |
108
-
| Content-Type |`application/json`|
109
108
| x-ms-requestid | Unique string value for tracking the request from the client, preferably a GUID. If this value is not provided, one will be generated and provided in the response headers. |
110
109
| x-ms-correlationid | Unique string value for operation on the client. This parameter correlates all events from client operation with events on the server side. If this value is not provided, one will be generated and provided in the response headers. |
111
110
| authorization |[Get JSON web token (JWT) bearer token](https://docs.microsoft.com/azure/marketplace/cloud-partner-portal/saas-app/cpp-saas-registration#get-a-token-based-on-the-azure-ad-app)|
@@ -784,15 +783,16 @@ The publisher must implement a webhook in this SaaS service to proactively notif
784
783
785
784
```json
786
785
{
787
-
"operationId": "<guid>",
788
-
"activityId": "<guid>",
789
-
"subscriptionId":"<guid>",
790
-
"offerId": "offer1",
791
-
"publisherId": "contoso",
792
-
"planId": "silver",
793
-
"quantity": "20" ,
794
-
"action": "Subscribe",
795
-
"timeStamp": "2018-12-01T00:00:00"
786
+
"id": "<this is a Guid operation id, you can call operations API with this to get status>",
787
+
"activityId": "<this is a Guid correlation id>",
788
+
"subscriptionId": "<Guid to uniquely identify this resource>",
789
+
"publisherId": "<this is the publisher’s name>",
790
+
"offerId": "<this is the offer name>",
791
+
"planId": "<this is the plan id>",
792
+
"quantity": "<the number of seats, will be null if not per-seat saas offer>",
793
+
"timeStamp": "2019-04-15T20:17:31.7350641Z",
794
+
"action": "Unsubscribe",
795
+
"status": "NotStarted"
796
796
}
797
797
```
798
798
@@ -802,7 +802,15 @@ Where action can be one of these:
802
802
- `ChangePlan` (When the change plan operation has completed)
803
803
- `ChangeQuantity` (When the change quantity operation has completed)
804
804
- `Suspend` (When the resource has been suspended)
805
-
- `Reinstate` (When resource has been reinstated after suspension)
805
+
- `Reinstate` (When resource has been reinstated after suspension)
806
+
- `Renew` (When a resource subscription is renewed)
0 commit comments