Data actions integration Advanced Configuration for base url

Hi

hope someone can help me out here.

I need create 8 data actions under a custom Web service Integration.
i'm wondering if i can have the base url and some other values put in the Advanced Configuration, so that i can re-use it in the data actions.

I hope i can do something like this in (Integration)
Advanced Configuration
{
"base_url":"https://myexample.com",
"x-api-key":"sdghsdghsieiwvwevwivwu"
}

the Request URL Template in Data Action

${base_url}/api/v2/memberinfo

and Headers
x-api-key = ${x-api-key}

the reason of do thing is that i need to export the data action and import into another purecloud environment, so that i only need change the advance configuration part.

Hi yuezhong,

Unfortunately the advanced configuration is not available to your data actions.

If you are using basic authentication you could make your base URL part of your set of credentials. Otherwise, let me know what type of authentication you are using and I will see what I can come up with.

--Jason

Hi Jason

thank you,

yes, i'm using the User defined auth now, i put the base url in the credentials,

the in the data action ,i use ${credentials.baseUrl}/api.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.