Question

7
Replies
1467
Views
Chunzhi_Hong Member since 2013 137 posts
PEGA
Posted: 4 years ago
Last activity: 4 years 8 months ago
Closed
Solved

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.

connect-rest-map-from-JSON.JPG

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.

Data Integration System Administration
Moderation Team has archived post
Share this page LinkedIn