Comments (5)
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.
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.
@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.
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.
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)
- Issue about Page user/core-modules/Target Lists.adoc
- Update the documentation for v8.1.2 API calls HOT 2
- Automatic section numbering
- Issue about Page admin/installation-guide/Downloading
- Issue about Page user/modules/PasswordManagement.adoc HOT 2
- Issue about Page user/introduction/User Interface/Record Management.adoc HOT 2
- Issue about Page user/advanced-modules/PDFTemplates.adoc HOT 2
- Send PDF via email don't send the attached PDF
- Issue about Page developer/api/Developer-setup-guide/JSON-API.adoc
- Learn Theme is no longer maintained; move to Relearn Theme
- Issue about Page 8.x/developer/extensions/frontend/fe-extensions-setup.adoc
- Issue about Page blog/creating-custom-field-types.adoc
- Issue about Page 8.x/admin/installation-guide/running-the-cli-installer.adoc
- Issue about Page developer/api/Developer-setup-guide/Requirements.adoc HOT 1
- Issue about Page admin/administration-panel/Google Sync.adoc HOT 2
- Issue about Page developer/Entry Points.adoc
- Issue about Page developer/database-schema.adoc HOT 1
- Issue about Page developer/database-schema.adoc HOT 1
- Issue about Page 8.x/admin/releases/8.2/_index.en.adoc HOT 1
- Advance Search in Meetings module, filtered by starting date not working HOT 3
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 suitedocs.