getItemDescriptionById()
LineItemDescription getItemDescriptionById(string itemDescriptionId)
This method returns details of an item description.
Parameters
- itemDescriptionId
- Format: string
Results
This method returns a LineItemDescription XML document that contains the properties of the item description.
There are no messages defined by this method.
Example: A returned LineItemDescription XML document
This example shows a LineItemDescription XML document.
<LineItemDescription xmlns="http://xml.inomial.com/smile/2.xsd">
<Company>1</Company>
<ItemCode>misc1234</ItemCode>
<Name>Example Company Pty Ltd: Professional services</Name>
<UnitSize>1</UnitSize>
<ChargeGst>true</ChargeGst>
<Rate formatted="$0.50" currency="AUD">0.50000</Rate>
<ReportingCategory>
<Company>1</Company>
<ReportingCode>exampleps</ReportingCode>
<Name>Example Company Pty Ltd: Professional services division</Name>
<Id>10</Id>
</ReportingCategory>
<Currency>AUD</Currency>
</LineItemDescription>
Faults
NoSuchItemExceptionThis fault is returned when the itemDescriptionId does not exist.
Java client syntax
java -cp build/smilewsv2-client.jar [options]
com.inomial.smile.client.v2.examples.GetItemDescriptionById
itemDescriptionId
- itemDescriptionId
- Purpose: Specifies identification code for the item description.
Note: For more information about the Java client and the options it
accepts, see Java client syntax.