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