Skip to main content
Six models describe one person. Employee holds who they are. The rest hang off it, and anything that changes over time gets a new dated record instead of overwriting the old one.

The models

How they connect

Every model carries the employee’s ID, so you read each from its own endpoint and filter on employee_id. Compensation also points at a pay group - see Payroll.

How many per employee

For Employment & Compensation, the current record is the one with the latest date, never the first in the list. Employment is dated by effective_date& compensation by start_date.
If an employee is still working or not is answered via employment_status, termination_date and termination_reason which all are present in the employee model. employment_status has a fixed set of values - see Enum values.

What you can write

Currently Employee accepts writes here - see Create an employee.
  • Organization - the company, groups and offices an employee points at
  • Filters - what each endpoint filters on
  • Benefits - what dependents are covered under