List expense reports
Changed onEndpoint for retrieving a list of expense reports.
Request
- Base URLhttps://api.wafeq.com/v1
- URLhttps://api.wafeq.com/v1/expense-reports/
- AuthAPI key in header Authorization
Query parameters
The timestamp in UTC when the expense report was created
The timestamp in UTC when the expense report was created
The unique identifier of the employee.
Comma-separated related objects to return in full instead of as IDs. Accepted values: claims, claims.account, claims.attachments, claims.branch, claims.contact, claims.cost_center, claims.project, claims.tax_rate, employee, employee.reimbursements_account, journal, reimbursements_account, reimbursements_account.parent. Nested relations are joined with a dot. Pass journal to replace the journal ID with its object (ID, date, currency, reference, notes and timestamps). Documents without a journal still return null. Journal line items are retrieved separately with GET /v1/journal-line-items/?journal={journal_id}.
The timestamp in UTC when the expense report was last modified
The timestamp in UTC when the expense report was last modified
A page number within the paginated result set.
Number of results to return per page.
The date of the expense report.
The date of the expense report.
- APPROVED - APPROVED
- DRAFT - DRAFT
- PENDING_APPROVAL - PENDING_APPROVAL
- REIMBURSED - REIMBURSED
- REIMBURSING - REIMBURSING
- REJECTED - REJECTED
- __null__ - null
The approval and reimbursement status of the expense report.
- DRAFT - Draft
- PENDING_APPROVAL - Pending approval
- APPROVED - Approved
- REJECTED - Rejected
- REIMBURSING - Reimbursing
- REIMBURSED - Reimbursed
Response
Example response
{
"count": 123,
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}Changes
- info
endpoint added
- info