XML Method Example

The following XML example demonstrates an upsert-and-delete operation:

<SiebelMessage MessageId="" MessageType="Integration Object" IntObjectName="Sample 
Account">

<ListofSampleAccount>
   <Account operation="upsert">
        <Name>A. K. Parker Distribution</Name>
        <Location>HQ-Distribution</Location>
        <Organization>North American Organization</Organization>
        <Division/>

        <CurrencyCode>USD</CurrencyCode>

        <Description>This is the key account in the AK Parker
               Family</Description>

         <HomePage>www.parker.com</HomePage>

         <LineofBusiness>Manufacturing</LineofBusiness>

        <ListOfContact>
           <Contact operation="delete">
                <FirstName>Stan</FirstName>
                <JobTitle>Senior Mgr of MIS</JobTitle>
                <LastName>Graner</LastName>
                <MiddleName>A</MiddleName>
                <PersonalContact>N</PersonalContact>
                <Account>A. K. Parker Distribution</Account>
             <AccountLocation>HQ-Distribution</AccountLocation>
           </Contact>
        </ListOfContact>

     </Account>
   </ListofSampleAccount>

</SiebelMessage>