ETASCOM CRM V3 - Documentation API
    Preparing search index...
    • POST(
          request: NextRequest,
      ): Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  equipment: { code: string; id: string; name: string }
                  | null;
                  instructions: {
                      controlType: ControlType | null;
                      description: string;
                      descriptionAr: string | null;
                      frequency: string | null;
                      id: string;
                      isActive: boolean;
                      maxValue: number | null;
                      method: string | null;
                      minValue: number | null;
                      sequence: number;
                      targetValue: number | null;
                      type: InstructionType;
                      unit: string | null;
                  }[];
                  routing: | {
                      finishedProduct: { code: string; name: string };
                      id: string;
                      name: string;
                  }
                  | null;
                  workCenter: { code: string; id: string; name: string }
                  | null;
              } & {},
          >,
      >

      Parameters

      • request: NextRequest

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  equipment: { code: string; id: string; name: string }
                  | null;
                  instructions: {
                      controlType: ControlType | null;
                      description: string;
                      descriptionAr: string | null;
                      frequency: string | null;
                      id: string;
                      isActive: boolean;
                      maxValue: number | null;
                      method: string | null;
                      minValue: number | null;
                      sequence: number;
                      targetValue: number | null;
                      type: InstructionType;
                      unit: string | null;
                  }[];
                  routing: | {
                      finishedProduct: { code: string; name: string };
                      id: string;
                      name: string;
                  }
                  | null;
                  workCenter: { code: string; id: string; name: string }
                  | null;
              } & {},
          >,
      >