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

Request not getting approved using approveRejectRequest

JanardhanSharma
New Contributor II
New Contributor II

We are firing api to approve a request. 

Payload for example:

 

{
    "requestkey":"265765",
    "reqaction" : "1", //reject  = 2 approved = 1
    "comments":"approved by Janardhan from postman",
    "approver" : "saviyntUserName"
}

 

This approver is one of the owners of role for which a request is created. 

The user that is firing this api has the right access. 
When the api is fired, the response with http status 412 is returned. 

 

{
    "errorCode": "1",
    "message": "configuration is not set or approver saviyntUserName does not have permission to approve reject request from list"
}

 


The problem is what access should be provided to the approver, in terms of SAV role.  If the ROLE_ADMIN is provided the request gets approved. 

If I have to create a custom SAV ROLE what should be added to it and assigned to the approver so that the request is approved ?

Feel free to ask questions is more clarifications is needed. 

 

2 REPLIES 2

NageshK
Saviynt Employee
Saviynt Employee

@JanardhanSharma I have requested this post to be moved to IGA so that the right team can check and provide response.

Thanks,

Nagesh K 

rushikeshvartak
All-Star
All-Star

You need to provide we service access to allow approve request from api ( find same api )


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.