Giter VIP home page Giter VIP logo

office-add-in-saas-monetization-sample's Introduction

page_type products languages extensions description
sample
office-outlook
office-365
office-sp
javascript
contentType technologies createdDate
samples
Add-ins
2/14/2020 12:00:00 PM
Learn how to create a simple license management system to manage add-ins sold in Microsoft AppSource

Introduction

This code sample demonstrates how Microsoft ISVs can create a simple license management system to manage add-ins sold in Microsoft AppSource. This code sample package includes a Microsoft AppSource mock web app, a SaaS sample, a SharePoint add-in, an Outlook add-in, and a licensing management tool.

Installation and Configuration

Follow the instructions in the deployment guides to install and configure the sample.

  1. Sample Deployment Guide
  2. SPFx add-in Deployment Guide
  3. Outlook add-in Deployment Guide

Testing

Follow the instructions in the test guide to test the different use cases.

  1. Test Guide

Inventory

This section links to the various README files associated with the projects included in the sample. Read the README files for more information about each project.

Appendix

UX / API Mapping

This matrix describes the user interface actions and how they correlate to different API calls.

User interface where the API is invoked API Call Mock API Exists Mock API Works Can we test the Mock API without the offer being published to the public? Can we test the Production API without the offer being published to the public?
Resolve a subscription in purchase process:

HttpPost
https://marketplaceapi.microsoft.com/api/saas/subscriptions/resolve?api-version=2018-09-15
Yes Yes Yes No
Activate a subscription in purchase process:

HttpPost
https://marketplaceapi.microsoft.com/api/saas/subscriptions/0aa95e32-8be7-4e5e-94f9-563f6d7d9dcd/activate?api-version=2018-09-15
Yes Yes Yes No
Update the quantity on the subscription in plan/quantity changed process

HttpPatch
https://marketplaceapi.microsoft.com/api/saas/subscriptions/0aa95e32-8be7-4e5e-94f9-563f6d7d9dcd?api-version=2018-09-15

Note: Although the patch request works, but actually the test data will not be updated, and the web hook will not be triggered as well.
Yes Yes No No
Update the status of an operation in plan/quantity changed process

HttpPatch
https://marketplaceapi.microsoft.com/api/saas/subscriptions/0aa95e32-8be7-4e5e-94f9-563f6d7d9dcd/operations/7688ae05-1579-4fdd-be89-12b45f0a4ef3?api-version=2018-09-15
Yes Yes No No
Query operations in plan/quantity changed process

HttpPatch
https://marketplaceapi.microsoft.com/api/saas/subscriptions/0aa95e32-8be7-4e5e-94f9-563f6d7d9dcd/operations?api-version=2018-09-15
Yes Yes Yes No
Webhook on the SaaS service No No No No

Copyright

Copyright (c) 2020 Microsoft Corporation. All rights reserved.

office-add-in-saas-monetization-sample's People

Contributors

lauragra avatar microsoft-github-operations[bot] avatar microsoftopensource avatar tbag avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.