Back to Organisation Service

Method Details for CreateDepartment.

Creates a department. The department is deactivated on creation.

Parameters

  • departmentGuid Guid Department unique identifier. Generate a new for each department (Guid)
  • name String Name of the department (string)
  • no String Number of the department (string)
  • parentDepartmentGuid Guid Parent department unique identifier. Use Guid.Empty to place it in the root (Guid)
  • departmentManagerGuid Guid Department manager, employee unique identifier (Guid)
  • token SecurityToken Security token associated with the request (SecurityToken)

Returns

A department object