Hi Niranjan,
I made use of the RIH/Workato docs here:
Let me see if I can take you through the steps:
1) Make sure that "API Platform" is enabled for your RIH environments.
2) Build your recipe, triggered like this
3) Make sure that there is a RETURN action (response to the API)
4) Go to API Platform via the left menu
5) Define an API Collection
6) Define an Endpoint, using your API recipe. Note that the URL is displayed, and is a concatenation of a base, your API Collection, and your Endpoint
7) For your API Collection, now define a Client
8) For the Client, create an access profile. There are choices here for how to authenticate. I chose the easiest, to let RIH generate me a token to use in my calls
9) Start the Recipe (will start the other components)
10) Test. Here's my Postman example. Note the additional Header with API-TOKEN, and the value copied from step 8.
I hope this helps.
Regards,
Matt
------------------------------
Matthew Gagan
------------------------------
Original Message:
Sent: 11-02-2022 03:45
From: Niranjan Babu Bandla
Subject: Any sample REST API developed in RIH?
Hi,
Can someone please share any sample REST API developed in RIH? What will be the end point to test it?
Thanks & Regards,
Niranjan
------------------------------
Niranjan Babu Bandla
HP Inc.
Bangalore
------------------------------