PARTNERS - Please join us for our upcoming webinar:
Leveraging Intelligent Recommendations for Operational Transformation.
AMS Partners click HERE | EMEA/APJ Partners click HERE

Inquiry About Dynamic URL Configuration in REST Connector

markmch
New Contributor
New Contributor

Hello,

I am currently working on configuring a REST connector in Saviynt and aiming to make the endpoint URL dynamic to facilitate integration across multiple applications. My goal is to utilize a variable within the URL configuration to adapt the endpoint according to the specific application being connected.

Here is a snippet of the JSON configuration where I intend to insert the variable:

 

ImportAccountEntJSON
 
{ "http": { "url": "https://URL/${endpoint.endpointname}/v1/getgroups", "httpMethod": "GET", "httpContentType": "application/json", "httpHeaders": { "Authorization": "${access_token}" } } }

Is this configuration "${endpoint.endpointname}" supported by Saviynt in the URL of the ImportAccountEntJSON?. Could anyone confirm if this kind of dynamic endpoint configuration is possible? If so, how can I define and use such variables effectively?

Any guidance or examples would be greatly appreciated.

Thank you!

5 REPLIES 5

NM
Honored Contributor
Honored Contributor

Hi @markmch , are you going to keep your endpoint name same as domain?

As in xyz.com?

markmch
New Contributor
New Contributor

The endpoint name could be any app jira, zendesk, salesforce, what do you suggest?

NM
Honored Contributor
Honored Contributor

Hi @markmch, never tried it but I was just thinking about the mapping that won't be constant plus entitlement type would be different for different applications.

Changing a live connection to accomodate a new application will affect other apps too

markmch
New Contributor
New Contributor

Thanks, for now just trying to figure out if this is possible in the ImportAccountEntJSON

{ "http": { "url":"https://URL/${endpoint.endpointname}/v1/getgroups", "httpMethod": "GET","httpContentType": "application/json","httpHeaders": { "Authorization":"${access_token}" } } }

You can’t keep url on endpoint but you can keep url on connection json

https://forums.saviynt.com/t5/saviynt-knowledge-base/how-to-leverage-custom-attribute-in-rest-connec...


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.