The Employees API manages the internal workforce — technicians, supervisors, and administrators — who execute and coordinate field work orders. Each employee is associated with aDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/CLINTONARMANDO/apiregistropendientes/llms.txt
Use this file to discover all available pages before exploring further.
cargo (job title/position). Cargos are managed through a separate set of sub-endpoints on the same base path.
All endpoints require a valid Bearer token. Include
Authorization: Bearer <token> in every request header.Employees
Create an employee
POST /api/empleados
Creates a new active employee record.
First name of the employee.
Paternal surname.
Maternal surname.
Contact phone number.
Work email address.
ID of the cargo (position) to assign. Use
GET /api/empleados/cargos to retrieve valid IDs.Start date in
YYYY-MM-DD format (e.g., 2026-01-15).Response
Unique employee ID.
First name.
Paternal surname.
Maternal surname.
Phone number.
Email address.
Assigned position.
Hire date in
YYYY-MM-DD format.true if the record is active.List active employees
GET /api/empleados
Returns all employees where vigente = true.
Update an employee
PUT /api/empleados/{id}
Updates an existing employee’s information.
The numeric ID of the employee to update.
Delete an employee
DELETE /api/empleados/{id}
Soft-deletes an employee by setting vigente = false. The record is preserved in the database.
The numeric ID of the employee to deactivate.
Cargos (Job Positions)
Cargos represent job titles or positions within the organization. Every employee must be assigned a cargo.Create a cargo
POST /api/empleados/cargo
Creates a new job position.
Position name (e.g.,
Técnico de Campo).Description of the responsibilities for this position.
List active cargos
GET /api/empleados/cargos
Returns all job positions where vigente = true.
Update a cargo
PUT /api/empleados/cargo/{id}
Updates an existing job position.
The numeric ID of the cargo to update.
Updated position name.
Updated description.
Delete a cargo
DELETE /api/empleados/cargo/{id}
Soft-deletes a job position by setting vigente = false.
The numeric ID of the cargo to deactivate.