Let's Reconnect, thank you for making 2022 our best year yet.

Look Back
Creating Webservice with Dynamic Parameter — Cloud Customer Connect
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

Creating Webservice with Dynamic Parameter

Accepted answer
31
Views
7
Comments
in Sales 7 comments

Summary:

Dynamic parameter in webservice to apply in URL

Content (required):

Oracle supports dynamic parameter in webservice, however when it applies to URL hostname it is not working properly

Dynamic parameter will look like this ##Par1##


this one works

https://podname.oraclecloud.com/crmRestApi/resources/latest/resourceUsers/##ResourcePartyNumber##

but you need to define properly the pod name.

what we want is like this

https://##POD_NAME##/crmRestApi/resources/latest/resourceUsers/##ResourcePartyNumber##

https://##Webservice_NAME##/getToken

where in we can define the pod name via groovy script or any config (out of sandbox)

i was able to saved the URL but it will be save like this:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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