Upsert Field-Related Operations
The following code shows sample input and output XML for field-related UPSERT operations.
Input
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:asi="http://example.com/asi/" xmlns:acc="http://www.example.com/xml/
Account%20Interface">
<soapenv:Header/>
<soapenv:Body>
<asi:SiebelAccountInsertOrUpdate_Input>
<acc:ListOfAccountInterface>
<acc:Account>
<acc:AccountId>88-30A85</acc:AccountId>
<acc:Name>TESTASDP</acc:Name>
<acc:ListOfRelatedContact>
<acc:RelatedContact>
<acc:ContactId>88-30ARL</acc:ContactId>
<acc:EDListOfFirstName>
<acc:FirstName EDStartDate="04/01/2012" EDEndDate="">John</acc:FirstName>
</acc:EDListOfFirstName>
<acc:EDListOfLastName>
<acc:LastName EDStartDate="04/01/2012" EDEndDate="">Steven</acc:LastName>
</acc:EDListOfLastName>
</acc:RelatedContact>
</acc:ListOfRelatedContact>
</acc:Account>
<acc:Account>
<acc:AccountId>ASDQ_TY4</acc:AccountId>
<acc:Name>TESTASDY</acc:Name>
<acc:ListOfRelatedContact>
<acc:RelatedContact>
<acc:ContactId>ASDQ_TC4</acc:ContactId>
<acc:EDListOfFirstName>
<acc:FirstName EDStartDate="04/25/2012" EDEndDate="">Louis</acc:FirstName>
</acc:EDListOfFirstName>
<acc:EDListOfLastName>
<acc:LastName EDStartDate="04/25/2012" EDEndDate="">George</acc:LastName>
</acc:EDListOfLastName>
</acc:RelatedContact>
</acc:ListOfRelatedContact>
</acc:Account>
</acc:ListOfAccountInterface>
<!--Optional:-->
<asi:StatusObject>?</asi:StatusObject>
</asi:SiebelAccountInsertOrUpdate_Input>
</soapenv:Body>
</soapenv:Envelope>
Output
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://
www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<ns:SiebelAccountInsertOrUpdate_Output xmlns:ns="http://example.com/asi/">
<ListOfAccountInterface xmlns="http://www.example.com/xml/
Account%20Interface">
<Account operation="update">
<AccountId>88-30A85</AccountId>
<IntegrationId/>
</Account>
<Account operation="insert">
<AccountId>88-30HDZ</AccountId>
<IntegrationId/>
</Account>
</ListOfAccountInterface>
</ns:SiebelAccountInsertOrUpdate_Output>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Related Topics
About Siebel EAI Effective Dating Operations
Sample XML for Link-Related Siebel EAI Effective Dating Operations