getCostCentre()

CostCentre getCostCentre(int costCentreId)

This method retrieves cost centre information for a given ID.

Parameters

costCentreId
Format: integer
Purpose: Specifies the ID of the cost centre.

Results

This method returns a CostCentre XML document that contains cost centre information for the given ID.

There are no messages defined by this method.

Faults

NoSuchItemException

This fault is returned when there is no cost centre found with the specified ID.

Java client syntax

java -cp build/smilewsv2-client.jar [options]
 com.inomial.smile.client.v2.examples.GetCostCentre costCentreId
getCostCentre
Purpose: Specifies the ID of the cost centre.
Note: For more information about the Java client and the options it accepts, see Java client syntax.