title: syntax error with api call and jason string
body: <p>I have a syntax error<br />
  under parameter type is the red lines and error message<br />
  Where there is a red underline there is this message: Types of parameters that cn be added to request<br />
  CS1003: Syntax error. &quot;,&quot; Expected
  how can I correct the code?</p>
  <pre class="lang-cs prettyprint-override"><code>request.AddParameter(&quot;application/json&quot;, &quot;query&quot;,
                 &quot;{&quot; +
                     &quot;\&quot;cabinet\&quot;:\&quot;Posteingang\&quot;,&quot; +
                     &quot;\&quot;name\&quot;:\&quot;Posteingang\&quot;,&quot; +
                     &quot;\&quot;objectTypeId\&quot;:\&quot;2\&quot;,&quot; +
                     &quot;\&quot;fields\&quot;:{&quot; +
                     &quot;\&quot;Eingangsdatum\&quot;:{\&quot;value\&quot;:\&quot;&quot; + DateTime.Now.ToString(&quot;dd.MM.yyyy&quot;) + &quot;\&quot;}&quot; +
                     &quot;}&quot; +
                 &quot;}&quot; ParameterType.RequestBody);
  
  IRestResponse response = client.Execute(request);
  
  List&lt;SearchResult&gt; searchResults1 = JsonConvert.DeserializeObject&lt;List&lt;SearchResult&gt;&gt;(response.Content);
  
  Console.WriteLine(response.Content);
  </code></pre>