IMS Web Service Reference

Method: SetDepartment

Description

Sets the department.                 Required privilege: "security.set_basedata".

Action

http://ims.lyngsoesystems.com/administration/SetDepartment

Input

The input of this method is the document element tns:SetDepartment having the structure defined by the following table.

Element  Type  Occurs  Description 
    1..1 
tns:Token  common:TokenType  1..1 
tns:DepartmentKey  common:DepartmentKeyType  1..1 
tns:DepartmentTypeKey  common:DepartmentTypeKeyType  1..1 
tns:Code  common:DepartmentCodeType  1..1 
tns:Name  common:DepartmentNameType  1..1 
tns:Disabled  xsd:boolean  1..1 
tns:Excluded  xsd:boolean  1..1 
Output

The output of this method is the document element tns:SetDepartmentResponse that is always empty.

Faults
Name  Content  Description 
InternalError  common:InternalErrorExceptionInfo 
InvalidArgument  common:InvalidArgumentExceptionInfo 
InvalidTokenException  common:InvalidTokenExceptionInfo 
InsufficientPrivileges  common:InsufficientPrivilegesExceptionInfo 
DuplicateRecordFound  common:DuplicateRecordFoundExceptionInfo