Equipo y flota›List time off for a specific technician
List time off for a specific technician
Returns the technician's time-off records (pending, approved, rejected, cancelled), paginated, optionally bounded by start_date/end_date (YYYY-MM-DD, inclusive overlap) and status. Read this before recording a new block (overlaps are refused) and to see whether an absence is already recorded before `commitAbsenceResolve`.
Argumentos
idstringpathobligatorio
Technician ID
pageintegerqueryopcional
Page number (default 1)
limitintegerqueryopcional
Items per page (default 15)
start_datestringqueryopcional
Filter by start date (YYYY-MM-DD)
end_datestringqueryopcional
Filter by end date (YYYY-MM-DD)
status_idsarray<string>queryopcional
Filter by status (multi: pending|approved|rejected|cancelled)
keywordstringqueryopcional
Search reason (case-insensitive substring)
sincestringqueryopcional
RFC3339 cursor for short-polling; echo back next_since from prior response
GET/v1/technicians/{id}/time-off
curl -X GET "https://api.crisphive.com/v1/technicians/9b2f6c3e-1a4d-4f0a-8f2e-7c5d1b3a9e01/time-off" \ -H "Authorization: Bearer chsk_test_4eC8xQ9mZ2pL7Ka0rT"
Bearer