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

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

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  success: boolean;
                  message: string;
                  data: {
                      id: string;
                      workOrderId: string
                      | null;
                      workOrderNumber: string;
                      workOrder:
                          | { id: string; number: string; product: string; client: string }
                          | null;
                      operationId: string;
                      operation: {
                          id: string;
                          name: string;
                          code: string;
                          description: string | null;
                      };
                      controlType: string;
                      result: string
                      | null;
                      passed: boolean;
                      performedBy: string | null;
                      performedAt: Date;
                      notes: string | null;
                      photos: string[];
                      attachments: string[];
                      status: string;
                  };
              },
          >,
      >