7be21448a2b3
latestOpenAPI 3.1.02026-08-06236494759.4 KBSearch Expense Policies
Endpoint to search ExpensePolicy resources using filtering parameters.
Query parameters
A simple text to search in the ExpensePolicy (name or description).
A simple text to search in the ExpensePolicy (name or description).
The list of ExpensePolicy statuses to search by.
The list of ExpensePolicy statuses to search by.
[ "ACTIVE" ]
It indicates the specific page to display (the counter starts from zero).
It indicates the specific page to display (the counter starts from zero).
It indicates the number of items per page.
It indicates the number of items per page.
It indicates how the pages are ordered.
It indicates how the pages are ordered.
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.
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 ExpensePolicy resources.
Example response
{
"total": 168,
"pages": 7,
"page_size": 25,
"results_size": 25,
"results": [
{
"id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"name": "Company Travel Policy",
"description": "A policy for company travel expenses",
"policy_url": "https://www.policy.pdf",
"status": "ACTIVE",
"creation_time": "2017-06-01T12:48:40Z",
"last_update": "2017-06-01T12:48:40Z"
}
]
}