ETASCOM CRM V3 - Documentation API
    Preparing search index...
    • Parameters

      • req: NextRequest

      Returns Promise<
          | NextResponse<
              {
                  records: {
                      id: string;
                      userId: string;
                      userName: string;
                      userEmail: string;
                      employeeNumber: string
                      | undefined;
                      date: Date;
                      clockIn: Date;
                      clockOut: Date | null;
                      breakStart: Date | null;
                      breakEnd: Date | null;
                      totalWorkTime: number | null;
                      totalBreakTime: number | null;
                      location: string | null;
                      notes: string | null;
                      status: string;
                      correctedBy: string | null | undefined;
                      correctedAt: Date | null;
                      correctionReason: string | null;
                      createdAt: Date;
                      updatedAt: Date;
                  }[];
                  total: number;
                  limit: number;
                  offset: number;
              },
          >
          | NextResponse<{ error: string }>,
      >