Get Expense Review
Changed onEndpoint to get the ExpenseReview of a specific User.
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.
Path parameters
The ID of the User.
Query parameters
The status of the ExpenseReview.
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).
It determines the filter by payment method of the transaction.
It indicates the specific page to display (the counter starts from zero).
It indicates the number of items per page.
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.
[ "creationTime" ]
Response
The returned resource is a ExpenseReview.
Example response
{
"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,
"from_date": "2017-06-01T12:48:40Z",
"to_date": "2017-06-05T12:48:40Z",
"transaction_to_review": [
"7bf79328-a7ae-4222-aa54-091ff7f429a7",
"2d65bd5e-3fdf-4002-b166-bde7fb8863fa"
],
"transaction_reviewed": [
"7bf79328-a7ae-4222-aa54-091ff7f429a7",
"2d65bd5e-3fdf-4002-b166-bde7fb8863fa"
],
"transaction_exported": [
"7bf79328-a7ae-4222-aa54-091ff7f429a7",
"2d65bd5e-3fdf-4002-b166-bde7fb8863fa"
]
}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