Can we use response of an REST API(GET Method) to call another API of same application?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 04:31 AM
we are triggering REST outbound GET call to another system and we are getting response with limited fields so we want to use one of the field from that response do another GET to same application which will give us more fields.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 07:19 AM
Hi,
How are you calling the rest API?
If you are using Rest Message module, then create a HTTP method with endpoint as variable (eg ${URL})
while calling this rest you can replace the variable with the URL received from payload as below
r.setStringParameterNoEscape('URL', url);
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2022 12:42 AM
I can configure 2nd rest message as URL but how do I pass the response from 1st call as URL? I will get it as JSON or XML? please advise.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2022 03:06 AM
What are you doing in your scheduled job or flow designer? are you processing the data using import set / transform map
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2022 08:13 AM