Question

7
Replies
1495
Views
Close popover
Chunzhi Hong (Chunzhi_Hong)
PEGA
Consulting Manager, Pega Consulting
Pegasystems Inc.
JP
Chunzhi_Hong Member since 2013 138 posts
PEGA
Posted: February 15, 2016
Last activity: February 18, 2016
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,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.