Endpoint
Generates a CSV file containing employee data formatted for the photocheck (fotocheck) system. The response is a downloadable CSV file with employee information required for ID card generation.Request
Headers
Body Parameters
Array of employee objects to include in the CSV file
Response
Returns a CSV file with the following headers:| Column | Description | Format |
|---|---|---|
| CARGO | Job position | Text |
| DIVISION | Work location/division | Text |
| DNI | Document number | Text |
| APELLIDO | Full last name (paternal + maternal) | Text |
| NOMBRE | First name | Text |
Response Headers
Despite the Content-Type header indicating a spreadsheet format, the actual file generated is a CSV that can be opened with Excel or imported into photocheck systems.
Example
Sample CSV Output
Error Responses
Empty Request Body
Too Many Employees
Validation Error
Notes
- The output is a CSV file, not an Excel file, despite the filename extension
- The APELLIDO column combines both paternal and maternal last names with a space
- File is compatible with most photocheck/ID card printing systems
- CSV format uses comma as delimiter
- Headers are in uppercase for system compatibility
- Minimum 1 employee required, maximum 50 employees per batch
- File name is always
Fotocheck.csv - No date formatting required for this endpoint
- Only basic employee information is needed (no salary, dates, etc.)