Best practices in Integration- REST API

Hi,

Application is using (Thread Level) Data Pages (with Report Definition as a source) in @ 100 screens.

Now I need to replace source of a Data Page to REST Connector (consuming 3rd party REST Service). Thus calling API @ 100 time in a case.

How does it affects the Application Performance.? How many times can we call API as a best practice ?

Should I create single API for every Data Element instead ?

@VivekP01 The performance of the API can depend on a lot of factors (volume of data, frequency of traffic etc), but calling the same API hundreds of times for every single attribute might not be the best approach.

If your data has common elements, then perhaps they can be grouped into a separate API, and called only once through an asynchronous Job scheduler.

Some other options are :

---- Make the API calls in an off-peak hour and storing them in a Data page for usage later.

---- Make the calls once for every operator instead of calling it per thread.

Maybe filling in the below details will help answer this question better :

— How many fields are we talking about ?

— Does the API have to called per case ? Does it pass case specific data ?

@VTALUKDAR

Thank you for your reply.

I will reuse same API through D_Page & Keyed Pages.

Also will group common data in one API.