Common Models

Department

The following is an example of a Department:

{
  "departmentId": 1,
  "name": "Accounting",
  "parentDepartmentId": null,
  "employer": {
    "employerId": 123,
    "name": "ABC Employer"
  }
}

Each Department has the following properties:

PropertyTypeDescription
departmentIdintRead-only; unique identifier for a Department.
namestringRequired; name for the Department.
parentDepartmentIdintOptional; unique identifier for the department’s parent.
employerobjectRequired; Employer associated with the Department.

Employer

PropertyTypeDescription
employerIdintRead-only; unique identifier for the Employer
namestringOptional; name for the employer