title: Trying to call getJSON with Knockout
body: <p>This is my code:</p>
  
  <pre><code>    $('#idapiNumber').focusout(function () {
  
          var wellViewModel = function (APINumber, OperatorName) {
              this.APINumber = ko.observable(APINumber);
              this.OperatorName = ko.observable(OperatorName);
          };
  
         ko.applyBindings(new wellViewModel("", ""));
  
          var searchDoggrOPIAPI = "api/values";
          $.getJSON(searchDoggrOPIAPI, function (data) { data = JSON.stringify(wellViewModel()) },     function (data, textStatus, jqXHR) { alert("Status: " + textStatus); });
  
      });
  
  &lt;/script&gt;
  </code></pre>
  
  <p>and this is my Page:</p>
  
  <pre><code>&lt;label for="idapiNumber"&gt;API Number&lt;/label&gt;
  &lt;input id="idapiNumber" data-bind="value: APINumber" type="text" placeholder="API Number" class="form-control" /&gt;
  
  &lt;label for="OperatorName"&gt;Operator Name&lt;/label&gt;
  &lt;input id="OperatorName" data-bind="value: OperatorName" type="text" class="form-control" /&gt;
  </code></pre>
  
  <p>This is the error I am getting:</p>
  
  <p><img src="https://i.stack.imgur.com/45rSL.png" alt="enter image description here"></p>
  
  <p>can't figure out why I am getting this error.</p>