Example of Inserting an Association Child Component
This example demonstrate inserting an existing organization for an existing account. This operation associates the organization with the account. If the organization does not exist, then the EAI UI Data Adapter generates an error.
Request
The following is an example of a request:
<SiebelMessage MessageType="Integration Object" IntObjectName="Account"
IntObjectFormat="Siebel Hierarchical">
<ListOfAccount>
<Account>
<Id>P-5NA84</Id>
<ListOfAccount_Organization>
<Account_Organization>
<Id>1-123</Id>
</Account_Organization>
</ListOfAccount_Organization>
</Account>
</ListOfAccount>
</SiebelMessage>
Response
The following is an example of a response:
<SiebelMessage MessageId="P-3ITL" MessageType="Integration Object"
IntObjectName="Account" IntObjectFormat="Siebel Hierarchical">
<ListOfAccount>
<Account>
<Id>P-5NA84</Id>
<Mod_Id>1</Mod_Id>
<ListOfAccount_Organization>
<Account_Organization IsPrimaryMVG="Y">
<Id>0-R9NH</Id>
<ModId>9</ModId>
</Account_Organization>
<Account_Organization IsPrimaryMVG="N">
<Id>1-123</Id>
<ModId>0</ModId>
</Account_Organization>
</ListOfAccount_Organization>
</Account>
</ListOfAccount>
</SiebelMessage>