PUT /rest/orgwise/3/department/{id}/move?parent={parent}

接口说明

修改部门的上级部门,会产生部门变更记录。

媒体类型

application/json

路径参数
参数描述必填
id部门的ID或NO.,部门唯一标识必填
请求参数
参数描述必填
parent上级部门ID或NO。必填

返回示例

{
    "code": 0,
    "msg": "Success",
    "data": {
        "id": 164,
        "no": "D175",
        "name": "开发子部",
        "type": "SUB_DEPARTMENT",
        "parent": 149,
        "parentDepartment": {
            "id": 149,
            "no": "D164",
            "name": "开发部",
            "type": "SUB_DEPARTMENT",
            "createTime": "2022-02-14 10:46:37",
            "parent": 148
        },
        "createTime": "2022-02-15 15:29:04.0"
    }
}
  • No labels