Giter VIP home page Giter VIP logo

Comments (3)

mrlannigan avatar mrlannigan commented on July 22, 2024

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.

trainerbill avatar trainerbill commented on July 22, 2024

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.

mrlannigan avatar mrlannigan commented on July 22, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.