title: How to check the StatusCode in json object to get a string of httpResponse rest API
body: <p>I can't check StatusCode when REST API and parse JObject</p>
  
  <p><strong>code</strong></p>
  
  <pre><code>string jsonResponse = HttpRequest(HostAPI, "POST", paramModel);
  JObject jsonObject = JObject.Parse(jsonResponse);
  if (jsonObject["data"] != null &amp;&amp; jsonObject["StatusCode"]==200)  ????
  </code></pre>
  
  <p><strong>jsonResponse</strong> </p>
  
  <pre><code>{"data":[{"OBJID":1012540462,"SUPID":1041252952,"STATUSPTC":1.0,"DATEACTIVESUP":0.0}],"StatusCode":200}
  </code></pre>
  
  <p>I can not check StatusCode</p>
  
  <pre><code>if (jsonObject["StatusCode"]== 200) 
  {
     //do something
  }
  </code></pre>
  
  <p>Please help me if you know ???</p>