Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > Wrapper libraries >

C# Contact search incorrect result with sepecial character

Started by Lance Parker -   in Wrapper libraries

I'm using C# wrapper and trying to search for a contact with name H&M but it is not possible.
Tried with another contact name HM, everything is fine.
I guess I need to encode the '&' char in search query but not sure with encode method is nessessary here. Could anyone help me this?
With the help from Welli (Support specialist) find out the reason for my wrong query:
As per documentation - https://developer.xero.com/documentation/api/requests-and-responses - Xero API uses percent encoding.
 

Lance Parker