IMS Web Service Reference

Method: GetDepartments

Description

Retrieves the available departments. It is possible to exclude those that are either not active or deleted in ILS from the response.

Action

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

Input

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

Element  Type  Occurs  Description 
    1..1 
tns:Token  common:TokenType  1..1 
tns:IncludeAll  xsd:boolean  1..1 
Output

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

Element  Type  Occurs  Description 
    1..1 
tns:Departments  common:DepartmentInfoType  0..* 
Faults
Name  Content  Description 
InternalError  common:InternalErrorExceptionInfo 
InvalidArgument  common:InvalidArgumentExceptionInfo 
InvalidTokenException  common:InvalidTokenExceptionInfo 
InsufficientPrivileges  common:InsufficientPrivilegesExceptionInfo