Dieses Plugin wurde nicht mit den 3 neuesten Hauptversionen von WordPress getestet. Es wird möglicherweise nicht mehr gepflegt oder unterstützt und kann bei der Verwendung mit neueren WordPress-Versionen zu Kompatibilitätsproblemen führen.

Dolibarr REST API

Beschreibung

WordPress plugin helper to connect to the Dolibarr ERP/CRM REST API. Connect to Dolibarr through the REST API to send your contacts, WooCommerce products or any data that will fit in your ERP/CRM.
This plugin has got no interface. You will only get notified in case the Dolibarr API is not correctly configured from the WordPress admin „Plugins“ screen.
This plugin provides a simple tool for developers to use in their own plugin to connect to the Dolibarr REST API.

Installation

Installing „Dolibarr REST API“ can be done either by searching for „Dolibarr REST API“ via the „Plugins > Add New“ screen in your WordPress dashboard, or by using the following steps:

  1. Download the plugin via WordPress.org
  2. Upload the ZIP file through the ‚Plugins > Add New > Upload‘ screen in your WordPress dashboard
  3. Activate the plugin through the ‚Plugins‘ menu in WordPress

Dolibarr configuration steps:

  1. Activate the REST API for Dolibarr: go to menu Home > Setup > Modules/Applications and activate the API/Web services (REST server).
  2. Generate and copy the admin user API key: go to menu Home > Users & groups, select your admin user in the list. Once on the User card, click the Modify button and generate and copy the Key for API (see screenshot). Click the Save button.

WordPress configuration steps:
1. Add the Dolibarr URL and your admin user API key to the wp-config.php file. Here is an example:
define( 'DOLIBARR_REST_API_URL', 'https://my-dolibarr.com/' );
define( 'DOLIBARR_REST_API_USER_KEY', 'M1e57FZ69D0ophaizqTRsNB6lQ3d0EA6' );

FAQ

Does this plugin depend on any others?

No, but it depends on a working instance of the Dolibarr ERP, accessible from the network.

Does this create new database tables?

No. There are no new database tables with this plugin.

Does this load additional JS or CSS files ?

No. This plugin does not load additional CSS or JS files.

What does this plugin do?

This plugin is useless on its own. It should be combined with another plugin that actually interacts with the Dolibarr REST API (agenda, contacts, third parties, expense, clients, products, etc.).

How can I disable the request cache?

GET requests can be cached if explicitely stated (see the controller PHP code). Call the page adding &disable_cache=1 to the URL to disable cache.

Rezensionen

Die 1 Rezension lesen

Mitwirkende und Entwickler

„Dolibarr REST API“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

Übersetze „Dolibarr REST API“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN-Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

1.0.0

  • 2018-11-28
  • Initial release