创建员工通知

消息说明:当创建新员工时,触发此消息通知

参数说明:

参数 类型 必传(Y/N) 说明
messageId String Y 唯一标识一条消息
type String Y 消息类型,固定为employee_entry
sendtime Long Y 消息推送时间戳(精确到秒)
employeeId String Y 员工ID
name String Y 员工姓名
mobile String Y 手机号
email String Y 工作邮箱
entryDate String Y 入职时间,格式:yyyy-MM-dd
hireType String Y 聘用类型,0-正式,10-实习,11-劳务,12-顾问,13-返聘,14-外包,15-兼职
fields Map Y 员工字段信息 员工入职推送的字段是固定的,目前只有"转正日期"、"部门"、"工号"。如果需要其他的信息,请通过员工id查询员工详情。

消息样例:

{
    "messageId":"uuid",
    "type":"employee_entry",
    "sendtime":"1515986177",
    "employeeId":"employeeUUID",
    "name":"张三",
    "mobile":"15913215421",
    "email":"a@qq.com",
    "entryDate":"2017-03-02",
    "hireType": 0, // 0-正式,10-实习,11-劳务,12-顾问,13-返聘,14-外包
    "fields":{
        "转正日期":"2018-01-15",
        "部门":"departmentUUID",
        "工号":"12323"
    }
}

返回:

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

results matching ""

    No results matching ""