الفريق والأسطول›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`.
المعاملات
idstringpathمطلوب
Technician ID
pageintegerqueryاختياري
Page number (default 1)
limitintegerqueryاختياري
Items per page (default 15)
start_datestringqueryاختياري
Filter by start date (YYYY-MM-DD)
end_datestringqueryاختياري
Filter by end date (YYYY-MM-DD)
status_idsarray<string>queryاختياري
Filter by status (multi: pending|approved|rejected|cancelled)
keywordstringqueryاختياري
Search reason (case-insensitive substring)
sincestringqueryاختياري
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