Question

1
Replies
2173
Views
Close popover
Rim Frikha (Rim.Frikha)
Lyance

Lyance
FR
Rim.Frikha Member since 2015 21 posts
Lyance
Posted: July 28, 2015
Last activity: July 29, 2015
Closed
Solved

Retrieve a JSON response and use it as a REST request body

Hello,

I need to create a REST Connector "GetJSON" with a GET method. It will return a JSON.
Then I should retrieve this JSON and put it as Request body JSON for another REST connector "CreateCM" that uses a POST method.

Normally, when I have JSON response, it is to later use the properties generated, which is automatically done with Pega.
And if we need a JSON as a request body, then we attach a json file in the creation of the connector: in the Rest connector wizard. And the properties we want are also automatically generated.
But, in this case, it is different, because I need the response of "GetJSON" connector to be the request body of "CreateCM" connector; which means I didn't attach the file at the beginning while using the Rest connector wizard.


How can I implement this use case?

Thank you,

Data Integration
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.