获取氚云连接器信息及配置指南
开发文档:氚云挂配器配置指南
建立连接器
-
登录氚云
- 账号需要具备管理员权限。
- 氚云登录入口:https://www.h3yun.com/entry/
-
获取授权信息
- 在个人中心获取
EngineCode
和Secret
。
- 在个人中心获取
-
输入连接器信息
Host
固定为https://www.h3yun.com/OpenApi/Invoke
配置请求适配器
-
请求适配器路径
\Adapter\ChuanYun\ChuanYunQueryAdapter
-
获取表单ID和字段key
- 注意:明细表的字段key格式为
表key.字段key
。
- 注意:明细表的字段key格式为
-
请求调度者配置
- API:
LoadBizObjects
- 请求方式:
POST
- 特殊注意事项:① 启用数据建模;② 过滤条件配置复杂。
过滤条件示例:
-
ModifiedTime
大于等于上次同步时间:{ "Type": "Item", "Name": "ModifiedTime", "Operator": 1, "Value": "{{LAST_SYNC_TIME|datetime}}" }
-
ModifiedTime
大于等于上次同步时间且status
等于0且F000018
等于否:{ "Type": "And", "Matchers": [ { "Type": "Item", "Name": "ModifiedTime", "Operator": 1, "Value": "{{LAST_SYNC_TIME|datetime}}" }, { "Type": "Item", "Name": "Status", "Operator": 2, "Value": "0" }, { "Type": "Item", "Name": "F000018", "Operator": 2, "Value": "否" } ] }
- API:
范例请求参数:
{
"SchemaCode": "D2857040ec1eb366ceb47dfb7441cb8e1f9bc63",
"BizObjectId": "e0c37dfc-d89d-4d32-878e-53605c679baa",
"Filter": {
"FromRowNum": "0",
"RequireCount": true,
"ReturnItems": [],
"SortByCollection": [],
"ToRowNum": "100",
"Matcher": {
"Type": "Item",
"Name": "ModifiedTime",
"Operator": 1,
"Value": "2024-07-0911:00:24"
}
}
}
写入调度者配置
-
写入适配器路径
\Adapter\ChuanYun\ChuanYunExecuteAdapter
-
写入调度者配置
-
写入参数示例
{ "SchemaCode": "D2857040ec1eb366ceb47dfb7441cb8e1f9bc63", "BizObject": { "CreatedBy": "8b424a5b-cf2a-4c13-8b62-052a7f4aa1a8", "OwnerId": "8b424a5b-cf2a-4c13-8b62-052a7f4aa1a8", "F0000002": "CGJM002685", "F0000001": "***", "F0000003": "***", "F0000006": "人民币", "F0000015": "892300", "D285704Fbdebecea94c34b2b80064ae8ac4a108e": [ { "F0000009": "150800433", "F0000010": "StormLGRExtreme电控盒", "F0000011": "(空白)", "F0000016": "Pcs", "F0000012": "9.079646", "F0000017": "10.26", "F0000013": "2024-07-0900:00:00", "F0000014": "2100-01-0100:00:00", "F0000018": "TRUE", "F0000019": "130971" } ] }, "IsSubmit": false }