curl --request POST \
--url https://api.example.com/asistencia/iniciar \
--header 'Content-Type: application/json' \
--data '
{
"empleadoId": 123,
"unidadId": 123,
"foto": "<string>",
"unidadAsignadaId": 123,
"hora": "<string>"
}
'{
"success": true,
"data": null,
"message": "<string>"
}Initiates a work shift for an employee
curl --request POST \
--url https://api.example.com/asistencia/iniciar \
--header 'Content-Type: application/json' \
--data '
{
"empleadoId": 123,
"unidadId": 123,
"foto": "<string>",
"unidadAsignadaId": 123,
"hora": "<string>"
}
'{
"success": true,
"data": null,
"message": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://mintlify.com/exon-reyes/integra-backend/llms.txt
Use this file to discover all available pages before exploring further.
curl -X POST https://api.integra.com/asistencia/iniciar \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"empleadoId": 123,
"unidadId": 5,
"foto": "data:image/jpeg;base64,/9j/4AAQSkZJRg...",
"unidadAsignadaId": 5,
"hora": "08:00:00"
}'
{
"success": true,
"data": null,
"message": "Jornada iniciada"
}
{
"success": false,
"message": "El ID del empleado no puede ser nulo"
}
empleadoId and unidadId are mandatory fieldshora is not provided, the system uses the current server time