api for attendance by date range