Expense Policies
Get Expense Policy Eligible Assignees
Changed onEndpoint to get all User resources that can be assigned to a specific ExpensePolicy.
get/business/v2/expense-policies/{expensePolicyId}/eligible-assignees
Request
- Base URLhttps://api.soldo.com
- AuthOAuth 2Client credentialsToken URLhttps://api.soldo.com/oauth/authorizeScopesexpense_policy_read
Path parameters
expensePolicyIdstring required
The ExpensePolicy ID.
Example:7bf79328-a7ae-4222-aa54-091ff7f429a7
Query parameters
pinteger
It indicates the specific page to display (the counter starts from zero).
Example:3
sinteger
It indicates the number of items per page.
Example:25
d'ASC' | 'DESC'
It indicates how the pages are ordered.
Example:DESC
propsstring[]
It indicates the sorting direction applied to the above parameters. To apply a sorting on multiple parameters, set as many times the props parameter in the request.
[ "creationTime" ]
Response
The result is an array of User IDs.
Example response
{
"total": 168,
"pages": 7,
"page_size": 25,
"results_size": 25,
"results": [
{
"id": "6853e657-c797-4985-8d6b-5425d4e51df8"
}
]
}Changes
- info
endpoint added
- info