源系统平台:钉钉
源系统接口: 获取部门列表2.0topapi/v2/department/listsub
目标系统平台: 轻易云集成平台
目标系统接口: 写入空操作写入空操作
源平台元数据配置:
{
"id": "dept_id",
"api": "topapi/v2/department/listsub",
"type": "QUERY",
"method": "POST",
"number": "name",
"idCheck": true,
"request": [
{
"type": "string",
"field": "dept_id",
"label": "父部门ID",
"value": "1",
"describe": "如果不传,默认部门为根部门,根部门ID为1。只支持查询下一级子部门,不支持查询多级子部门。",
"is_required": false
}
],
"response": [
{
"type": "string",
"field": "dept_id",
"label": "部门ID",
"value": null,
"describe": null,
"is_required": false
},
{
"type": "string",
"field": "name",
"label": "名称",
"value": null,
"describe": null,
"is_required": false
},
{
"type": "string",
"field": "parent_id",
"label": "父部门ID",
"value": null,
"describe": null,
"is_required": false
},
{
"type": "string",
"field": "create_dept_group",
"label": "企业群",
"value": null,
"describe": null,
"is_required": false
},
{
"type": "string",
"field": "auto_add_user",
"label": "自动加入该群",
"value": null,
"describe": null,
"is_required": false
}
],
"otherRequest": [],
"otherResponse": []
}
目标平台元数据配置:
{
"id": null,
"api": "写入空操作",
"type": "EXECUTE",
"method": "POST",
"number": null,
"idCheck": true,
"request": [],
"response": [],
"otherRequest": [],
"otherResponse": []
}