DepartmentMembership

Used to represent an Employees membership of a Department

Name / Description Type / Format Example
code
The Code for the Department
string "string"
color
The Color for the Department
string "string"
title
The Title for the Department
string "string"
primary
Set to true if this is the primary Department for the Employee.
Only one department can be set as the primary.
boolean true
weighting
If there is more than one Department Membership for the Employee then this determines the weighting to give to this membership.
ie, if he is in two departments you might set the primary as 0.8 and the secondary as 0.2;
number double 0.0
{
  "code": "string",
  "color": "string",
  "title": "string",
  "primary": true,
  "weighting": 0.0
}
Contained in Models

- none -

Consumed by Operations
Set Employee Departments