Git Product home page Git Product logo

Comments (5)

peterson-umoke avatar peterson-umoke commented on August 23, 2024

please @stefankugler , have you been able to successfully login to suitecrm using any of the login methods to get your access token?... if you have, can you guide me through it please.

from suitedocs.

stefankugler avatar stefankugler commented on August 23, 2024

Hi,

the example works, but there is a mod_rewrite error in the .htaccess file of suitecrm.
See eg. https://suitecrm.com/suitecrm/forum/installation-upgrade-help/17937-7-10-api-v8-swagger-json-results-in-no-input-file-specified

Here is a quick'n'dirty script for data import from a mysql database using unirest as REST library:
https://gist.github.com/stefankugler/ebc7b9421f7ed93ca3ba874edc4afa29

Maybe move this discussion to the suitecrm forum, if you have further questions.

Best regards,
Stefan

from suitedocs.

pgorod avatar pgorod commented on August 23, 2024

@stefankugler thanks for providing an example, this is always helpful!

But for an import, done in PHP, is there any reason to use the API? Why not use the Beans directly? I would say the API only needs to be used if the job has to be done remotely, or from a different system, but this is not the usual case for imports.

from suitedocs.

stefankugler avatar stefankugler commented on August 23, 2024

Thanks @pgorod for the hint! We had some simple import/export scripts from our previously used CRM, which worked via api. It was easy to adopt them (PHP and also Python).
I've read about Beans, but never thought about it. Looks promising for future tasks.
Best regards,
Stefan

from suitedocs.

pgorod avatar pgorod commented on August 23, 2024

Due to the many changes in the API code and the new documentation for it, I believe this might now be out-dated.

If not, you can open a new issue, but if possible I ask that you please make the suggested edits as a proposed Pull Request, it's easy:

docs.suitecrm.com/community/contributing-to-docs

Thanks!

from suitedocs.

Related Issues (20)

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.