Question
1
Replies
218
Views
Posted: October 11, 2017
Last activity: October 12, 2017
Closed
How to send a batch of records to Service-Rest in Pega instead of sending one record at a time?
Hi All,
I created a Service-Rest in Pega that I am using to send data to Pega's engine to apply business logic to. This rest service as of right now takes in a single record and outputs a result for each call.
What I want to do is set up the Service-Rest in such a way that I can send a HTTP POST message with a multiple records formatted in JSON all within one Request and get back the result for every record.
How can I achieve this?
Thanks.
Hi,
Parse the request json and write logic in service activity to set responses for each record and map from response as clipboard.