Question

1
Replies
36
Views
Close popover
Brahmeswara Rao (Brahmesh@)
Capgemini
Developer
Capgemini
SE
Brahmesh@ Member since 2013 148 posts
Capgemini
Posted: November 9, 2020
Last activity: 2 weeks 5 days ago

How to manage multiple versions for Pega REST API

The requirement is we have a rest service which is used by multiple consumers and whenever there is a change in request / response structure or functionality we want to give the consumer some time before they had to upgrade to new service structure.

 

For example look at the below scenario where consumer has to do a change right away if there is no versioning 

 

V1- Employee-Page

V2- Employee-Pagelist

Since access group is being maintained at service package level, the v2 changes still applies to v1 inbound calls unless the logic is handled based on version number explicitly in service activity?

Is it possible to change the service requestor AG based on version number before invoking the service activity .

 

Pega Platform 7.3.1 Data Integration System Administration Financial Services Lead System Architect