问题
How do you use Intuit.Ipp.Data.Qbo.CustomerQuery to query a name like:
Tom & Jerry's
This case has 2 special characters that are causing the query to fail. One being & and the other being '. I've tried to use Uri.EscapeDataString and it doesn't work. Any advice?
回答1:
The SDK does not encode the ampersand correctly, so you will need to use DevDefined and deserialize the response with the SDK. Code sample: https://gist.github.com/IntuitDeveloperRelations/6024616
回答2:
you would need to xml encode the string.
thanks
Jarred
来源:https://stackoverflow.com/questions/16329777/intuit-ipp-data-qbo-customerquery-query-with-in-the-name