Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

HttpParams for static values

Robbe_Cronos
Regular Contributor II
Regular Contributor II

Hello,

We are trying to provision access to an account in our gitlab-dev environment through Saviynt. The POST request HttpParams should have a user_id and an access level (0/5/10/20/30/50) as mandatory. 

We were wondering if we are adding the static access level correctly?

We have tried these 2 solutions:

"httpParams": "{\"user_id\": \"${account.accountID}\",\"access_level\": \"10\"}",
 
"httpParams": "{\"user_id\": \"${account.accountID}\",\"access_level\": 10}",
 
Can someone confirm which is the correct syntax?
3 REPLIES 3

rushikeshvartak
All-Star
All-Star

 

httpParams": "{\"id\": \"${account.accountID}\",\"name\": \"${account.name}\",\"user_id\": \"${account.accountID}\",\"access_level\": 10,\"expires_at\": null}"

 

Please share full json if above doesn't work


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

Belwyn
Saviynt Employee
Saviynt Employee

Hi @Robbe_Cronos 

Did the JSON shared by rushikeshvartak work? if it did not work can you please share the logs and the complete JSON used?   

Thanks & Regards, 
Belwyn.

Robbe_Cronos
Regular Contributor II
Regular Contributor II

It worked! Thank you.