跳到主要内容

远程数据源调用自定义连接器

1. 使用场景

本文主要介绍通过自定义连接器(HTTP 连接器和 Faas 连接器)(文末附带了调用钉钉官方连接器的相关信息)完成在宜搭页面调用外部数据源接口的功能,如果不使用自定义连接器而直接调用外部数据源会报跨域错误,自定义连接器则可以规避该错误,解决前端 JS 直接调用外部接口存在的跨域、鉴权等问题。

2. 使用步骤

2.1 创建自定义连接器

连接器的概念请参考 集成&自动化。创建自定义连接器请点击👉 连接器工厂 。Faas 连接器请参考 集成&自动化 - FaaS(云)连接器

2.2 表单页面/自定义页面内新建连接器数据源

2.2.1 新建连接器数据源

分为 3 步,新建连接器类型数据源 -> 选择连接器 -> 选择执行动作

2.2.1.1 新建数据源

2.2.1.2 选择连接器

2.2.1.3 选择执行动作

2.2.2 调用连接器数据源

2.2.2.1 自动触发调用

自动触发调用是在页面渲染后就会自动调用该接口,无需另外触发。

选择执行动作后,会自动将该接口所需要的参数同步到页面中,并且附有「参数说明」,按照接口要求配置参数即可。

2.2.2.2 手动触发调用

手动触发调用是需要通过用户点击等事件触发调用

用户配置好连接器数据源,执行动作参数无需配置。在js面板里通过宜搭提供的数据源调用 API 完成接口调用,示例如下。

this.dataSourceMap.connectorApi.load({
inputs: "xxxxx"
})

其中 inputs 参数要求如下:

  • http 连接器的 inputs 基本格式如下:
const inputs = JSON.stringify(
{
"path": {
"id": 1
},
"query": {
"name": "abc",
},
"header": {
"content-type": "application/json" ( 根据三方服务的要求填写, 可能的值还有 application/x-www-form-urlencoded、multipart/form-data等等)
},
"body":{
"desc":"test"
}
}
);
  • faas 连接器的 inputs 基本格式如下:
const inputs = JSON.stringify(
{
"body":{
"param1":"test"
}
}
);

http连接器的各字段详细信息如下:

名称

类型

是否必填

描述

path

object

三方接口 path 参数,由连接器动作定义中的 path 决定

query

object

三方接口 query 参数,由连接器动作定义中的 query 决定,如下图,query 可传 {"name":"abc"}


header

object

三方接口 header 参数,和连接器动作定义中的 header 参数保持一致,如

{"content-type": "application/json"}

body

object

三方接口 body 参数,由连接器动作定义中的 body 参数决定,如

{"desc": "test"}

faas 连接器仅有 body 参数

3. 注意项

3.1 接口返回值会默认增加一层包裹,解析时需注意

通过自定义连接器封装三方接口后,返回值结构如下所示:

/*返回值结构*/
{
"content": {
"serviceReturnValue": "自定义连接器(HTTP连接器或Faas连接器)的真实返回值"
},
"errorCode": "",
"errorExtInfo": null,
"errorLevel": "",
"errorMsg": "",
"success": true,
"throwable": ""
}

返回值示例:

/*示例值*/
{
"content": {
"serviceReturnValue": {
"Content": [
{
"ItemCode": "123",
"ItmsGrpNam": "组名",
"ItmsGrpCod": 1,
"ItemName": "名称",
"OrderId": 2,
"Remark": "评论"
}
],
"ErrorCode": 0,
"Success": 0
}
},
"errorCode": "",
"errorExtInfo": null,
"errorLevel": "",
"errorMsg": "",
"success": true,
"throwable": ""
}

4. 附加: 钉钉一方连接器信息

备注: 远程数据源调用钉钉三方连接器时serviceInfo如下

const serviceInfo = JSON.stringify(
{
"connectorInfo": {
"connectorId": "G-CONN-10161C143F2C0B01B8D00004", // 钉钉三方连接器唯一id
"actionId": "G-ACT-1015BF7DBC1A0B01B8D0000C", // 钉钉三方连接器的动作id
"type": "thirdConnector", // 钉钉三方连接器类型,thirdConnector
}
}
);


备注: 远程数据源调用钉钉官方连接器(也称为钉钉一方连接器)时serviceInfo如下

const serviceInfo = JSON.stringify(
{
"connectorInfo": {
"connectorId": "G-CONN-10161C143F2C0B01B8D00004", // 钉钉官方连接器唯一id
"actionId": "G-ACT-1015BF7DBC1A0B01B8D0000C", // 钉钉官方连接器的动作id
"type": "innerConnector", // 钉钉官方连接器类型,innerConnector
}
}
);

抓取的钉钉一方连接器信息如下:

参数解释:

G-CONN-10161C143F2C0B01B8D00004为连接器ID

G-ACT-10161C4580150B01B8D00018为连接器动作ID

inputs是入参描述信息

outputs是出参描述信息

inputsDefs是入参样例值

