Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

[API]: Not able to create entreprise role through API

KhaoulaD
New Contributor III
New Contributor III

Hello,

I'm trying to create an entreprise role through API following saviynt documentation but getting 500 server error.

Therefore i'm able to retrieve the token and perform other calls.

KhaoulaD_1-1678372534265.png

Could you please tell if it's a bug from saviynt or suggest a solution?

Regards,

Khaoula DOUHI

5 REPLIES 5

prasannta
Saviynt Employee
Saviynt Employee

The screenshot has the roletype spelled incorrectly. Please correct to ENTERPRISE and try to place the request.

KhaoulaD
New Contributor III
New Contributor III

Hello @prasannta ,

Still having the same issue even after correcting it 

KhaoulaD_0-1678379848347.png

 

prasannta
Saviynt Employee
Saviynt Employee

You have now removed the other mandatory attributes. Please refer below mandatory attributes required for invoking createEnterpriseRoleRequest API:

Mandatory params:

roletype - Use the roletype as "ENTERPRISE" to Create Enterprise Role Request. (supported roletypes - ENABLER/ TRANSACTIONAL/ FIREFIGHTER/ ENTERPRISE/ APPLICATION),

role_name, requestor, owner 1. ownerName 2. rank<1 to 27>

https://documenter.getpostman.com/view/1797923/RWaLwo21#f9e9704d-2016-45df-be5d-3e6dca2965e7

 

 

KhaoulaD
New Contributor III
New Contributor III

Hello,

Finally my request was correct. It didn't work because of a bug on our instance.

Regards,

Khaoula DOUHI

@KhaoulaD Hi, can you please kindly share what was the bug and how it was resolved?