Question
Pegasystems Inc.
JP
Last activity: 18 Feb 2016 20:59 EST
7.1.9 How to customize JSON mapping
I have to connect an external service using JSON-REST API.
However, the API requires that
1. The request must be done by POST method, GET is not supported.
2. The JSON message should be formatted as "inputRequests=<ACTUAL JSON MESSAGE>".
3. The content type of the request must be "application/x-www-form-urlencoded".
With the Connect-REST wizard, I found that it is difficult to achieve the second API constraints, because the OOTB JSON mapper doesn't append "inputRequests=" part at the beginning of the message.
I want to know,
if there is anyway to customize JSON mapper ?
Are there any OOTB activities or extension points for JSON mapping?
The java step is the last resort in my option.