The models
How they connect
Every model carries the employee’s ID, so you read each from its own endpoint and filter onemployee_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.
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.Related
- Organization - the company, groups and offices an employee points at
- Filters - what each endpoint filters on
- Benefits - what dependents are covered under