Closed Krolken closed 5 years ago
I figured out that it was me using " instead of ' that triggered the syntax error. But then I encountered another problem on the visma API. They cannot compare a GUID against a string.
So need to build handling of that.
Have opened an issue with the Visma API Team about the API not accepting URL encoding of query parameters.
In the work of enabling filtering, ordering and pagination support we need to send query parameters in the Odata format to the Visma API. When doing this it seems we get an error in the parsing of the query parameters that are being URL encoded by the requests package. both problem with + and %20
GET: 'https://eaccountingapi-sandbox.test.vismaonline.com/v2/customers?$filter=Id%20eq%20%2291ff2390-968b-4ef7-877d-dd7aef616ae4%22'
Waiting for response