Search Expense Reviews
Changed onEndpoint to find users with ExpenseReview using filtering parameters.
Request
- Base URLhttps://api.soldo.com
- AuthOAuth 2Client credentialsToken URLhttps://api.soldo.com/oauth/authorizeScopesexpense_review_read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Filters expenses by the user who delegated them.
[ "XMPL1234-000001" ]
The beginning of the period of the search fromDate included (i.e. greater than or equal to) (Formats: yyyy-MM-dd, yyyy-MM-ddThh:mm:ss, yyyy-MM-ddThh:mm:ssZ).
The end of the period of the search toDate included (i.e. less than) (Formats: yyyy-MM-dd, yyyy-MM-ddThh:mm:ss, yyyy-MM-ddThh:mm:ssZ).
A text to search in the expenses reviewer name or surname.
It indicates the specific page to display (the counter starts from zero).
It indicates the number of items per page.
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 returned resource is an array of Expenses.
Example response
{
"total": 168,
"pages": 7,
"page_size": 25,
"results_size": 25,
"results": [
{
"user_id": "XMPL1234-000001",
"user_name": "JOHN",
"user_surname": "DOE",
"job_title": "CTO",
"to_review_transaction": 1,
"reviewed_transaction": 2,
"exported_transaction": 1,
"total_transaction": 3
}
]
}Changes
- info
for the
queryrequest parameterfromDate, the type was generalized from no type tostring, and format from no format todate-time - info
for the
queryrequest parametertoDate, the type was generalized from no type tostring, and format from no format todate-time
- info