ETASCOM CRM V3 - Documentation API
    Preparing search index...
    • POST(
          request: NextRequest,
      ): Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  scanLog: { id: string; action: string; scannedAt: Date; metadata: {} };
                  workStation: {
                      id: string;
                      name: string;
                      code: string;
                      description: string | null;
                      location: string | null;
                      capacity: number | null;
                      costPerHour: number | null;
                      equipment: never[];
                      operations: never[];
                  };
                  workOrder: | {
                      id: string;
                      number: string;
                      status: WorkOrderStatus;
                      product: string
                      | undefined;
                      productCode: string | undefined;
                      steps: {
                          id: string;
                          sequence: number;
                          status: string;
                          operation: string;
                          operationCode: string;
                      }[];
                  }
                  | null;
              },
          >,
      >

      Parameters

      • request: NextRequest

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  scanLog: { id: string; action: string; scannedAt: Date; metadata: {} };
                  workStation: {
                      id: string;
                      name: string;
                      code: string;
                      description: string | null;
                      location: string | null;
                      capacity: number | null;
                      costPerHour: number | null;
                      equipment: never[];
                      operations: never[];
                  };
                  workOrder: | {
                      id: string;
                      number: string;
                      status: WorkOrderStatus;
                      product: string
                      | undefined;
                      productCode: string | undefined;
                      steps: {
                          id: string;
                          sequence: number;
                          status: string;
                          operation: string;
                          operationCode: string;
                      }[];
                  }
                  | null;
              },
          >,
      >