Department Methods

Method Description
addDepartment Adds a department to the system.

The user calling this method must have AdministratorRight and be a super administrator.

updateDepartment Updates a department in the system.

The user calling this method must have AdministratorRight and be a super administrator.

When performing an update only set the fields that you want to update in the Department object. The rest of the fields will be null.

To update a field to become null:
  • String objects should be set to be an empty string (for example: "").
removeDepartment Removes a department from the system.

The user calling this method must have AdministratorRight and be a super administrator.

retrieveAllDepartments Retrieves all departments from the system as an array of departments.

The last element of the array is null. If no departments are found, an array of one element is returned with a value of null.