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

cancelPendingRequest API call

Mareetta
New Contributor III
New Contributor III

I am trying to discontinue a request that's halfway undergone approval. I am using cancelPendingRequest API endpoint for this. But seeing Error Request is not in an open state.  
I see the postman description This API discontinues an open request in SSM. The request that I'm trying to discontinue is with status 1. So what is an an open request? 

2 REPLIES 2

shivmano
Regular Contributor III
Regular Contributor III

@Mareetta , I am able to successfully discontinue an Open request (Pending for approval) using this endpoint in 5.5.  Please can you check if the request params are as below ? 

shivmano_0-1695823832380.png

Requestor - username of the requestor

Requestkey of the request - Make sure you pass the requestkey and not the request id

Hope this helps!

dgandhi
All-Star
All-Star

Can you provide screenshot of the payload that you are trying.

 

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.