创建员工通知

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

参数说明

参数 类型 必传(Y/N) 说明
messageId String Y 唯一标识一条消息
type String Y 消息类型,固定为employee_entry
sendtime Long Y 消息推送时间戳(精确到秒)
employeeId String Y 员工ID
name String Y 员工姓名
mobile String Y 手机号
entryDate String Y 入职时间,格式:yyyy-MM-dd
hireType String Y 聘用类型,0-正式,10-实习,11-劳务,12-顾问,13-返聘,14-外包
fields Map Y 员工字段信息

消息样例

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

返回:

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

results matching ""

    No results matching ""