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

      • request: NextRequest

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  success: boolean;
                  data: {
                      operations: {
                          id: string;
                          code: string;
                          name: string;
                          description: string
                          | null;
                          content: string | null;
                          duration: number | null;
                          setupTime: number | null;
                          teardownTime: number | null;
                          durationType: string | null;
                          ratePerHour: number | null;
                          hasQualityControl: boolean;
                          controlType: string | null;
                          controlCount: number | null;
                          controlFrequency: string | null;
                          requiredTools: string | null;
                          isActive: boolean;
                          createdAt: Date;
                          updatedAt: Date;
                          routing: { id: string; name: string } | null;
                          equipment: { code: string; id: string; name: string } | null;
                          workStation: { code: string; id: string; name: string } | null;
                          timingABC:
                              | { cadencePerHour: number; id: string; totalTimePerUnit: number }
                              | null;
                      }[];
                      pagination: {
                          page: number;
                          limit: number;
                          total: number;
                          pages: number;
                      };
                  };
              },
          >,
      >