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 to request multiple endpoints using a single (createrequest) API call

RV
Regular Contributor
Regular Contributor
I am looking for a REST API to create request for multiple endpoints and its associated entitlements in a single request using createrequest API.  Does the API allows us to request multiple endpoints in a single call? 
 
We can request for multiple endpoints and their associated entitlements through UI, however I am not seeing any API documentation around this if the same is possible through API or not.
 
 
2 REPLIES 2

meh
Saviynt Employee
Saviynt Employee
Hi,
With the auto approve request, it is possible to do so, example in v5:
method: POST
Body:
{
"username":"xx",
"requestor":"admin",
"comments":"add comment",
"requestaccess":[
{"endpoint":"e1",
"securitysystem":"ss1",
"requesttype":"1",
"accountname":"123",
"entitlement" : {
"ADD" : [
"AADGroup####Group1",
"AADGroup####Group2"
],
}
},
{
"endpoint":"e2",
"securitysystem":"ss2",
"requesttype":"1",
"accountname":"456",
"entitlement" : {
"ADD" : [
"AADGroup####Group2",
"AADGroup####Group3"
]
}
}
]
}
If it is not an auto approve request, then it will not be possible.The invalid HTML ha
Hope this helps.

rushikeshvartak
All-Star
All-Star

https://documenter.getpostman.com/view/1797923/RWaLwo21?version=latest#193dd756-cfe4-433b-ad8b-64349...


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