Gesturcit API
integerstring | nullstring | nullstring | nullstring | nullstring | null · emailarray | nullinteger | nullinteger | nullstring | nullstring | nullstring | null · date-timestring | null · date-time
string · requiredstring · requiredstring · email · requiredstring · password · requiredstring · requiredstring | nullstring | nullinteger | nullinteger | nullstring | nullintegerstring | nullstring | nullstring | nullstring | nullstring | null · emailarray | nullinteger | nullinteger | nullstring | nullstring | nullstring | null · date-timestring | null · date-time
integer · requiredintegerstring | nullstring | nullstring | nullstring | nullstring | null · emailarray | nullinteger | nullinteger | nullstring | nullstring | nullstring | null · date-timestring | null · date-time
integer · requiredstring · requiredstring · requiredstring · email · requiredstring · password · requiredstring · requiredstring | nullstring | nullinteger | nullinteger | nullstring | nullintegerstring | nullstring | nullstring | nullstring | nullstring | null · emailarray | nullinteger | nullinteger | nullstring | nullstring | nullstring | null · date-timestring | null · date-time
Gestion de empleados y mesas asignadas
Listar empleados
GET
http://localhost:8000/api
/employees
Devuelve empleados con la relacion de mostrador cargada.
Listar empleados › Responses
200
Empleados disponibles
idfirstNamelastNameemployeeNumberemployeeDNIemailassignedAppointmentType_idoverthecounter_idnow_appointmentrolepasswordHash almacenado por el backend cuando el endpoint legacy expone el modelo completo.
created_atupdated_at
Crear empleado
POST
http://localhost:8000/api
/employees
Crea un empleado. El campo assignedAppointmentType_id se espera como texto JSON serializado.
Crear empleado › Request Body
firstNamelastNameemailpasswordassignedAppointmentType_idArray JSON serializado, por ejemplo "[1,2,3]".
employeeNumberemployeeDNIoverthecounter_idnow_appointmentroleCrear empleado › Responses
Empleado creado
idfirstNamelastNameemployeeNumberemployeeDNIemailassignedAppointmentType_idoverthecounter_idnow_appointmentrolepasswordHash almacenado por el backend cuando el endpoint legacy expone el modelo completo.
created_atupdated_at
Obtener empleado
GET
http://localhost:8000/api
/employees/{id}
path Parameters
idObtener empleado › Responses
Empleado encontrado
idfirstNamelastNameemployeeNumberemployeeDNIemailassignedAppointmentType_idoverthecounter_idnow_appointmentrolepasswordHash almacenado por el backend cuando el endpoint legacy expone el modelo completo.
created_atupdated_at
Actualizar empleado
PUT
http://localhost:8000/api
/employees/{id}
path Parameters
idActualizar empleado › Request Body
firstNamelastNameemailpasswordassignedAppointmentType_idArray JSON serializado, por ejemplo "[1,2,3]".
employeeNumberemployeeDNIoverthecounter_idnow_appointmentroleActualizar empleado › Responses
Empleado actualizado
idfirstNamelastNameemployeeNumberemployeeDNIemailassignedAppointmentType_idoverthecounter_idnow_appointmentrolepasswordHash almacenado por el backend cuando el endpoint legacy expone el modelo completo.
created_atupdated_at
