Comments (3)
Hi @trainerbill,
Sorry for the delay in responding. The main reason for parsing xml was because the response when sending multiple control functions is not valid JSON. It's multiple JSON objects delimited concatenated together with no delimiter, not even a line break. Also, you lose some attributes about the control function's response, such as total result set count.
The JSON response format just seems like an afterthought for Intacct. Now, if we were able to get them to improve their API, I would be more than happy to work with you to convert this module to use JSON primarily.
from intacct-api.
Yeah I found that out the hard way after coverting to JSON.... Looks like they are adding node support in the near future. FYI
https://github.com/Intacct/intacct-sdk-js
from intacct-api.
Looks like they haven't done anything yet with the repo. I'm going to close this issue for now. If you have any ideas on possibly working around the xml to json conversion, I'm all for it. I just want to be careful about limiting the amount of information that a user has when making their requests. Hopefully, Intacct will reevaluate their API responses to truly support JSON responses.
from intacct-api.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intacct-api.