Question
How to parse JSON request
We have built a Service SOAP to process external data and create work in Pega. Now the system that integrates with pega wants to send the request in JSON format. Is there any way to update the service SOAP rule to accommodate JSON request in Pega. Can it be captured on a page/String , If so how to map into Pega .
OR we have to create Service-REST? Could see that Service REST does not have direct mapping using JSON. Is there any document specific to building Service REST having request type as JSON.
Hi Poornima,
Which PRPC version you are working on? is it the same 7.1.9 that you are working on currently?
If yes, then you might have to host a Service-REST to expose PRPC as a service. Under methods tab in Service REST rule you will find Request/Response sub tabs as soon as you expand any method which you want to configure like (GET,POST etc)
There you will find Map from and Map key where you can map from JSON and use a property as Map key.
Thanks,
Habeeb Baig