{
"G-CONN-10161C143F2C0B01B8D00004": {
"connectorId": "G-CONN-10161C143F2C0B01B8D00004",
"name": "待办任务1.0",
"description": "待办任务连接器",
"actionMap": {
"G-ACT-10161C4580150B01B8D00018": {
"name": "创建待办任务",
"description": "创建待办任务集成流",
"actionId": "G-ACT-10161C4580150B01B8D00018",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"recordId\":\"类型:String ;说明:待办事项ID\" }, \"success\":\"类型:Boolean ;说明:是否成功\" }",
"inputs": "{ \"createTime\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 待办时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\", \"originatorUserId\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 发起人\\",\\"type\\":\\"Array\\",\\"required\\":true}\", \"formItemList\":\"{\\"comment\\":\\"内容\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"title\":\"{\\"comment\\":\\"待办事项的标题,最多50个字符\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"userId\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 任务的执行人\\",\\"type\\":\\"Array\\",\\"required\\":true}\", \"url\":\"{\\"comment\\":\\"待办事项的跳转链接\\",\\"type\\":\\"String\\",\\"required\\":true}\" }",
"inputDefs": "{ \"createTime\":1644978183747, \"originatorUserId\":[], \"formItemList\":\"\", \"title\":\"\", \"userId\":[], \"url\":\"\" }"
}
}
}
},
"G-CONN-1015BCB4C9EF0B01B8D0000R": {
"connectorId": "G-CONN-1015BCB4C9EF0B01B8D0000R",
"name": "日程",
"description": "【钉钉官方】日程 提示:日程变更事件只有用户主企业会接收到变更事件",
"actionMap": {
"G-ACT-1015BF7DBC1A0B01B8D0000C": {
"name": "创建日程",
"description": "创建日程",
"actionId": "G-ACT-1015BF7DBC1A0B01B8D0000C",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"id\":\"类型:String ;说明:日程唯一id\" }, \"success\":\"类型:Boolean ;说明:是否成功\" }",
"inputs": "{ \"summary\":\"{\\"comment\\":\\"日程标题\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"attendees\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 参与人\\",\\"type\\":\\"Array\\",\\"required\\":true}\", \"start\":{ \"dateTime\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 开始时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\" }, \"description\":\"{\\"comment\\":\\"备注\\",\\"type\\":\\"String\\",\\"required\\":false}\", \"end\":{ \"dateTime\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 结束时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\" }, \"userId\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 日程组织者\\",\\"type\\":\\"Array\\",\\"required\\":true}\" }",
"inputDefs": "{ \"summary\":\"\", \"attendees\":[], \"start\":{ \"dateTime\":1644978183788 }, \"description\":\"\", \"end\":{ \"dateTime\":1644978183788 }, \"userId\":[] }"
}
}
}
},
"G-CONN-101630A4F32B0B1738B30004": {
"connectorId": "G-CONN-101630A4F32B0B1738B30004",
"name": "消息通知",
"description": "【钉钉官方】消息通知",
"actionMap": {
"G-ACT-101630A5FDB60B1738B3001C": {
"name": "发送消息到企业群",
"description": "发送群消息",
"actionId": "G-ACT-101630A5FDB60B1738B3001C",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"messageId\":\"类型:String ;说明:消息id\" }, \"success\":\"类型:Boolean ;说明:是否成功\" }",
"inputs": "{ \"msg\":\"{\\"comment\\":\\"消息内容\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"chatId\":\"{\\"comment\\":\\"群会话id\\",\\"type\\":\\"String\\",\\"required\\":true}\" }",
"inputDefs": "{ \"msg\":\"\", \"chatId\":\"\" }"
}
}
}
},
"G-CONN-10163054A1650B1738B3000C": {
"connectorId": "G-CONN-10163054A1650B1738B3000C",
"name": "场景群",
"description": "【钉钉官方】场景群",
"actionMap": {
"G-ACT-101630556D8B0B01B8D0001A": {
"name": "创建场景群",
"description": "根据定义的模板id,创建自定义场景群",
"actionId": "G-ACT-101630556D8B0B01B8D0001A",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"chatId\":\"类型:String ;说明:群会话id\" }, \"success\":\"类型:Boolean ;说明:是否成功\" }",
"inputs": "{ \"userIds\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 群成员列表\\",\\"type\\":\\"Array\\",\\"required\\":true}\", \"ownerUserId\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 群主\\",\\"type\\":\\"Array\\",\\"required\\":true}\", \"title\":\"{\\"comment\\":\\"群名称\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"managementType\":\"{\\"comment\\":\\"是否可管理 填0表示所有人可管理;填1表示仅群主可管理\\",\\"type\\":\\"String\\",\\"required\\":true}\" }",
"inputDefs": "{ \"userIds\":[], \"ownerUserId\":[], \"title\":\"\", \"managementType\":\"0\" }"
}
}
}
},
"G-CONN-1016305090060B01B8D0000G": {
"connectorId": "G-CONN-1016305090060B01B8D0000G",
"name": "视频会议",
"description": "【钉钉官方】视频会议",
"actionMap": {
"G-ACT-10167F3F6D890B01B8D0001O": {
"name": "预约视频会议",
"description": "预约视频会议",
"actionId": "G-ACT-10167F3F6D890B01B8D0001O",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"onlineMeetingInfo\":{ \"conferenceId\":\"类型:String ;说明:视频会议id\", \"url\":\"类型:String ;说明:视频会议链接\" }, \"id\":\"类型:String ;说明:日程唯一id\" }, \"success\":\"类型:Boolean ;说明:是否成功\" }",
"inputs": "{ \"summary\":\"{\\"comment\\":\\"日程标题\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"attendees\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 参与人\\",\\"type\\":\\"Array\\",\\"required\\":false}\", \"start\":{ \"dateTime\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 开始时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\" }, \"description\":\"{\\"comment\\":\\"备注\\",\\"type\\":\\"String\\",\\"required\\":false}\", \"end\":{ \"dateTime\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 结束时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\" }, \"userId\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 日程组织者\\",\\"type\\":\\"Array\\",\\"required\\":true}\" }",
"inputDefs": "{ \"summary\":\"\", \"attendees\":[], \"start\":{ \"dateTime\":1644978183869 }, \"description\":\"\", \"end\":{ \"dateTime\":1644978183869 }, \"userId\":[] }"
}
},
"G-ACT-101630522B320B1738B3001Z": {
"name": "创建视频会议",
"description": "创建视频会议",
"actionId": "G-ACT-101630522B320B1738B3001Z",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"conferenceId\":\"类型:String ;说明:会议ID\", \"hostPassword\":\"类型:String ;说明:主持人密码\", \"externalLinkUrl\":\"类型:String ;说明:入会链接\", \"conferencePassword\":\"类型:String ;说明:会议密码\" }, \"success\":\"类型:Boolean ;说明:是否成功\" }",
"inputs": "{ \"confTitle\":\"{\\"comment\\":\\"会议主题\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"unionId\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 会议发起人\\",\\"type\\":\\"Array\\",\\"required\\":true}\" }",
"inputDefs": "{ \"confTitle\":\"\", \"unionId\":[] }"
}
},
"G-ACT-1016401908B10B1738B3000D": {
"name": "批量查询视频会议信息",
"description": "批量查询视频会议信息",
"actionId": "G-ACT-1016401908B10B1738B3000D",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"infos\":[ {} ] }, \"success\":\"类型:Boolean ;说明:是否成功\" }",
"inputs": "{ \"conferenceIdList\":\"{\\"comment\\":\\"视频会议id\\",\\"type\\":\\"String\\",\\"required\\":true}\" }",
"inputDefs": "{ \"conferenceIdList\":\"\" }"
}
}
}
},
"G-CONN-1015E95287E10B01B8D0000W": {
"connectorId": "G-CONN-1015E95287E10B01B8D0000W",
"name": "日清月结",
"description": "制造业连接器",
"actionMap": {
"G-ACT-1015E963D5EC0B1738B3001C": {
"name": "日清月结-计件报工",
"description": "日清月结-计件报工",
"actionId": "G-ACT-1015E963D5EC0B1738B3001C",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"count\":\"类型:Number ;说明:更新记录的条数\", \"id\":\"类型:Number ;说明:新增记录的数据ID\", \"uuid\":\"类型:String ;说明:此次上报的计件数据的唯一标识\" }, \"success\":\"类型:Boolean ;说明:标识调用是否成功,true 表示成功,false 表示失败\", \"errorCode\":\"类型:String ;说明:错误码\", \"errorMsg\":\"类型:String ;说明:错误信息\" }",
"inputs": "{ \"processEnName\":\"{\\"comment\\":\\"制程英文名称\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"scrappedQuantity\":\"{\\"comment\\":\\"报废数量\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"productSpecification\":\"{\\"comment\\":\\"产品规格\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"qualifiedQuantity\":\"{\\"comment\\":\\"合格数量\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"productEnName\":\"{\\"comment\\":\\"产品英文名称\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"reworkableQuantity\":\"{\\"comment\\":\\"可重工数量\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"userName\":\"{\\"comment\\":\\"员工姓名\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"uuid\":\"{\\"comment\\":\\"随机字符串,唯一标识,用于幂等及更新\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"userId\":\"{\\"comment\\":\\"用户 ID\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"productName\":\"{\\"comment\\":\\"产品名称,例如:双头螺柱001\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"extend\":\"{\\"comment\\":\\"扩展字段,用于增加自定义字段\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"productCode\":\"{\\"comment\\":\\"产品唯一标识\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"processName\":\"{\\"comment\\":\\"制程名称\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"mesAppKey\":\"{\\"comment\\":\\"MES系统唯一标识\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"instNo\":\"{\\"comment\\":\\"工单编号\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"manufactureDate\":\"{\\"comment\\":\\"生产日期时间,格式:yyyy-MM-dd HH:mm:ss\\",\\"type\\":\\"String\\",\\"required\\":true}\" }",
"inputDefs": "{ \"processEnName\":\"\", \"scrappedQuantity\":\"\", \"productSpecification\":\"\", \"qualifiedQuantity\":\"\", \"productEnName\":\"\", \"reworkableQuantity\":\"\", \"userName\":\"\", \"uuid\":\"\", \"userId\":\"\", \"productName\":\"\", \"extend\":\"\", \"productCode\":\"\", \"processName\":\"\", \"mesAppKey\":\"\", \"instNo\":\"\", \"manufactureDate\":\"\" }"
}
}
}
},
"G-CONN-10163052955F0B01B8D0000G": {
"connectorId": "G-CONN-10163052955F0B01B8D0000G",
"name": "钉钉运动",
"description": "【钉钉官方】钉钉运动",
"actionMap": {
"G-ACT-10163053EBD00B01B8D0001Q": {
"name": "获取部门钉钉运动数据",
"description": "查询企业部门每天的钉钉运动步数,最多可以查询31天的数据",
"actionId": "G-ACT-10163053EBD00B01B8D0001Q",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"stepInfoList\":[ { \"statDate\":\"类型:Number ;说明:统计的时间\", \"stepCount\":\"类型:Number ;说明:步数\" } ] }, \"success\":\"类型:Boolean ;说明:是否成功\", \"errorCode\":\"类型:Number ;说明:错误码\", \"errorMsg\":\"类型:String ;说明:错误详情\" }",
"inputs": "{ \"statDates\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\", \"departmentId\":\"{\\"comment\\":\\"查询的部门\\",\\"type\\":\\"String\\",\\"required\\":true}\" }",
"inputDefs": "{ \"statDates\":1644978183795, \"departmentId\":\"\" }"
}
},
"G-ACT-10163053C09C0B01B8D0001T": {
"name": "获取个人钉钉运动数据",
"description": "查询企业用户每天的钉钉运动步数,最多可以查询31天的数据",
"actionId": "G-ACT-10163053C09C0B01B8D0001T",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"stepInfoList\":[ { \"statDate\":\"类型:Number ;说明:统计的时间\", \"stepCount\":\"类型:Number ;说明:步数\" } ] }, \"success\":\"类型:Boolean ;说明:是否成功\", \"errorCode\":\"类型:Number ;说明:错误码\", \"errorMsg\":\"类型:String ;说明:错误详情\" }",
"inputs": "{ \"statDates\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\", \"userId\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 查询的用户\\",\\"type\\":\\"Array\\",\\"required\\":true}\" }",
"inputDefs": "{ \"statDates\":1644978183796, \"userId\":[] }"
}
}
}
},
"G-CONN-10169D9993550B1738B3000F": {
"connectorId": "G-CONN-10169D9993550B1738B3000F",
"name": "会话群",
"description": "【钉钉官方】会话群",
"actionMap": {
"G-ACT-10169E11AAEC0B01B8D00002": {
"name": "创建群会话",
"description": "该接口用于创建会话",
"actionId": "G-ACT-10169E11AAEC0B01B8D00002",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"chatid\":\"类型:String ;说明:群会话id\", \"openConversationId\":\"类型:String ;说明:群id\" }, \"success\":\"类型:Boolean ;说明:是否成功\" }",
"inputs": "{ \"owner\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 群主\\",\\"type\\":\\"Array\\",\\"required\\":true}\", \"name\":\"{\\"comment\\":\\"群名称\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"managementType\":\"{\\"comment\\":\\"是否可管理 填0表示所有人可管理;填1表示仅群主可管理\\",\\"type\\":\\"String\\",\\"required\\":true}\" }",
"inputDefs": "{ \"owner\":[], \"name\":\"\", \"managementType\":\"0\" }"
}
},
"G-ACT-10169E124DF30B1738B3001F": {
"name": "修改群会话",
"description": "该接口用于修改会话",
"actionId": "G-ACT-10169E124DF30B1738B3001F",
"inputsOutputs": {
"outputs": "{ \"success\":\"类型:Boolean ;说明:是否成功\" }",
"inputs": "{ \"chatid\":\"{\\"comment\\":\\"群会话id\\",\\"type\\":\\"String\\",\\"required\\":false}\", \"name\":\"{\\"comment\\":\\"修改群名\\",\\"type\\":\\"String\\",\\"required\\":false}\" }",
"inputDefs": "{ \"chatid\":\"\", \"name\":\"\" }"
}
}
}
},
"G-CONN-1018B12CFA73213DF5B1000A": {
"connectorId": "G-CONN-1018B12CFA73213DF5B1000A",
"name": "钉工牌",
"description": "",
"actionMap": {
"G-ACT-1018B13F6AE7213DF5B1001R": {
"name": "创建钉工牌会展码",
"description": "调用本接口,为用户创建钉工牌电子码实例,主要用于访客、会展等临时证场景。",
"actionId": "G-ACT-1018B13F6AE7213DF5B1001R",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"success\":\"类型:Boolean ;说明:是否成功\", \"errorCode\":\"类型:Number ;说明:错误码\", \"content\":{ \"codeId\":\"类型:String ;说明:码ID。\", \"codeDetailUrl\":\"类型:String ;说明:码详情地址\" }, \"errorMsg\":\"类型:String ;说明:错误详情\", \"rawContent\":\"类型:String ;说明:原始出参\" } }",
"inputs": "{ \"gmtExpired\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 临时码过期时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\", \"corpId\":\"{\\"comment\\":\\"企业ID\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"gmtEnd\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 有效时间段-结束时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\", \"requestId\":\"{\\"comment\\":\\"业务幂等ID,由调用方随机生成\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"userCorpRelationType\":\"{\\"comment\\":\\"用户和企业的关系类型\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"userIdentity\":\"{\\"comment\\":\\"必传,参会者手机号,注意格式到带86国家码\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"gmtStart\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 有效时间段-开始时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\", \"extInfo\":{ \"conferenceTitle\":\"{\\"comment\\":\\"会展标题\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"attenderExtInfo\":\"{\\"comment\\":\\"参会者扩展信息,可传入票种类型,如演讲嘉宾,VIP等\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"conferenceIcon\":\"{\\"comment\\":\\"会展图标\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"attenderCorpInfo\":\"{\\"comment\\":\\"参会者企业信息\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"conferenceLinkUrl\":\"{\\"comment\\":\\"二维码下展会的链接地址\\",\\"type\\":\\"String\\",\\"required\\":false}\", \"conferenceLinkTitle\":\"{\\"comment\\":\\"二维码下展会的链接名称\\",\\"type\\":\\"String\\",\\"required\\":false}\", \"codeSource\":\"{\\"comment\\":\\"会展标识,公司的每个会展都有唯一标识,同一个会展保持统一\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"attenderName\":\"{\\"comment\\":\\"参会者姓名\\",\\"type\\":\\"String\\",\\"required\\":true}\" } }",
"inputDefs": "{ \"gmtExpired\":1644978183865, \"corpId\":\"\", \"gmtEnd\":1644978183865, \"requestId\":\"\", \"userCorpRelationType\":\"\", \"userIdentity\":\"\", \"gmtStart\":1644978183865, \"extInfo\":{ \"conferenceTitle\":\"\", \"attenderExtInfo\":\"\", \"conferenceIcon\":\"\", \"attenderCorpInfo\":\"\", \"conferenceLinkUrl\":\"\", \"conferenceLinkTitle\":\"\", \"codeSource\":\"\", \"attenderName\":\"\" } }"
}
}
}
},
"G-CONN-1018687D707A0B081F4F000X": {
"connectorId": "G-CONN-1018687D707A0B081F4F000X",
"name": "智能人事2.0",
"description": "获取员工入离职信息",
"actionMap": {
"G-ACT-10186880053C0B081F4F000B": {
"name": "获取离职员工列表",
"description": "",
"actionId": "G-ACT-10186880053C0B081F4F000B",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"success\":\"类型:Boolean ;说明:是否成功\", \"content\":{ \"errcode\":\"类型:Number ;说明:返回码。 示例值:0\", \"result\":{ \"next_cursor\":\"类型:Number ;说明:分页\" }, \"success\":\"类型:Boolean ;说明:请求是否成功。 示例值:true\", \"errmsg\":\"类型:String ;说明:错误信息\", \"request_id\":\"类型:String ;说明:请求ID\" }, \"errorMsg\":\"类型:String ;说明:错误详情\" } }",
"inputs": "{ \"offset\":\"{\\"comment\\":\\"分页游标,从0开始。根据返回结果里的next_cursor是否为空来判断是否还有下一页,且再次调用时offset设置成next_cursor的值\\",\\"type\\":\\"Number\\",\\"required\\":true}\", \"size\":\"{\\"comment\\":\\"分页大小,最大50\\",\\"type\\":\\"Number\\",\\"required\\":true}\" }",
"inputDefs": "{ \"offset\":0, \"size\":0 }"
}
},
"SP-G-ACT-10162694366E0B1738B3000R": {
"name": "添加企业待入职员工",
"description": "智能人事添加待入职员工信息",
"actionId": "SP-G-ACT-10162694366E0B1738B3000R",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"userId\":\"类型:String ;说明:userId\" }, \"success\":\"类型:Boolean ;说明:是否成功\", \"errorMsg\":\"类型:String ;说明:错误信息\" }",
"inputs": "{ \"param\":{ \"preEntryTime\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 预期入职时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\", \"name\":\"{\\"comment\\":\\"待入职员工姓名\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"mobile\":\"{\\"comment\\":\\"待入职员工手机号\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"opUserId\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 操作人\\",\\"type\\":\\"Array\\",\\"required\\":true}\" } }",
"inputDefs": "{ \"param\":{ \"preEntryTime\":1644978183928, \"name\":\"\", \"mobile\":\"\", \"opUserId\":[] } }"
}
}
}
},
"G-CONN-1018637D4EA4210774700004": {
"connectorId": "G-CONN-1018637D4EA4210774700004",
"name": "考勤",
"description": "",
"actionMap": {
"SP-G-ACT-10186E0CB6EA21077470001L": {
"name": "查询假期余额",
"description": "",
"actionId": "SP-G-ACT-10186E0CB6EA21077470001L",
"inputsOutputs": {
"outputs": "{ \"quota_num_per_day\":\"类型:Number ;说明:以天计算的额度总数\", \"leave_code\":\"类型:String ;说明:假期类型唯一标识。 示例值:f84a2xxxx\", \"used_num_per_day\":\"类型:Number ;说明:以天计算的使用额度\" }",
"inputs": "{ \"userids\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 待查询的员工\\",\\"type\\":\\"Array\\",\\"required\\":true}\", \"leave_code\":\"{\\"comment\\":\\"假期类型 填35c3b606-e71c-4ad3-ad09-25f851930994##day表示年假;填7be24d3e-a2ee-46bf-b83b-d3ac5b4d076d##hour表示事假;填3b985609-9e69-4553-b601-9fd08ba49143##hour表示病假;填66310362-70c2-4b82-8eac-c23e90b10604##hour表示调休;填0ce76903-5264-48a3-b876-a8e669581363##day表示产假;填052144b2-7931-49a8-a90e-4899f7a15a5b##day表示陪产假;填6ff806ea-d868-4d9f-affd-b127a64f7486##day表示婚假;填3960a4d7-77bf-4742-9d49-dc88326a704c##halfDay表示例假;填4bcf033c-b45e-4ff0-acc0-d317206a9700##day表示丧假\\",\\"type\\":\\"String\\",\\"required\\":true}\" }",
"inputDefs": "{ \"userids\":[], \"leave_code\":\"35c3b606-e71c-4ad3-ad09-25f851930994##day\" }"
}
},
"SP-G-ACT-10186D02D7470B081F4F000D": {
"name": "查询假期类型列表",
"description": "",
"actionId": "SP-G-ACT-10186D02D7470B081F4F000D",
"inputsOutputs": {
"outputs": "{}",
"inputs": "{ \"vacation_source\":\"{\\"comment\\":\\"假期来源 填all表示所有假期类型\\",\\"type\\":\\"String\\",\\"required\\":false}\" }",
"inputDefs": "{ \"vacation_source\":\"all\" }"
}
},
"G-ACT-101869A24F6D0B174A500019": {
"name": "更新参与考勤人员",
"description": "",
"actionId": "G-ACT-101869A24F6D0B174A500019",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"success\":\"类型:Boolean ;说明:是否成功\", \"errorCode\":\"类型:Number ;说明:错误码\", \"content\":{ \"errcode\":\"类型:Number ;说明:返回码。 示例值:0\", \"success\":\"类型:Boolean ;说明:成功标记。 示例值:true\", \"request_id\":\"类型:String ;说明:请求ID。 示例值:3pgsafymemlr\" }, \"errorMsg\":\"类型:String ;说明:错误详情\", \"rawContent\":\"类型:String ;说明:原始出参\" } }",
"inputs": "{ \"group_id\":\"{\\"comment\\":\\"考勤组id\\",\\"type\\":\\"Number\\",\\"required\\":true}\", \"update_param\":{}, \"schedule_flag\":\"{\\"comment\\":\\"0表示从今天开始排班,1表示从明天\\",\\"type\\":\\"Number\\",\\"required\\":true}\" }",
"inputDefs": "{ \"group_id\":0, \"update_param\":{}, \"schedule_flag\":0 }"
}
},
"SP-G-ACT-1018698D36EC21077470001I": {
"name": "获取参与考勤人员的userid",
"description": "",
"actionId": "SP-G-ACT-1018698D36EC21077470001I",
"inputsOutputs": {
"outputs": "{ \"userIdListStr\":\"类型:String ;说明:userId列表\" }",
"inputs": "{ \"group_id\":\"{\\"comment\\":\\"考勤组id\\",\\"type\\":\\"Number\\",\\"required\\":true}\" }",
"inputDefs": "{ \"group_id\":0 }"
}
},
"SP-G-CONN-1018637D4EA4210774700004": {
"name": "创建考勤组",
"description": "",
"actionId": "SP-G-CONN-1018637D4EA4210774700004",
"inputsOutputs": {
"outputs": "{ \"id\":\"类型:String ;说明:考勤组id\" }",
"inputs": "{ \"owner\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 考勤组负责人\\",\\"type\\":\\"Array\\",\\"required\\":true}\", \"shift_vo_list\":\"{\\"comment\\":\\"班次id\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"members\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 考勤组成员\\",\\"type\\":\\"Array\\",\\"required\\":true}\", \"name\":\"{\\"comment\\":\\"考勤组名称\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"type\":\"{\\"comment\\":\\"考勤类型 填FIXED表示固定班制考勤组\\",\\"type\\":\\"String\\",\\"required\\":true}\" }",
"inputDefs": "{ \"owner\":[], \"shift_vo_list\":\"\", \"members\":[], \"name\":\"\", \"type\":\"FIXED\" }"
}
},
"SP-G-ACT-101868C220A40B57C218000A": {
"name": "获取打卡详情",
"description": "",
"actionId": "SP-G-ACT-101868C220A40B57C218000A",
"inputsOutputs": {
"outputs": "{}",
"inputs": "{ \"checkDateFrom\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 查询考勤打卡记录的开始时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\", \"checkDateTo\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 查询考勤打卡记录的结束工作日。注意,起始与结束工作日最多相隔7天\\",\\"type\\":\\"Integer\\",\\"required\\":true}\" }",
"inputDefs": "{ \"checkDateFrom\":1644978184366, \"checkDateTo\":1644978184366 }"
}
},
"SP-G-ACT-101868BFCF5E0B57C218001Y": {
"name": "获取某人指定日期的打卡结果",
"description": "",
"actionId": "SP-G-ACT-101868BFCF5E0B57C218001Y",
"inputsOutputs": {
"outputs": "{}",
"inputs": "{null:\"{\\"comment\\":\\"用户id\\",\\"type\\":\\"String\\",\\"required\\":true}\" }",
"inputDefs": "{null:\"\" }"
}
},
"SP-G-ACT-10186881675B0B0FFD490017": {
"name": "创建班次",
"description": "",
"actionId": "SP-G-ACT-10186881675B0B0FFD490017",
"inputsOutputs": {
"outputs": "{ \"id\":\"类型:String ;说明:班次id\" }",
"inputs": "{ \"owner\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 班次owner\\",\\"type\\":\\"Array\\",\\"required\\":true}\", \"off_duty\":{ \"free_check\":\"{\\"comment\\":\\"是否免打卡 填true表示是;填false表示否\\",\\"type\\":\\"Boolean\\",\\"required\\":true}\", \"check_time\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 打卡时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\" }, \"on_duty\":{ \"free_check\":\"{\\"comment\\":\\"是否免打卡 填true表示是;填false表示否\\",\\"type\\":\\"Boolean\\",\\"required\\":true}\", \"check_time\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 打卡时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\" }, \"name\":\"{\\"comment\\":\\"班次名称\\",\\"type\\":\\"String\\",\\"required\\":true}\" }",
"inputDefs": "{ \"owner\":[], \"off_duty\":{ \"free_check\":true, \"check_time\":1644978184352 }, \"on_duty\":{ \"free_check\":true, \"check_time\":1644978184352 }, \"name\":\"\" }"
}
},
"SP-G-ACT-10186873B6B90B174A50000Y": {
"name": "获取用户应出勤天数和实际出勤天数等统计",
"description": "",
"actionId": "SP-G-ACT-10186873B6B90B174A50000Y",
"inputsOutputs": {
"outputs": "{ \"no_work_detail_value\":\"类型:String ;说明:旷工天数记录\", \"work_value\":\"类型:String ;说明:出勤天数\", \"no_work_value\":\"类型:String ;说明:旷工天数\", \"should_work_value\":\"类型:String ;说明:应出勤天数\" }",
"inputs": "{ \"from_date\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 开始时间\\",\\"type\\":\\"Integer\\",\\"required\\":false}\", \"to_date\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 结束时间\\",\\"type\\":\\"Integer\\",\\"required\\":false}\", \"userid\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 用户\\",\\"type\\":\\"Array\\",\\"required\\":false}\" }",
"inputDefs": "{ \"from_date\":1644978184364, \"to_date\":1644978184364, \"userid\":[] }"
}
},
"SP-G-ACT-1018640AD10A210774700005": {
"name": "获取排班打卡结果",
"description": "",
"actionId": "SP-G-ACT-1018640AD10A210774700005",
"inputsOutputs": {
"outputs": "{}",
"inputs": "{ \"op_user_id\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 操作者userId\\",\\"type\\":\\"Array\\",\\"required\\":true}\", \"schedule_ids\":\"{\\"comment\\":\\"排班ID,多个排班ID之间用逗号分割,可通过查询企业考勤排班详情接口获取,对应字段为plan_id,每次调用最多支持100个排班ID。\\",\\"type\\":\\"String\\",\\"required\\":true}\" }",
"inputDefs": "{ \"op_user_id\":[], \"schedule_ids\":\"\" }"
}
},
"SP-G-ACT-GGGGGGGGGGGGGGGGGGGGG": {
"name": "查询某天某个考勤组下的员工的考勤信息",
"description": "查询某天某个考勤组下的员工的考勤信息",
"actionId": "SP-G-ACT-GGGGGGGGGGGGGGGGGGGGG",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"success\":\"类型:Boolean ;说明:是否成功\", \"errorCode\":\"类型:Number ;说明:错误码\", \"content\":{ \"result\":[ {} ], \"errcode\":\"类型:Number ;说明:返回码。 示例值:0\", \"errmsg\":\"类型:String ;说明:返回码描述。 示例值:ok\", \"request_id\":\"类型:String ;说明:请求ID。 示例值:f1zwcp4fr28h\" }, \"errorMsg\":\"类型:String ;说明:错误详情\", \"rawContent\":\"类型:String ;说明:原始出参\" } }",
"inputs": "{ \"work_date\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 查询哪天的数据\\",\\"type\\":\\"Integer\\",\\"required\\":true}\", \"group_id\":\"{\\"comment\\":\\"考勤组ID。 示例值:685935028\\",\\"type\\":\\"Number\\",\\"required\\":true}\" }",
"inputDefs": "{ \"work_date\":1644978184371, \"group_id\":0 }"
}
},
"SP-G-ACT-1015BF44A2440B01B8D0000R": {
"name": "请假",
"description": "该接口提供通过审批修改打卡结果的能力,如外出,请假,审批等,指定时间内的打卡结果会被修改为正常",
"actionId": "SP-G-ACT-1015BF44A2440B01B8D0000R",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"duration\":\"类型:String ;说明:总时长\" }, \"success\":\"类型:Boolean ;说明:是否成功\" }",
"inputs": "{ \"fromTime\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 开始时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\", \"subType\":\"{\\"comment\\":\\"假期类型 填年假##day表示年假;填事假##hour表示事假;填病假##hour表示病假;填调休##hour表示调休;填产假##day表示产假;填陪产假##day表示陪产假;填婚假##day表示婚假;填例假##halfDay表示例假;填丧假##day表示丧假\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"userId\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 请假员工\\",\\"type\\":\\"Array\\",\\"required\\":true}\", \"toTime\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 结束时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\" }",
"inputDefs": "{ \"fromTime\":1644978184341, \"subType\":\"年假##day\", \"userId\":[], \"toTime\":1644978184341 }"
}
}
}
},
"G-CONN-10184D91CEAE213DF5B1000G": {
"connectorId": "G-CONN-10184D91CEAE213DF5B1000G",
"name": "日程",
"description": "",
"actionMap": {
"G-ACT-101891B3F39C213DF5B1001G": {
"name": "修改日程",
"description": "",
"actionId": "G-ACT-101891B3F39C213DF5B1001G",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"success\":\"类型:Boolean ;说明:是否成功\", \"errorCode\":\"类型:Number ;说明:错误码\", \"content\":{ \"summary\":\"类型:String ;说明:日程标题。\", \"recurrence\":{ \"pattern\":{ \"dayOfMonth\":\"类型:Number ;说明:当循环规则的type值为absoluteMonthly时,用于指定是每个月的第几天。\", \"index\":\"类型:String ;说明:当type值为relativeMonthly时,用于指定每月第几周:\", \"interval\":\"类型:Number ;说明:循环间隔,根据type不同单位不同。\", \"type\":\"类型:String ;说明:循环规则类型,取值:\", \"daysOfWeek\":\"类型:String ;说明:英文小写单词指定星期几,如果有多个值逗号分割。\" }, \"range\":{ \"endDate\":\"类型:String ;说明:循环结束时间。\", \"numberOfOccurrences\":\"类型:Number ;说明:循环次数。\", \"type\":\"类型:String ;说明:循环范围类型:\" } }, \"isAllDay\":\"类型:Boolean ;说明:是否全天日程。\", \"createTime\":\"类型:String ;说明:创建时间。\", \"organizer\":{ \"displayName\":\"类型:String ;说明:用户名。\", \"self\":\"类型:Boolean ;说明:是否是当前登陆用户。\", \"id\":\"类型:String ;说明:用户uninonId。\", \"responseStatus\":\"类型:String ;说明:回复状态。\" }, \"start\":{ \"date\":\"类型:String ;说明:日程开始日期,格式:yyyy-MM-dd。\", \"dateTime\":\"类型:String ;说明:日程开始时间,格式为ISO-8601的date-time格式。\", \"timeZone\":\"类型:String ;说明:日程开始时间所属时区,TZ database name格式\" }, \"description\":\"类型:String ;说明:日程描述。\", \"end\":{ \"date\":\"类型:String ;说明:日程结束日期,格式:yyyy-MM-dd。\", \"dateTime\":\"类型:String ;说明:日程结束时间,格式为ISO-8601的date-time格式。\", \"timeZone\":\"类型:String ;说明:日程结束时间所属时区,必须和开始时间所属时区相同,TZ database name格式\" }, \"location\":{ \"displayName\":\"类型:String ;说明:日程地点展示名称。\" }, \"updateTime\":\"类型:String ;说明:更新时间。\", \"id\":\"类型:String ;说明:日程id。\" }, \"errorMsg\":\"类型:String ;说明:错误详情\", \"rawContent\":\"类型:String ;说明:原始出参\" } }",
"inputs": "{}",
"inputDefs": "{}"
}
},
"G-ACT-10189141DD9221073A85001G": {
"name": "删除日程参与者",
"description": "",
"actionId": "G-ACT-10189141DD9221073A85001G",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"success\":\"类型:Boolean ;说明:是否成功\", \"errorCode\":\"类型:Number ;说明:错误码\", \"errorMsg\":\"类型:String ;说明:错误详情\", \"rawContent\":\"类型:String ;说明:原始出参\" } }",
"inputs": "{ \"eventId\":\"{\\"comment\\":\\"日程id\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"attendeesToRemove\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 需要被删除的日程参与者列表\\",\\"type\\":\\"Array\\",\\"required\\":true}\", \"userId\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 日程创建者\\",\\"type\\":\\"Array\\",\\"required\\":true}\" }",
"inputDefs": "{ \"eventId\":\"\", \"attendeesToRemove\":[], \"userId\":[] }"
}
},
"G-ACT-101891025DEB213DF5B1001J": {
"name": "添加日程参与者",
"description": "",
"actionId": "G-ACT-101891025DEB213DF5B1001J",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"success\":\"类型:Boolean ;说明:是否成功\", \"errorCode\":\"类型:Number ;说明:错误码\", \"errorMsg\":\"类型:String ;说明:错误详情\", \"rawContent\":\"类型:String ;说明:原始出参\" } }",
"inputs": "{ \"eventId\":\"{\\"comment\\":\\"日程id\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"attendeesToAdd\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 需要添加的参与人列表\\",\\"type\\":\\"Array\\",\\"required\\":true}\", \"userId\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 日程创建者\\",\\"type\\":\\"Array\\",\\"required\\":true}\" }",
"inputDefs": "{ \"eventId\":\"\", \"attendeesToAdd\":[], \"userId\":[] }"
}
},
"SP-G-ACT-1018887D2D2E21077470000U": {
"name": "查询日程列表",
"description": "",
"actionId": "SP-G-ACT-1018887D2D2E21077470000U",
"inputsOutputs": {
"outputs": "{}",
"inputs": "{ \"timeMax\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 查询日程的截止时间\\",\\"type\\":\\"Integer\\",\\"required\\":false}\", \"timeMin\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 查询日程的开始时间\\",\\"type\\":\\"Integer\\",\\"required\\":false}\", \"userId\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 查询的目标用户\\",\\"type\\":\\"Array\\",\\"required\\":true}\" }",
"inputDefs": "{ \"timeMax\":1644978183910, \"timeMin\":1644978183910, \"userId\":[] }"
}
},
"G-ACT-10185EF2BB87212B4AF7000K": {
"name": "删除日程",
"description": "",
"actionId": "G-ACT-10185EF2BB87212B4AF7000K",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"success\":\"类型:Boolean ;说明:是否成功\" } }",
"inputs": "{ \"eventId\":\"{\\"comment\\":\\"日程事件id\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"userId\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 日程组织者\\",\\"type\\":\\"Array\\",\\"required\\":true}\" }",
"inputDefs": "{ \"eventId\":\"\", \"userId\":[] }"
}
},
"SP-G-ACT-1015BF7DBC1A0B01B8D0000C": {
"name": "创建日程",
"description": "创建日程",
"actionId": "SP-G-ACT-1015BF7DBC1A0B01B8D0000C",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"id\":\"类型:String ;说明:日程唯一id\" }, \"success\":\"类型:Boolean ;说明:是否成功\" }",
"inputs": "{ \"summary\":\"{\\"comment\\":\\"日程标题\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"attendees\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 参与人\\",\\"type\\":\\"Array\\",\\"required\\":true}\", \"start\":{ \"dateTime\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 开始时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\" }, \"description\":\"{\\"comment\\":\\"备注\\",\\"type\\":\\"String\\",\\"required\\":false}\", \"end\":{ \"dateTime\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 结束时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\" }, \"userId\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 日程组织者\\",\\"type\\":\\"Array\\",\\"required\\":true}\" }",
"inputDefs": "{ \"summary\":\"\", \"attendees\":[], \"start\":{ \"dateTime\":1644978183913 }, \"description\":\"\", \"end\":{ \"dateTime\":1644978183913 }, \"userId\":[] }"
}
}
}
},
"G-CONN-1016C6D930300B1738B30002": {
"connectorId": "G-CONN-1016C6D930300B1738B30002",
"name": "签到",
"description": "",
"actionMap": {
"G-ACT-1016C6DB7CE80B01B8D0000B": {
"name": "获取个人签到记录",
"description": "",
"actionId": "G-ACT-1016C6DB7CE80B01B8D0000B",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"success\":\"类型:Boolean ;说明:是否成功\", \"errorCode\":\"类型:Number ;说明:错误码\", \"content\":{ \"result\":{ \"next_cursor\":\"类型:Number ;说明:表示下次查询的游标,为null代表没有更多的数据了\", \"page_list\":[ { \"checkin_time\":\"类型:Number ;说明:签到时间,单位毫秒\", \"detail_place\":\"类型:String ;说明:签到详细地址\", \"latitude\":\"类型:String ;说明:签到位置维度(暂未开放)\", \"remark\":\"类型:String ;说明:签到备注\", \"place\":\"类型:String ;说明:签到地址\", \"visit_user\":\"类型:String ;说明:签到的拜访对象,可以为外部联系人的userid或者用户自己输入的名字\", \"userid\":\"类型:String ;说明:员工唯一标识\", \"longitude\":\"类型:String ;说明:签到位置经度(暂未开放)\" } ] }, \"errcode\":\"类型:Number ;说明:错误编码\", \"errmsg\":\"类型:String ;说明:业务错误信息\" }, \"errorMsg\":\"类型:String ;说明:接口错误信息\" } }",
"inputs": "{ \"start_time\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 开始时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\", \"end_time\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 结束时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\", \"userid_list\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 查询用户列表\\",\\"type\\":\\"Array\\",\\"required\\":true}\" }",
"inputDefs": "{ \"start_time\":1644978183880, \"end_time\":1644978183880, \"userid_list\":[] }"
}
}
}
},
"G-CONN-1016C6C260910B01B8D00004": {
"connectorId": "G-CONN-1016C6C260910B01B8D00004",
"name": "项目管理",
"description": "",
"actionMap": {
"G-ACT-1016C6C311570B01B8D0000L": {
"name": "项目操作记录",
"description": "查询日志",
"actionId": "G-ACT-1016C6C311570B01B8D0000L",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"success\":\"类型:Boolean ;说明:是否成功\", \"errorCode\":\"类型:Number ;说明:错误码\", \"content\":{ \"errcode\":\"类型:Number ;说明:错误码\", \"result\":{ \"log_list\":[ { \"gmt_create\":\"类型:String ;说明:记录修改时间,unix时间戳,单位ms\", \"task_name\":\"类型:String ;说明:任务名称\", \"resource\":\"类型:String ;说明:文件名\", \"resource_extension\":\"类型:String ;说明:文件类型\", \"ip_address\":\"类型:String ;说明:操作机器ip\", \"project_name\":\"类型:String ;说明:项目名称\", \"platform\":\"类型:String ;说明:操作端\", \"resource_size\":\"类型:String ;说明:文件大小\", \"operator_name\":\"类型:String ;说明:操作者名字\", \"browser\":\"类型:String ;说明:操作机器浏览器\", \"ding_talk_id\":\"类型:String ;说明:用户的钉钉id\", \"receiver_name\":\"类型:String ;说明:文件接收方名称\", \"action\":\"类型:String ;说明:操作类型\", \"org_name\":\"类型:String ;说明:企业名称\", \"biz_id\":\"类型:String ;说明:文件id\", \"emp_id\":\"类型:String ;说明:用户所在企业中的员工id\" } ] }, \"errmsg\":\"类型:String ;说明:错误信息\" }, \"errorMsg\":\"类型:String ;说明:错误详情\" } }",
"inputs": "{ \"end_date\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 结束时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\", \"start_date\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 开始时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\" }",
"inputDefs": "{ \"end_date\":1644978183900, \"start_date\":1644978183900 }"
}
}
}
},
"G-CONN-1016C5F3599E0B1738B3000V": {
"connectorId": "G-CONN-1016C5F3599E0B1738B3000V",
"name": "智能填表",
"description": "",
"actionMap": {
"G-ACT-1016C5F42AE20B1738B3001Q": {
"name": "获取用户填表模板",
"description": "",
"actionId": "G-ACT-1016C5F42AE20B1738B3001Q",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"success\":\"类型:Boolean ;说明:是否成功\", \"errorCode\":\"类型:Number ;说明:错误码\", \"content\":{ \"errcode\":\"类型:Number ;说明:错误码\", \"result\":{ \"next_cursor\":\"类型:Number ;说明:下次分页的起始offset\", \"has_more\":\"类型:Boolean ;说明:是否有下一页\", \"list\":[ { \"creator\":\"类型:String ;说明:创建人\", \"name\":\"类型:String ;说明:填表名称\", \"memo\":\"类型:String ;说明:填表提示\", \"form_code\":\"类型:String ;说明:表单code\", \"setting\":{ \"create_time\":\"类型:String ;说明:创建时间\", \"stop\":\"类型:Boolean ;说明:填表是否终止的标记\", \"should_participation_cnt\":\"类型:Number ;说明:应填人数\", \"biz_type\":\"类型:Number ;说明:表单类型\", \"end_time\":\"类型:String ;说明:填表截止时间\", \"form_type\":\"类型:Number ;说明:0表示通用智能填表,1表示教育版填表\", \"loop_time\":\"类型:String ;说明:填表时间\" } } ] }, \"errmsg\":\"类型:String ;说明:错误信息\" }, \"errorMsg\":\"类型:String ;说明:错误详情\" } }",
"inputs": "{ \"creator\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 成员\\",\\"type\\":\\"Array\\",\\"required\\":true}\", \"biz_type\":\"{\\"comment\\":\\"类型 填0表示通用填表;填1表示教育填表\\",\\"type\\":\\"Integer\\",\\"required\\":true}\" }",
"inputDefs": "{ \"creator\":[], \"biz_type\":0 }"
}
}
}
},
"G-CONN-1016C262F5A70B1738B3000U": {
"connectorId": "G-CONN-1016C262F5A70B1738B3000U",
"name": "应用管理",
"description": "",
"actionMap": {
"G-ACT-1016C2638B9D0B01B8D0000J": {
"name": "设置应用可见范围",
"description": "",
"actionId": "G-ACT-1016C2638B9D0B01B8D0000J",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"success\":\"类型:Boolean ;说明:是否成功\", \"errorCode\":\"类型:Number ;说明:错误码\", \"content\":{ \"errcode\":\"类型:Number ;说明:对返回码的文本描述内容\", \"errmsg\":\"类型:String ;说明:返回码\" }, \"errorMsg\":\"类型:String ;说明:错误详情\" } }",
"inputs": "{ \"agentId\":\"{\\"comment\\":\\"应用agentId(钉钉开放平台获取)\\",\\"type\\":\\"Number\\",\\"required\\":true}\", \"isHidden\":\"{\\"comment\\":\\"是否仅管理员可见 填true表示是;填false表示否\\",\\"type\\":\\"Boolean\\",\\"required\\":true}\" }",
"inputDefs": "{ \"agentId\":0, \"isHidden\":true }"
}
}
}
},
"G-CONN-1016C233DA930B01B8D0000T": {
"connectorId": "G-CONN-1016C233DA930B01B8D0000T",
"name": "日志",
"description": "",
"actionMap": {
"G-ACT-1016C2352D7B0B1738B30006": {
"name": "获取未读日志数",
"description": "",
"actionId": "G-ACT-1016C2352D7B0B1738B30006",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"success\":\"类型:Boolean ;说明:是否成功\", \"errorCode\":\"类型:Number ;说明:错误码\", \"content\":{ \"errcode\":\"类型:Number ;说明:错误码\", \"count\":\"类型:Number ;说明:员工日志未读数\", \"errmsg\":\"类型:String ;说明:errorMsg\" }, \"errorMsg\":\"类型:String ;说明:错误详情\" } }",
"inputs": "{ \"userid\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 查询用户\\",\\"type\\":\\"Array\\",\\"required\\":true}\" }",
"inputDefs": "{ \"userid\":[] }"
}
}
}
},
"G-CONN-1016C201485F0B01B8D0000B": {
"connectorId": "G-CONN-1016C201485F0B01B8D0000B",
"name": "关联组织",
"description": "",
"actionMap": {
"G-ACT-1016C25EC0E30B1738B3000N": {
"name": "获取分支组织",
"description": "",
"actionId": "G-ACT-1016C25EC0E30B1738B3000N",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"success\":\"类型:Boolean ;说明:是否成功\", \"errorCode\":\"类型:Number ;说明:错误码\", \"content\":{ \"result\":[ { \"union_corpid\":\"类型:String ;说明:分支组织corpid\", \"union_org_name\":\"类型:String ;说明:分支组织名称\" } ], \"errcode\":\"类型:Number ;说明:错误code\", \"success\":\"类型:Boolean ;说明:是否成功\", \"errmsg\":\"类型:String ;说明:错误msg\" }, \"errorMsg\":\"类型:String ;说明:错误详情\" } }",
"inputs": "{ \"target\":\"{\\"comment\\":\\"目标 填OPEN_API表示查询分支组织\\",\\"type\\":\\"String\\",\\"required\\":true}\" }",
"inputDefs": "{ \"target\":\"OPEN_API\" }"
}
},
"G-ACT-1016C203047B0B01B8D0000Q": {
"name": "获取主干组织",
"description": "",
"actionId": "G-ACT-1016C203047B0B01B8D0000Q",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"success\":\"类型:Boolean ;说明:是否成功\", \"errorCode\":\"类型:Number ;说明:错误码\", \"content\":{ \"result\":[ { \"corpid\":\"类型:String ;说明:主干组织的corpid\", \"org_name\":\"类型:String ;说明:主干组织的名称\" } ], \"errcode\":\"类型:Number ;说明:错误code\", \"success\":\"类型:Boolean ;说明:是否成功\", \"errmsg\":\"类型:String ;说明:错误msg\" }, \"errorMsg\":\"类型:String ;说明:错误详情\" } }",
"inputs": "{ \"target\":\"{\\"comment\\":\\"目标 填OPEN_API表示查询主干组织\\",\\"type\\":\\"String\\",\\"required\\":true}\" }",
"inputDefs": "{ \"target\":\"OPEN_API\" }"
}
}
}
},
"G-CONN-1016C1CE33530B01B8D0000G": {
"connectorId": "G-CONN-1016C1CE33530B01B8D0000G",
"name": "数据目录",
"description": "",
"actionMap": {
"G-ACT-1016C1DCCB610B1738B3000G": {
"name": "获取企业群聊统计数据",
"description": "",
"actionId": "G-ACT-1016C1DCCB610B1738B3000G",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"success\":\"类型:Boolean ;说明:是否成功\", \"errorCode\":\"类型:Number ;说明:错误码\", \"content\":{ \"metaList\":[ { \"unit\":\"类型:String ;说明:字段单位\", \"period\":\"类型:String ;说明:字段统计周期\", \"kpiId\":\"类型:String ;说明:字段ID\", \"kpiCaliber\":\"类型:String ;说明:字段描述\", \"kpiName\":\"类型:String ;说明:字段名称\" } ], \"dataList\":[ {} ] }, \"errorMsg\":\"类型:String ;说明:错误详情\" } }",
"inputs": "{ \"statDate\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 查询时间(天)\\",\\"type\\":\\"Integer\\",\\"required\\":true}\" }",
"inputDefs": "{ \"statDate\":1644978183928 }"
}
}
}
},
"G-CONN-1016C18E0DEC0B1738B30003": {
"connectorId": "G-CONN-1016C18E0DEC0B1738B30003",
"name": "钉盘",
"description": "",
"actionMap": {
"G-ACT-1016C18FF3910B01B8D0000A": {
"name": "新建空间",
"description": "",
"actionId": "G-ACT-1016C18FF3910B01B8D0000A",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"success\":\"类型:Boolean ;说明:是否成功\", \"errorCode\":\"类型:Number ;说明:错误码\", \"content\":{ \"spaceName\":\"类型:String ;说明:空间名\", \"spaceId\":\"类型:String ;说明:空间id\", \"modifyTime\":\"类型:String ;说明:修改时间\", \"spaceType\":\"类型:String ;说明:空间类型\", \"createTime\":\"类型:String ;说明:创建时间\", \"permissionMode\":\"类型:String ;说明:权限模式\", \"quota\":\"类型:Number ;说明:空间总额度\", \"usedQuota\":\"类型:Number ;说明:空间使用额度\" }, \"errorMsg\":\"类型:String ;说明:错误详情\" } }",
"inputs": "{ \"unionId\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 用户\\",\\"type\\":\\"Array\\",\\"required\\":true}\", \"name\":\"{\\"comment\\":\\"空间名称\\",\\"type\\":\\"String\\",\\"required\\":true}\" }",
"inputDefs": "{ \"unionId\":[], \"name\":\"\" }"
}
}
}
},
"G-CONN-1016B8AEBED50B01B8D00009": {
"connectorId": "G-CONN-1016B8AEBED50B01B8D00009",
"name": "待办2.0",
"description": "待办2.0",
"actionMap": {
"G-ACT-1016B8B1911A0B01B8D0000I": {
"name": "创建待办任务",
"description": "",
"actionId": "G-ACT-1016B8B1911A0B01B8D0000I",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"success\":\"类型:Boolean ;说明:是否成功\", \"errorCode\":\"类型:Number ;说明:错误码\", \"content\":{ \"sourceId\":\"类型:String ;说明:sourceId\", \"modifiedTime\":\"类型:Number ;说明:modifiedTime\", \"finishTime\":\"类型:Number ;说明:finishTime\", \"subject\":\"类型:String ;说明:subject\", \"creatorId\":\"类型:String ;说明:creatorId\", \"modifierId\":\"类型:String ;说明:modifierId\", \"description\":\"类型:String ;说明:description\", \"source\":\"类型:String ;说明:source\", \"dueTime\":\"类型:Number ;说明:dueTime\", \"priority\":\"类型:Number ;说明:priority\", \"done\":\"类型:Boolean ;说明:done\", \"isOnlyShowExecutor\":\"类型:Boolean ;说明:isOnlyShowExecutor\", \"requestId\":\"类型:String ;说明:requestId\", \"createdTime\":\"类型:Number ;说明:createdTime\", \"startTime\":\"类型:Number ;说明:startTime\", \"id\":\"类型:String ;说明:id\", \"detailUrl\":{ \"pcUrl\":\"类型:String ;说明:pcUrl\", \"appUrl\":\"类型:String ;说明:appUrl\" }, \"bizTag\":\"类型:String ;说明:bizTag\" }, \"errorMsg\":\"类型:String ;说明:错误详情\", \"rawContent\":\"类型:String ;说明:原始出参\" } }",
"inputs": "{ \"unionId\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 任务所有者\\",\\"type\\":\\"Array\\",\\"required\\":true}\", \"subject\":\"{\\"comment\\":\\"标题\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"creatorId\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 待办发布者\\",\\"type\\":\\"Array\\",\\"required\\":true}\", \"description\":\"{\\"comment\\":\\"任务描述\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"dueTime\":\"{\\"comment\\":\\"值是13位数字组成的时间戳, 截止时间\\",\\"type\\":\\"Integer\\",\\"required\\":true}\", \"priority\":\"{\\"comment\\":\\"任务优先级 填10表示较低;填20表示普通;填30表示紧急;填40表示非常紧急\\",\\"type\\":\\"Integer\\",\\"required\\":true}\" }",
"inputDefs": "{ \"unionId\":[], \"subject\":\"\", \"creatorId\":[], \"description\":\"\", \"dueTime\":1644978183931, \"priority\":10 }"
}
}
}
},
"G-CONN-1016B81ADE6F0B1738B3000Q": {
"connectorId": "G-CONN-1016B81ADE6F0B1738B3000Q",
"name": "员工服务台",
"description": "服务助手推送消息",
"actionMap": {
"G-ACT-1016B81BE1CA0B01B8D00000": {
"name": "服务助手推送",
"description": "服务助手推送个人消息",
"actionId": "G-ACT-1016B81BE1CA0B01B8D00000",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"success\":\"类型:Boolean ;说明:是否成功\", \"errorCode\":\"类型:Number ;说明:错误码\", \"content\":{ \"errcode\":\"类型:Number ;说明:错误码\", \"errmsg\":\"类型:String ;说明:errorMsg\", \"task_id\":\"类型:String ;说明:创建的异步发送任务id\" }, \"errorMsg\":\"类型:String ;说明:错误详情\" } }",
"inputs": "{ \"msg\":\"{\\"comment\\":\\"通知内容\\",\\"type\\":\\"Object\\",\\"required\\":true}\" }",
"inputDefs": "{ \"msg\":\"\" }"
}
}
}
},
"G-CONN-1016B80B0EAF0B1738B3000L": {
"connectorId": "G-CONN-1016B80B0EAF0B1738B3000L",
"name": "人工智能",
"description": "智能翻译",
"actionMap": {
"G-ACT-10193BCA8097210774700010": {
"name": "中翻英",
"description": "",
"actionId": "G-ACT-10193BCA8097210774700010",
"inputsOutputs": {
"outputs": "{ \"translation\":\"类型:String ;说明:翻译结果\" }",
"inputs": "{ \"query\":\"{\\"comment\\":\\"需翻译文本\\",\\"type\\":\\"String\\",\\"required\\":true}\" }",
"inputDefs": "{ \"query\":\"\" }"
}
},
"G-ACT-1016B80BC4500B1738B3001X": {
"name": "翻译",
"description": "语言翻译",
"actionId": "G-ACT-1016B80BC4500B1738B3001X",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"success\":\"类型:Boolean ;说明:是否成功\", \"errorCode\":\"类型:Number ;说明:错误码\", \"content\":{ \"result\":\"类型:String ;说明:翻译结果字符串\", \"errcode\":\"类型:Number ;说明:错误代码\", \"errmsg\":\"类型:String ;说明:成功\" }, \"errorMsg\":\"类型:String ;说明:错误详情\" } }",
"inputs": "{ \"query\":\"{\\"comment\\":\\"需翻译文本\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"source_language\":\"{\\"comment\\":\\"待翻译语种 填zh表示中文;填en表示英语;填ja表示日语\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"target_language\":\"{\\"comment\\":\\"目标语种 填zh表示中文;填en表示英语;填ja表示日语\\",\\"type\\":\\"String\\",\\"required\\":true}\" }",
"inputDefs": "{ \"query\":\"\", \"source_language\":\"zh\", \"target_language\":\"zh\" }"
}
}
}
},
"G-CONN-1016B7E039CC0B01B8D0000A": {
"connectorId": "G-CONN-1016B7E039CC0B01B8D0000A",
"name": "公告",
"description": "公告服务",
"actionMap": {
"G-ACT-1016B7E5A4720B1738B30017": {
"name": "发布公告",
"description": "发布公告",
"actionId": "G-ACT-1016B7E5A4720B1738B30017",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"success\":\"类型:Boolean ;说明:是否成功\", \"errorCode\":\"类型:Number ;说明:错误码\", \"content\":{ \"result\":\"类型:Boolean ;说明:success为true时,该值不为空,否则值为空\", \"errcode\":\"类型:Number ;说明:请求失败返回的错误码\", \"success\":\"类型:Boolean ;说明:本次调用是否成功,该值为false时,根据errcode和errMsg排查失败原因\", \"errmsg\":\"类型:String ;说明:请求失败返回的错误信息\" }, \"errorMsg\":\"类型:String ;说明:错误详情\" } }",
"inputs": "{ \"$.arguments.create_request.*#content\":\"{\\"comment\\":\\"公告内容\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"$.arguments.create_request.*#blackboard_receiver\":{}, \"$.arguments.create_request.*#ding\":\"{\\"comment\\":\\"是否DING通知 填true表示是;填false表示否\\",\\"type\\":\\"Boolean\\",\\"required\\":true}\", \"$.arguments.create_request.*#coverpic_mediaid\":\"{\\"comment\\":\\"封面图(只支持mediaId,可为空)\\",\\"type\\":\\"String\\",\\"required\\":false}\", \"$.arguments.create_request.*#operation_userid\":\"{\\"comment\\":\\"值是钉钉userId组成的数组, 示例:['17312211221221'], 发公告者\\",\\"type\\":\\"Array\\",\\"required\\":true}\", \"$.arguments.create_request.*#title\":\"{\\"comment\\":\\"公告标题\\",\\"type\\":\\"String\\",\\"required\\":true}\" }",
"inputDefs": "{ \"$.arguments.create_request.*#content\":\"\", \"$.arguments.create_request.*#blackboard_receiver\":{}, \"$.arguments.create_request.*#ding\":true, \"$.arguments.create_request.*#coverpic_mediaid\":\"\", \"$.arguments.create_request.*#operation_userid\":[], \"$.arguments.create_request.*#title\":\"\" }"
}
}
}
},
"G-CONN-1016B7BFEC2B0B1738B3000O": {
"connectorId": "G-CONN-1016B7BFEC2B0B1738B3000O",
"name": "机器人",
"description": "机器人服务",
"actionMap": {
"G-ACT-1016B7C474F50B1738B3000V": {
"name": "机器人通知",
"description": "使用指定机器人发送消息",
"actionId": "G-ACT-1016B7C474F50B1738B3000V",
"inputsOutputs": {
"outputs": "{ \"result\":{ \"success\":\"类型:Boolean ;说明:是否成功\", \"errorCode\":\"类型:Number ;说明:错误码\", \"content\":{ \"processQueryKey\":\"类型:String ;说明:消息id\" }, \"errorMsg\":\"类型:String ;说明:错误详情\" } }",
"inputs": "{ \"msgParam\":\"{\\"comment\\":\\"消息文本\\",\\"type\\":\\"String\\",\\"required\\":true}\", \"robotCode\":\"{\\"comment\\":\\"机器人AppKey(钉开放平台获取)\\",\\"type\\":\\"String\\",\\"required\\":true}\" }",
"inputDefs": "{ \"msgParam\":\"\", \"robotCode\":\"\" }"
}
}
}
}
}
Copyright © 2024钉钉(中国)信息技术有限公司和/或其关联公司浙ICP备18037475号-4