Overview
The Personal Data Capture API allows you to collect and manage comprehensive personal information for candidates undergoing background evaluations in the vLife DGO system. This includes demographic data, contact information, residential address, and social media profiles.Authentication
All endpoints require authentication via theisLoggedIn middleware. Users must have an active session to access these endpoints.
Get Personal Data
Retrieves existing personal data for a specific evaluation.Path Parameters
Encrypted evaluation ID that uniquely identifies the candidate’s evaluation record
Response
Returns a view with the following data:Complete personal data record for the candidate
Array of social media accounts associated with the candidate
RFC (Tax ID) and CURP (National ID) information
Save Personal Data
Saves new personal data for a candidate in the permanencia (current employee) evaluation process.Request Body
Evaluation ID for the candidate
Demographic Information
Full name of the candidate
Date of birth
Place of birth
Nationality
Gender/Sex
Marital status
Age in years
Educational level
Government IDs
RFC (Registro Federal de Contribuyentes) - Tax ID
CURP (Clave Única de Registro de Población) - National ID
Contact Information
Landline phone number
Mobile/cell phone number
Office phone number
Office phone extension
Emergency/message phone number
Name of person who takes messages
Email address
Residential Address
Street name and number
Neighborhood/Colony
Postal code
City/Locality
State
Years living at current address
Number of people living in the household
Cross streets (between which streets)
Facade/building description
Additional observations or notes
Google Maps link or coordinates
Encrypted evaluation data for redirection
Response
“Datos personales guardados, captura redes sociales” - Success message prompting to capture social networks
Example Request
Update Personal Data
Updates existing personal data for a candidate.Request Body
ID of the personal data record to update
evalID is not required).
Response
“Datos personales actualizados” - Personal data updated successfully
Save Social Network
Adds a social media account to the candidate’s profile.Request Body
Evaluation ID for the candidate
Type of social network (e.g., “Facebook”, “Twitter”, “Instagram”, “LinkedIn”)
Username or profile URL on the social network
Response
“Red social guardada” - Social network saved successfully
Example Request
Delete Social Network
Removes a social media account from the candidate’s profile.Request Body
ID of the social network record to delete
Response
“Red social borrada” - Social network deleted successfully
Error Responses
All endpoints return the following error response on failure:“Algo salio mal !” - Generic error message indicating something went wrong
Notes
- All POST endpoints redirect back to the previous page after completion
- Flash messages are used to communicate success or error states
- Personal data must be saved before social networks can be added
- The encrypted data parameter ensures data security during transmission