Employee position

As you might already know, an employee profile is an account of the employee. Additionally, to employee attributes, such as first and last name, hire date etc, there are separate records for employee position and salary.
To keep the historic order of employee promotions and other changes, we suggest you add a new record instead of updating the existing field.

  • Employee position created
  • Employee position updated

Employee position created

Employee position created webhook will be triggered immediately whenever a new position record will be added to any employee: active or terminated (inactive).

{
  "action": "employee_position_create",
  "data": {
    "id": 224222,
    "attributes": {
      "effective_on": "2022-12-01"
    },
    "employee": {
      "id": 133710,
      "employee_number": "IT-1029",
      "first_name": "Volodymyr",
      "last_name": "Markovich",
      "email": "[email protected]"
    },
    "reporting_to": {
      "id": 10277,
      "first_name": "Pahney",
      "last_name": "Zhelezo"
    },
    "position": {
      "id": 11943,
      "name": "Senior Developer"
    },
    "department": {
      "id": 5094,
      "name": "IT"
    },
    "division": {
      "id": 1819,
      "name": "Europe"
    },
    "location": {
      "id": 28693,
      "name": "Vinnytsia"
    },
    "meta": {
      "created_at": "2022-09-21T14:57:29.151+01:00",
      "updated_at": "2022-09-21T14:57:29.151+01:00"
    }
  }
}

Employee position updated

Employee position created webhook will be triggered immediately whenever an existing position record will be updated for any employee: active or terminated (inactive).

{
  "action": "employee_position_update",
  "data": {
    "id": 224222,
    "attributes": {
      "effective_on": "2022-12-01"
    },
    "employee": {
      "id": 133710,
      "employee_number": "IT-1029",
      "first_name": "Volodymyr",
      "last_name": "Markovich",
      "email": "[email protected]"
    },
    "reporting_to": {
      "id": 130333,
      "first_name": "John",
      "last_name": "Doe"
    },
    "position": {
      "id": 11943,
      "name": "Senior Developer"
    },
    "department": {
      "id": 5094,
      "name": "IT"
    },
    "division": {
      "id": 1819,
      "name": "Europe"
    },
    "location": {
      "id": 28693,
      "name": "Vinnytsia"
    },
    "meta": {
      "created_at": "2022-09-21T14:57:29.151+01:00",
      "updated_at": "2022-09-21T15:00:32.615+01:00"
    }
  }
}