Legacy Dev Forum Posts

 View Only

Sign Up

Data actions integration Advanced Configuration for base url

  • 1.  Data actions integration Advanced Configuration for base url

    Posted 06-05-2025 18:42

    yuezhong | 2021-02-04 00:08:20 UTC | #1

    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.


    Jason_Mathison | 2021-02-04 02:38:18 UTC | #2

    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


    yuezhong | 2021-02-04 04:43:27 UTC | #3

    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.


    system | 2021-03-07 04:43:29 UTC | #4

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


    This post was migrated from the old Developer Forum.

    ref: 9896