Search accounts and groups that can approve in a tier
GET/api/v1/ApprovalWorkflow/SearchApprovalCandidates
Searches the accounts and groups that can be added as approvers to an approval tier, with paging, sorting and text filtering. Accounts and groups already assigned to the tier are left out, and applications and collections are never returned. Use it to populate an approver picker.
Permission required: Administrator role.
Values for entityType: 0 = ManagedAccount, 1 = ManagedAccountGroup, 4 = Local.
Request
Responses
- 200
- 400
A page of candidate approvers. The body has data (the page of rows) and recordsTotal (the number of matching rows before paging is applied).
No tier ID was provided, or the search failed.