You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to Dynamically Pass/Update path parameter in REST API End point

edited Sep 11, 2024 6:10PM in Digital Assistant & Mobile 2 comments


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!

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!