0

Is there any way to escape encoding of special character of the c# smartsheet api ?

likewise i would like to perform a search with double quotes:

https://api.smartsheet.com/2.0/search?query="Previoo"

Although, on the implemtantation on the api the query is escaped: https://github.com/smartsheet-platform/smartsheet-csharp-sdk/blob/master/main/Smartsheet/Api/Internal/SearchResourcesImpl.cs line 120 :

parameters.Add("query", Uri.EscapeDataString(query));

1 Answers1

0

Have you tried escaping the quote characters in your query value and seeing your results? It does look like the SDK is explicitly escaping the value given. I would open an issue on the SDK and ask how this can be helped.

daveskull81
  • 627
  • 4
  • 7
  • The quotes are being escaped by the C# wrapper. I need to force the wrapper to unescape the encoding. I'll send a pull request to the github repository. – Etienne Mermillod Oct 11 '19 at 14:58