Skip to main content

Endpoint

GET /evaluacionvLife/evaluacionView/:encryptedData

Description

Retrieves all data associated with an employee evaluation, including personal information, family details, academic background, work history, economic data, references, and document upload status. The response structure varies based on the evaluation type (Permanencia vs. Nuevo Ingreso).

Authentication

This endpoint requires session-based authentication via the isLoggedIn middleware. Users must be authenticated before accessing this endpoint.

URL Parameters

encryptedData
string
required
The encrypted evaluation ID obtained from the Create Evaluation endpoint. This value is generated using ncrypt-js with the key "key_cecc".

Response Structure

The endpoint renders a view with comprehensive evaluation data. The data structure includes:

Core Evaluation Data

dataEvaluation
object
Core evaluation information

Section Data Collections

datosPersonales
array
Personal information data (latest active record)
datosFamiliares
array
Family member information (latest active record)
datosAcademicos
array
Academic background and education history
trayectoria
array
Work history and career trajectory
  • For Permanencia (tipo_eval = 1): Uses tbl_dgo_trayectoria
  • For Nuevo Ingreso (tipo_eval = 2): Uses tbl_dgo_trayectoriani
datosEconomicos
array
Economic and financial information (latest active record)
datosReferencias
array
Personal and professional references (latest active record)

Document Status

getDocumentosObligatorios
array
List of required documents for this evaluation type
getDocumentosOpcionales
array
List of optional documents for this evaluation type

Progress Tracking

TotalCaptura
integer
Number of completed data sections (out of 6 total sections)
  • Personal Data
  • Family Data
  • Academic Data
  • Work History
  • Economic Data
  • References
ProcessCaptureFormat
string
Formatted completion percentage for data capture (e.g., “83.33”)
ListoRevision
boolean
Indicates if evaluation is ready for review. Present only when all requirements are met:
  • Permanencia: All 6 sections complete + 5 required documents uploaded
  • Nuevo Ingreso: All 6 sections complete + 7 required documents uploaded

Evaluation Type Differences

Permanencia (tipo_eval = 1)

For permanent employee evaluations, the system requires:
  • 6 completed data sections
  • 5 mandatory document uploads

Required Documents (Permanencia)

ActaPerma
object
Birth certificate (documentoID: 10)
INE
object
Official identification (documentoID: 11)
Docmicilio
object
Proof of address (documentoID: 12)
Estudios
object
Education certificates (documentoID: 13)
Ingresos
object
Proof of income (documentoID: 14)

Optional Documents (Permanencia)

Cuenta
object
Bank account statements (documentoID: 15)
Cartilla
object
Military service card (documentoID: 16)
Credito
object
Credit bureau report (documentoID: 17)

Nuevo Ingreso (tipo_eval = 2)

For new hire evaluations, the system requires:
  • 6 completed data sections
  • 7 mandatory document uploads (includes motivation letter)

Required Documents (Nuevo Ingreso)

Acta
object
Birth certificate (documentoID: 1)
INE
object
Official identification (documentoID: 2)
Domicilio
object
Proof of address (documentoID: 5)
Estudios
object
Education certificates (documentoID: 6)
Cartilla
object
Military service card (documentoID: 7)
IngresosOpc
object
Proof of income (documentoID: 8)
Motivo
object
Letter of motivation for joining (from tbl_dgo_motivos_ingresos)
Credito
object
Credit bureau report (documentoID: 17)

Optional Documents (Nuevo Ingreso)

CuentasOps
object
Bank account statements (documentoID: 9)

Common Optional Documents (Both Types)

CuentaDepa
object
Department account (documentoID: 19)
Buro
object
Credit bureau (documentoID: 17)
PagoPareja
object
Spouse payment proof (documentoID: 20)
Fachada
object
Property facade photo (documentoID: 28)
Inmuebles
object
Property documentation (documentoID: 29)
Arma
object
Weapon permit (documentoID: 30)
TarjetaCirculacion
object
Vehicle registration card (documentoID: 31)
Procedimientos
object
Legal proceedings documentation (documentoID: 32)
ActividadesInformales
object
Informal activities declaration (documentoID: 33)
FotoEvaluado
object
Employee photo (documentoID: 34)

Additional Fields

Permanencia
boolean
Set to true for Permanencia evaluations (tipo_eval = 1)
NI
boolean
Set to true for Nuevo Ingreso evaluations (tipo_eval = 2)
Genero
boolean
Gender flag: true if employee gender is “MUJER” (female)

Database Operations

Primary Queries

Example Request

curl -X GET https://your-domain.com/evaluacionvLife/evaluacionView/U2FsdGVkX1+abc123... \
  -H "Cookie: connect.sid=your-session-cookie"

Completion Criteria

Ready for Review (Permanencia)

  • All 6 data sections completed (Personal, Family, Academic, Work, Economic, References)
  • Birth certificate uploaded
  • Official ID uploaded
  • Proof of address uploaded
  • Education certificates uploaded
  • Proof of income uploaded

Ready for Review (Nuevo Ingreso)

  • All 6 data sections completed (Personal, Family, Academic, Work, Economic, References)
  • Birth certificate uploaded
  • Official ID uploaded
  • Proof of address uploaded
  • Education certificates uploaded
  • Military service card uploaded
  • Proof of income uploaded
  • Letter of motivation submitted
  • Credit bureau report uploaded

Important Notes

  • The encrypted evaluation ID must be valid and decryptable using the key "key_cecc"
  • Only the most recent active record is retrieved for each data section (except academic data which retrieves all records)
  • Document upload status affects the ListoRevision flag and ability to finalize the evaluation
The progress percentage (ProcessCaptureFormat) is calculated as: (TotalCaptura / 6) * 100

Build docs developers (and LLMs) love