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

      • request: NextRequest

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  overview: {
                      totalOperations: number;
                      activeOperations: number;
                      inactiveOperations: number;
                  };
                  byRouting: {
                      routingId: string
                      | null;
                      routingName: string;
                      productName: string;
                      count: number;
                  }[];
                  mostUsed: {
                      id: string;
                      name: string;
                      routingName: string;
                      productName: string;
                      usageCount: number;
                  }[];
                  byWorkCenter: {
                      workCenterId: string
                      | null;
                      workCenterName: string;
                      count: number;
                  }[];
                  byEquipment: {
                      equipmentId: string
                      | null;
                      equipmentName: string;
                      count: number;
                  }[];
              },
          >,
      >