locked
Operation policy User level RRS feed

  • Question

  • Hi,

    Let us say there is a API called "Customer details" with 2 operation

    GET >SelectCustomer Details

    POST >InsertCustomer Details 

    Can I create 2 product like "CustomerRestricted" and "CustomerFull", so that API users who have subscribed for product "CustomerRestricted" can only call "GET >SelectCustomer Details" operation of the given API , but API users who have subscribed for product "CustomerFull" can call "GET >SelectCustomer Details" operation as well as "POST >InsertCustomer Details" of the given API

    Thanks in advance

    Vivek

    Friday, April 15, 2016 3:24 AM

All replies

  • Hello Vivekanandh,

    Thank you for posting here!

    Yes, you can create and publish the products. For more information, please refer the link.

    And to configure the policies with products, please refer the link.

    Hope this helps.

    Regards,

    Swikruti

    If a post answers your question, please click Mark as Answer on that post and Vote as Helpful.

    • Proposed as answer by Swikruti Bose Thursday, April 28, 2016 8:55 AM
    Friday, April 15, 2016 11:36 AM
  • Hi, currently you will have to create two APIs. One with the GET operation and the other has the POST operation. 

    Then you'll need to publish these two APIs under two products. 

    • Proposed as answer by Swikruti Bose Thursday, April 28, 2016 8:55 AM
    Friday, April 15, 2016 9:38 PM