API Documentation
/travelExpenses
Travel expenses are the elements of a travel expense report. A travel expense has a type like taxi, hotel and so on. They are not accessible themselves, only through their report.
GET /types▲
Get all available travel expense types.
Returns
A list of all travel expense types.
POST /▲
Create a new travel expense. Returns the created object.
Security
Only the owner of the report and if the report is PENDING or REJECTED.
Returns
A single travel expense.
PUT /{id}▲
Update the travel expense identified by id. Returns the updated object.
Security
Only the owner of the report and if the report is PENDING or REJECTED.
Returns
A single travel expense.
DELETE /{id}▲
Delete a travel expense identified by id.
Security
Only the owner of the report and if the report is PENDING or REJECTED.
Returns
Nothing