Issues with special characters in QBO API v3 .NET SDK

南笙酒味 提交于 2019-12-06 11:50:55

If you use Query endpoint, then please URL encode the query parameters.

For ex -

For the following query

select * from Customer where DisplayName='Aülleünte'

URL request would be

https://quickbooks.api.intuit.com/v3/company/<relamId>/query?query=select+*+from+Customer+where+DisplayName%3D%27A%C3%BClle%C3%BCnte%27

PN - Some QBO textfields(for ex - 'Description/Note' of Customer window) allow to enter control characters which gets returned as part of query response. As some of those characters are not supported in XML, object deserialization fails/shows warning. You should either remove those characters from UI or you need to use some lib/regex in the client side code to remove those characters programmatically. Ideally it should be handled in the server side.

QBO Global UI supports UTF-8 encoding for sure. But It seems, QBO US UI behaves differently while dealing with special characters.

For ex - In QBO US UI, if you enter '你好嗎' then after saving, it gets converted to ''.

Edit

Here is a list of accepted characters:

•Alpha-numeric (A-Z, a-z, 0-9)

•Comma (,)

•Dot or period (.)

•Question mark (?)

•At symbol (@)

•Ampersand (&)

•Exclamation point (!)

•Number/pound sign (#)

•Single quote (')

•Tilde (~)

•Asterisk (*)

•Space ( )

•Underscore (_)

•Minus sign/hyphen (-)

•Semi-colon (;)

•Plus sign (+)

Thanks

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!