Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement 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
Valued Contributor II
Valued Contributor II

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
Valued Contributor II
Valued Contributor II

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 you find this response useful, kindly consider selecting 'Accept As Solution' and clicking on the 'Kudos' button.