Example of Using InitLeaves on a Root Component
The following code snippet demonstrates using InitLeaves to retrieve default values for a root component. In this example the root component is Account.
Request
The following is an example of a request:
<?xml version="1.0" encoding="UTF-8"?>
<SiebelMessage MessageType="Integration Object" IntObjectName="Account"
IntObjectFormat="Siebel Hierarchical">
<ListOfAccount>
<Account>
<Currency_Code></Currency_Code>
<Account_Status></Account_Status>
<Location_Type></Location_Type>
</Account>
</ListOfAccount>
</SiebelMessage>
Response
The following is an example of a response:
<?xml version="1.0" encoding="UTF-8"?>
<SiebelMessage MessageType="Integration Object" IntObjectName="Account"
IntObjectFormat="Siebel Hierarchical">
<ListOfAccount>
<Account>
<Account_Status>Active</Account_Status>
<Currency_Code>USD</Currency_Code>
<Location_Type>Corporate Training Center</Location_Type>
</Account>
</ListOfAccount>
</SiebelMessage>