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

      • request: NextRequest
      • __namedParameters: { params: Promise<{ id: string }> }

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  step: {
                      id: string;
                      sequence: number;
                      workStationId: string
                      | null;
                      operation: {
                          description: string | null;
                          duration: number | null;
                          durationType: string | null;
                          id: string;
                          instructions: {}[];
                          name: string;
                          ratePerHour: number | null;
                          requiredTools: string | null;
                          setupTime: number | null;
                          teardownTime: number | null;
                      };
                      workStation: | {
                          capacity: number
                          | null;
                          code: string;
                          costPerHour: number | null;
                          description: string | null;
                          id: string;
                          location: string | null;
                          name: string;
                          status: string;
                      }
                      | null;
                      workOrder: {
                          finishedProduct: { code: string; name: string }
                          | null;
                          id: string;
                          number: string;
                          status: WorkOrderStatus;
                      };
                      status: string;
                      operator: string;
                      plannedStart: string
                      | undefined;
                      plannedEnd: string | undefined;
                      actualStart: string | undefined;
                      actualEnd: string | undefined;
                      plannedDuration: number | null;
                      actualDuration: number | null;
                      efficiency: number | null;
                      qualityStatus: string | null;
                      scrapQuantity: number | null;
                      producedQuantity: number | null;
                      notes: string | null;
                  };
              },
          >,
      >