Create a new attendance.

This endpoint creates an attendance entry for a one employee, so an user identifier is required to build this relationship. The following identifiers are the valid ones: userId, email or externalId. Also one startTime and one date are required.
The new entry will have an unique identifier _id. This value is returned in the body response.

A day accepts many attendance entries per employee but they cannot be overlapped. It means that if, for example, there is an entry the 2021-06-10 between 09:00 and 10:00 for the user E-111, then the creation of an new entry for E-111 in the 2021-06-10 whose startDate or endDate is between 09:00 and 10:00 will become a BAD REQUEST.

Language
URL
Click Try It! to start a request and see the response here!