API Documentation

/travelExpenseReportComments

Endpoints

MethodPath
GET/search/findByTravelExpenseReportOrderBySubmissionDateAsc
POST/

Projections

NameDescription
withEmployeeThe employee is embedded.

Structure

FieldnameFieldtypeValidations
idLong
textStringNot empty
submissionDateDateNot null
LinksSecurity
travelExpenseReportNo update or delete.
employeeNo 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.