Example of Inserting a Child Component

The code snippets in this example demonstrate inserting a non-existing business address for an existing account.

Request

The following is an example of a request:

<SiebelMessage MessageType="Integration Object" IntObjectName="Account" 
IntObjectFormat="Siebel Hierarchical">
   <ListOfAccount>
      <Account>
         <Id>P-5NA84</Id>
         <ListOfBusiness_Address>
            <Business_Address>
               <City>San Carlos</City>
               <Street_Address>1145 laurel street</Street_Address>
               <State>CA</State>
               <Country>USA</Country>
               <Postal_Code>94063</Postal_Code>
            </Business_Address>
         </ListOfBusiness_Address>
      </Account>
   </ListOfAccount>
</SiebelMessage>

Response

The following is an example of a response:

<SiebelMessage MessageId="P-3ITJ" MessageType="Integration Object" 
IntObjectName="Account" IntObjectFormat="Siebel Hierarchical">
   <ListOfAccount>
      <Account>
         <Id>P-5NA84</Id>
         <Mod_Id>1</Mod_Id>
         <ListOfBusiness_Address>
            <Business_Address>
               <Id>P-5NA8B</Id>
               <Mod_Id>0</Mod_Id>
            </Business_Address>
         </ListOfBusiness_Address>
      </Account>
   </ListOfAccount>
</SiebelMessage>