Insert Field-Related Operations
The following code shows sample input and output XML for field-related INSERT operations.
Input
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:asi="http://example.com/asi/" xmlns:hous="http://www.example.com/xml/
Household%20Interface">
<soapenv:Header/>
<soapenv:Body>
<asi:SiebelHouseholdInsert_Input>
<hous:ListOfHouseholdInterface>
<hous:Household>
<hous:Category>Gold</hous:Category>
<hous:CurrencyCode>USD</hous:CurrencyCode>
<hous:EDListOfHouseholdName>
<hous:HouseholdName EDStartDate="04/10/2012" EDEndDate="04/20/2012">Adam</hous:HouseholdName>
<hous:HouseholdName>Becham</hous:HouseholdName>
</hous:EDListOfHouseholdName>
<hous:HouseholdId>ASDQ-1264</hous:HouseholdId>
<hous:Income>47751</hous:Income>
<hous:PhoneNumber>6504234234</hous:PhoneNumber>
<hous:Segment>White Collar</hous:Segment>
<hous:Status>Active</hous:Status>
<hous:Type>Single</hous:Type>
</hous:Household>
</hous:ListOfHouseholdInterface>
<asi:StatusObject>?</asi:StatusObject>
</asi:SiebelHouseholdInsert_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:SiebelHouseholdInsert_Output xmlns:ns="http://example.com/asi/">
<ListOfHouseholdInterface xmlns="http://www.example.com/xml/
Household%20Interface">
<Household operation="insert">
<HouseholdId>ASDQ-1264</HouseholdId>
<IntegrationId/>
</Household>
</ListOfHouseholdInterface>
</ns:SiebelHouseholdInsert_Output>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>