API Documentation
/travelExpenseReportComments
Endpoints
| Method | Path |
|---|---|
| GET | /search/findByTravelExpenseReportOrderBySubmissionDateAsc |
| POST | / |
Projections
| Name | Description |
|---|---|
| withEmployee | The employee is embedded. |
Structure
| Fieldname | Fieldtype | Validations |
|---|---|---|
| id | Long | |
| text | String | Not empty |
| submissionDate | Date | Not null |
| Links | Security | |
| travelExpenseReport | No update or delete. | |
| employee | No update or delete. | |
GET /search/findByTravelExpenseReportOrderBySubmissionDateAsc▲
Find all comments for one travel expense report.
Security
ROLE_SUPERVISOR or owner of the report.
Returns
A list of comments.
POST /▲
Create a new comment. Returns the created object.
Security
ROLE_SUPERVISOR or owner of the report.
Returns
A single comment.