Question

How to use PEGA API for multiple applications?

Hi Guys,

I am trying to use the PEGA API.

It's working for me for any given 1 application[ Access Group] specified in the api service package.

But i want to use the API calls on different applications without changing the AG in SP everytime.

Am i missing something here or does the API support only 1 application for an instance?

Comments

Keep up to date on this post and subscribe to comments

September 22, 2019 - 11:29am

Hi,

The access group to be used for service execution would be defined in the service package where the service resides. In the Context tab of the service package, there is a provision to provide the access group. Pega uses this access group for rule resolution while executing the service.

You can refer this link which explains with example of REST API.

September 23, 2019 - 1:49am

A service package can contain once access group at a time. I do not think we can pass the access group dynamically here.