Skip to main content
POST
Create a new employee

Body

application/json
rut
string
required

RUT in format XX.XXX.XXX-X

Example:

"12.345.678-9"

first_name
string
required
Maximum string length: 100
Example:

"Juan"

last_name
string
required
Maximum string length: 100
Example:

"Pérez"

hire_date
string
required

ISO date string

Example:

"2024-01-15"

current_salary
string
required

Salary as string (will be converted to Decimal)

Example:

"1500000"

position_id
string
required
Example:

"uuid-of-position"

department_id
string
required
Example:

"uuid-of-department"

email
string
Example:

"juan@test.com"

phone
string
Maximum string length: 50
Example:

"+56912345678"

Response

Employee created successfully