Description
To support better tracking between access requests and their related approvals, we have added the associated access request ID to the list-pending-approvals
API endpoint response. Additionally, access request ID is now a filter option on this endpoint, making searches more efficient!
Since access request ID is now returned in the submit-request API response, this enhancement will be especially helpful to customers who have chosen to script processes based around that ID.
Who is affected?
This will be rolled out to all customers.
Important Dates
Sandbox rollout: February 4th, 2025
Production rollout: week of February 10th, 2025
Rollout
By RSVP’ing to this event you will be reminded of this release prior.
Additional Resources
list-pending-approvals
7 Likes
Love it, thank you @jennifer_mitchell! 
Just tested and it works well! Both seeing the id and the filter. 
Some minor remarks/questions from my side:
- Hoping documentation of the API will also be updated to reflect these improvements.
- Hoping the same will be applied to the
/v2024/access-request-approvals/completed
endpoint. Or even better, have a general access-request-approvals
endpoint that shows all access request approvals, regardless of if they are pending, cancelled, rejected or approved. In this way, if we have the approval id, we can obtain the object immediately, instead of trying out both options to figure out what the status is.
- Given an accessRequestId, we can get approvals both through
/v2024/access-request-approvals/:accessRequestId/approvers
and through /v2024/access-request-approvals/pending?filters=accessRequestId eq "2c91808568c529c60168cca6f90c1313"
. Is there any difference in behavior of these two API’s? will they always return the same approvals, and do you recommend one option over the other?
- If you create an access request and request a single item for a single user, you mentioned a specific edge case might occur, where still multiple accessRequestIds are returned (which is the reason the response value for accessRequestIds is an array, even though it most often contains only 1 value). But if this edge case occurs where one access request returns multiple access request ids, will one access request approval also be associated to both access requests ids? If not, what will happen instead?