Notify users when deleted employee
Prequisite to consume
- If there is a deleted employee data.
Event
talenta.employee.detail.deleted
Schema
{
"user_id": Number,
"personal": Object,
"family": Object,
"education": Object,
"employment": Object,
"payroll_info": Object,
"custom_field": Array,
"access_role": Object
}
Example Response
{
"user_id": 12321412,
"first_name": "SDET",
"last_name": "Superadmin",
"email": "sdet-automation+test61@mekari.com",
"employee_id": "SDET-001",
"company_id": 3053,
"organization_id": 20392,
"organization_name": "IT Division"
}
4. Notify users when approved transfer employee
Prequisite to consume
- If there is a employee transfer approved
Event
talenta.employee.transfer.approved
Schema
{
"user_id": Number,
"old_employment": {
"effective date": String,
"employee_id": String,
"company_id": Number,
"organization_id": Number,
"organization_name": String,
"job_position_id": Number,
"job_position": String,
"job_level_id": Number,
"job_level": String,
"employement_status_id": Number,
"employment_status": String,
"branch_id": Number,
"branch": String,
"grade": String,
"class": String,
"approval_line": Number,
"approval_line_employee_id": String,
"status": String,
"effective_date": String,
},
"new_employment": {
"effective date": String,
"employee_id": String,
"company_id": Number,
"organization_id": Number,
"organization_name": String,
"job_position_id": Number,
"job_position": String,
"job_level_id": Number,
"job_level": String,
"employement_status_id": Number,
"employment_status": String,
"branch_id": Number,
"branch": String,
"grade": String,
"class": String,
"approval_line": Number,
"approval_line_employee_id": String,
"status": String,
"effective_date": String,
}
}
Example Response
{
"user_id": "integer",
"old_employment": {
"effective date": "string",
"employee_id": "string",
"company_id": "integer",
"organization_id": "integer",
"organization_name": "string",
"job_position_id": "integer",
"job_position": "string",
"job_level_id": "integer",
"job_level": "string",
"employement_status_id": "integer",
"employment_status": "string",
"branch_id": "integer",
"branch": "string",
"grade": "string",
"class": "string",
"approval_line": "integer",
"approval_line_employee_id": "string",
"status": "string",
"effective_date": "string",
},
"new_employment": {
"effective date": "string",
"employee_id": "string",
"company_id": "integer",
"organization_id": "integer",
"organization_name": "string",
"job_position_id": "integer",
"job_position": "string",
"job_level_id": "integer",
"job_level": "string",
"employement_status_id": "integer",
"employment_status": "string",
"branch_id": "integer",
"branch": "string",
"grade": "string",
"class": "string",
"approval_line": "integer",
"approval_line_employee_id": "string",
"status": "string",
"effective_date": "string",
}
}