创建部门通知

消息说明:当创建部门时,触发此消息通知

参数说明:

参数 类型 必传(Y/N) 说明
messageId String Y 唯一标识一条消息
type String Y 消息类型,固定为department_create
sendtime Long Y 消息推送时间戳(精确到秒)
departmentId String Y 部门ID
hrbpId String Y hrbp的员工id
name String Y 部门名称
parentId String Y 上级部门
code String Y 部门编码
departmentType String Y 固定部门类型有 0-部门,1-事业部,2-事业群,3-组,4-中心,5-子公司 其他部门自定义类型 详见部门类型列表接口中的departType字段
adminId String Y 管理员ID
city String Y 部门所在城市

消息样例:

{
    "messageId": "uuid",
    "type": "department_create",
    "sendtime": "1515986177",
    "departmentId": "departmentUUID",
    "name": "部门 2",
    "parentId": "",
    "code": "0",
    "departmentType": 0, //部门类型枚举,0:部门,1:事业部,2:事业群,3:组,4:中心,5:子公司   
    "adminId": "employeeUUID", 
    "city": "北京市"
}

返回:

{
    "message": "success" //不返回 success,一律为失败,失败不重试
}
2024 © 企家有道网络技术(北京)有限公司版权所有@京ICP备15035315号 all right reserved,powered by Gitbookupdate by: 2024-01-15 15:26:15

results matching ""

    No results matching ""