[wordpress插件] Dolibarr REST APIDolibarr REST API

wordpress 插件 文章 2020-04-21 00:20 608 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

WordPress plugin helper to connect to the Dolibarr ERP/CRM REST API.

WordPress插件助手,用于连接到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.

通过REST API连接到Dolibarr,以发送您的联系人,WooCommerce产品或适合您的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.

只有在WordPress管理员“插件”屏幕中未正确配置Dolibarr API时,您才会收到通知。

This plugin provides a simple tool for developers to use in their own plugin to connect to the Dolibarr REST API.

该插件为开发人员提供了一个简单的工具,供开发人员在自己的插件中使用以连接到Dolibarr REST API。

安装步骤

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:

可以通过WordPress仪表板中的“插件>添加新”屏幕搜索“ Dolibarr REST API”来完成“ Dolibarr REST API”的安装,或者使用以下步骤:

    1. Download the plugin via WordPress.org
    2. 通过WordPress.org下载插件

    3. Upload the ZIP file through the ‘Plugins > Add New > Upload’ screen in your WordPress dashboard
    4. 通过WordPress信息中心中的“插件>添加新文件>上传”屏幕上传ZIP文件

    5. Activate the plugin through the ‘Plugins’ menu in WordPress
    6. 通过WordPress中的“插件”菜单激活插件

    Dolibarr configuration steps:

    Dolibarr配置步骤:

      1. Activate the REST API for Dolibarr: go to menu Home > Setup > Modules/Applications and activate the API/Web services (REST server).
      2. 激活Dolibarr的REST API:进入菜单主页>设置>模块/应用程序,然后激活 API / Web服务(REST服务器)

      3. Generate and copy the admin user API key: go to menu Home > Users & groups, select your admin user in the list.

      4. 生成并复制管理员用户API密钥:进入菜单主页>用户和组,在列表中选择您的管理员用户。

        Once on the User card, click the Modify button and generate and copy the Key for API (see screenshot).

        放在用户卡上后,单击修改按钮,并生成并复制 API密钥(请参见屏幕截图)。

        Click the Save button.

      5. 点击保存按钮。

      WordPress configuration steps:

      WordPress配置步骤:

      1. Add the Dolibarr URL and your admin user API key to the wp-config.php file.

      1.将Dolibarr URL和您的管理员用户API密钥添加到 wp-config.php 文件中。

      Here is an example:
          

      这是一个示例:
          

      define( 'DOLIBARR_REST_API_URL', 'https://my-dolibarr.com/' );

      define('DOLIBARR_REST_API_URL','https://my-dolibarr.com/');

      define( 'DOLIBARR_REST_API_USER_KEY', 'M1e57FZ69D0ophaizqTRsNB6lQ3d0EA6' );

      define('DOLIBARR_REST_API_USER_KEY','M1e57FZ69D0ophaizqTRsNB6lQ3d0EA6');

下载地址
https://downloads.wordpress.org/plugin/dolibarr-rest-api.zip
-EOF-

AI助手支持GPT4.0