How to Dynamically Pass/Update path parameter in REST API End point
Hi everyone,
I’m using the REST API component in Oracle Digital Assistant (ODA) to consume an API that cancels an existing activity. The requirement is to pass the activityId
within the API URL instead of in the request payload.
Can anyone suggest how we can dynamically pass or update the activityId
within the REST API endpoint URL in ODA?
For example, the endpoint would look like this:
https://api.example.com/activities/{activityId}/cancel
I have already captured the activityId as a variable, but I’m not sure how to pass it dynamically in the URL. Any help or best practices would be appreciated!
Tagged:
0