LegatoDepartmentServiceService
Endpoint Metadata
- Namespace: http://api.legatoppm.com/
- WSDL: api.wsdl
- Mount Point: /soap/LegatoDepartmentServiceService
The following methods are available on this endpoint:
createDepartment
Creates a department.
Input Parameters
name | description |
---|---|
department | The department to be created. |
Return Value
The created department.
Faults
name | description |
---|---|
PermissionDeniedException | If you don't have permission. |
deleteDepartment
Input Parameters
name | description |
---|---|
id | The department id. |
Return Value
Whether the department was successfully deleted.
Faults
name | description |
---|---|
DataNotFoundException | If the department doesn't exist. |
PermissionDeniedException | If you don't have permission. |
getAllDepartments
Gets all departmentes.
Return Value
The list of departments.
Faults
name | description |
---|---|
PermissionDeniedException | If you don't have permission. |
getDepartment
Gets a department.
Input Parameters
name | description |
---|---|
id | The department id. |
Return Value
The department.
Faults
name | description |
---|---|
DataNotFoundException | If the department doesn't exist. |
PermissionDeniedException | If you don't have permission. |
updateDepartment
Updates a department.
Input Parameters
name | description |
---|---|
department | The department to be updated. |
Return Value
The updated department.
Faults
name | description |
---|---|
DataNotFoundException | If the department doesn't exist. |
PermissionDeniedException | If you don't have permission. |