Skip to main content

MoveEmployeeToResidentialParkInput

Input for moving an employee to another residential park

input MoveEmployeeToResidentialParkInput {
employeeId: EmployeeID!
keepSourceParkRoles: Boolean!
roleTemplateNames: [String!]!
targetParkId: ResidentialParkID!
}

Fields​

MoveEmployeeToResidentialParkInput.employeeId ● EmployeeID! non-null scalar​

The employee to move. Archived employees cannot be moved.

MoveEmployeeToResidentialParkInput.keepSourceParkRoles ● Boolean! non-null scalar​

Whether the employee keeps the roles they hold in the park they are leaving. Off by default: a move normally ends the access to the old park, and keeping it is the deliberate exception, for someone who goes on covering shifts there. Roles in any third park are never touched.

MoveEmployeeToResidentialParkInput.roleTemplateNames ● [String!]! non-null scalar​

Names of the role templates the employee's user account is granted in the target park.

MoveEmployeeToResidentialParkInput.targetParkId ● ResidentialParkID! non-null scalar​

The residential park the employee moves to. Must be neither the employee's current park nor an archived one.

Member Of​

moveEmployeeToResidentialPark mutation