LegatoCostCenterServiceService
Endpoint Metadata
- Namespace: http://api.legatoppm.com/
- WSDL: api.wsdl
- Mount Point: /soap/LegatoCostCenterServiceService
The following methods are available on this endpoint:
createCostCenter
Creates a cost center.
Input Parameters
name | description |
---|---|
costCenter | The cost center to be created. |
Return Value
The created cost center.
Faults
name | description |
---|---|
PermissionDeniedException | If you don't have permission. |
deleteCostCenter
Input Parameters
name | description |
---|---|
id | The cost center id. |
Return Value
Whether the cost center was successfully deleted.
Faults
name | description |
---|---|
DataNotFoundException | If the cost center doesn't exist. |
PermissionDeniedException | If you don't have permission. |
getAllCostCenters
Gets all cost centers.
Return Value
The list of cost centers.
Faults
name | description |
---|---|
PermissionDeniedException | If you don't have permission. |
getCostCenter
Gets a cost center.
Input Parameters
name | description |
---|---|
id | The cost center id. |
Return Value
The cost center.
Faults
name | description |
---|---|
DataNotFoundException | If the cost center doesn't exist. |
PermissionDeniedException | If you don't have permission. |
updateCostCenter
Updates a cost center.
Input Parameters
name | description |
---|---|
costCenter | The cost center to be updated. |
Return Value
The updated cost center.
Faults
name | description |
---|---|
DataNotFoundException | If the cost center doesn't exist. |
PermissionDeniedException | If you don't have permission. |