Skip to content

Instantly share code, notes, and snippets.

@rubypirate
Created November 13, 2015 11:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubypirate/7ba533d71c3e55732985 to your computer and use it in GitHub Desktop.
Save rubypirate/7ba533d71c3e55732985 to your computer and use it in GitHub Desktop.
<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:typ='http://xmlns.oracle.com/apps/crmCommon/salesParties/contactService/types/' xmlns:con='http://xmlns.oracle.com/apps/crmCommon/salesParties/contactService/' xmlns:com='http://xmlns.oracle.com/apps/crmCommon/salesParties/commonService/'>
<soapenv:Header/>
<soapenv:Body>
<typ:createContact>
<typ:contact>
<!-- Owner Party ID is account -->
<con:OwnerPartyId>300000000740925</con:OwnerPartyId>
<con:FirstName>alpha</con:FirstName>
<con:LastName>London</con:LastName>
<con:EmailAddress>alpha@bookingbug.com</con:EmailAddress>
<con:Type>ZCA_CUSTOMER</con:Type>
<con:PrimaryAddress>
<com:AddressLine1>address1</com:AddressLine1>
<com:AddressLine2>address2</com:AddressLine2>
<com:AddressLine3>address3</com:AddressLine3>
<com:AddressLine4>address4</com:AddressLine4>
<com:City>London</com:City>
<com:Country>GB</com:Country>
</con:PrimaryAddress>
</typ:contact>
</typ:createContact>
</soapenv:Body>
</soapenv:Envelope>
Creating Contact: OwnerPartyId:300000000740925 FirstName:alpha Email:alpha@bookingbug.com
RESPONSE CODE:200
Returned PartyId:300000002431074
=========================================================
<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:typ='http://xmlns.oracle.com/apps/crmCommon/salesParties/contactService/types/' xmlns:typ1='http://xmlns.oracle.com/adf/svc/types/'>
<soapenv:Header/>
<soapenv:Body>
<typ:findContact>
<typ:findCriteria>
<typ1:fetchStart>0</typ1:fetchStart>
<typ1:fetchSize>10</typ1:fetchSize>
<typ1:filter>
<typ1:group>
<typ1:conjunction>Or</typ1:conjunction>
<typ1:upperCaseCompare>false</typ1:upperCaseCompare>
<typ1:item>
<typ1:conjunction>Or</typ1:conjunction>
<typ1:upperCaseCompare>true</typ1:upperCaseCompare>
<typ1:attribute>EmailAddress</typ1:attribute>
<typ1:operator>=</typ1:operator>
<typ1:value>alpha@bookingbug.com</typ1:value>
</typ1:item>
</typ1:group>
</typ1:filter>
<typ1:excludeAttribute>false</typ1:excludeAttribute>
</typ:findCriteria>
<typ:findControl>
<typ1:retrieveAllTranslations>false</typ1:retrieveAllTranslations>
</typ:findControl>
</typ:findContact>
</soapenv:Body>
</soapenv:Envelope>
Finding Contact
Response Code: 200
PartyId: 300000002431060
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment