Qeasy Cloud
Get Started

如何配置有成报销连接器和请求适配器

Source: Qeasy Cloud451 views

获取有成报销连接器信息及配置指南

建立连接器

  1. 使用管理员权限账号登录有成报销。如果是通过钉钉授权的账户,需要从钉钉进入。

  2. 在系统管理-开发者中心中,获取 appkeyappSecret

    upl-image-previewurl=//pic.qeasy.cloud/2024-07-09/1720519528-704928-8.png

  3. 将参数填入连接器中,host 固定为 https://www.h3yun.com/OpenApi/Invokeenginecode 填入 appKeyenginesecret 填入 appSecret

    upl-image-previewurl=//pic.qeasy.cloud/2024-07-09/1720519669-811374-13.png

配置请求适配器

  1. 请求适配器:\Adapter\Ycbg\YcbgQueryAdapter
  2. 获取单据 code 调用 /reimburse/base/getTemplateList.rjson 接口,用于查询请求单据列表所需的相关字段。以下为一次性查询的调度者源数据,并保留原始返回参数以备后续配置使用。其中 templateCode 为各单据的单据 code。
{
  "api": "/reimburse/base/getTemplateList.rjson",
  "type": "RESTful",
  "effect": "QUERY",
  "method": "POST",
  "number": "templateName",
  "id": "templateCode",
  "name": "id",
  "idCheck": true,
  "request": [],
  "otherRequest": [],
  "response": [
    {
      "field": "code",
      "label": "code",
      ...
    },
    {
      ...
      ...
    }
  ]
}

详细内容请参考 有成报销配置指南

Copyright Notice

The article "如何配置有成报销连接器和请求适配器" is original content owned by 广东轻亿云软件科技有限公司. Reposting, quoting, copying or mirroring is strictly prohibited without written authorization. Please contact us for authorization and credit the author and source (including the original link) prominently.