Update Customer Contact Point
In this use case we will update a customer contact point
Operation: mergePerson
Request Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/" xmlns:per="http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/" xmlns:par="http://xmlns.oracle.com/apps/cdm/foundation/parties/partyService/" xmlns:sour="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/sourceSystemRef/" xmlns:con="http://xmlns.oracle.com/apps/cdm/foundation/parties/contactPointService/" xmlns:con1="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/contactPoint/" xmlns:par1="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/partySite/" xmlns:per1="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/person/" xmlns:rel="http://xmlns.oracle.com/apps/cdm/foundation/parties/relationshipService/" xmlns:org="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/orgContact/" xmlns:rel1="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/relationship/"> <soapenv:Header/> <soapenv:Body> <typ:mergePerson> <typ:personParty> <per:PartyId>300000340253723</per:PartyId> <per:Phone> <con:ContactPointId>300000340690502</con:ContactPointId> <con:PhoneCountryCode>1</con:PhoneCountryCode> <con:PhoneNumber>333333</con:PhoneNumber> <con:RelationshipId>300000340253725</con:RelationshipId> </per:Phone> </typ:personParty> </typ:mergePerson> </soapenv:Body> </soapenv:Envelope>
Response Body
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing"> <env:Header> <wsa:Action>http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/mergePersonResponse</wsa:Action> <wsa:MessageID>urn:uuid:dd4c8251-49bc-4368-9534-fc3374d11319</wsa:MessageID> </env:Header> <env:Body> <ns0:mergePersonResponse xmlns:ns0="http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/"> <ns1:result xsi:type="ns2:PersonResult" xmlns:ns5="http://xmlns.oracle.com/apps/cdm/foundation/parties/contactPointService/" xmlns:ns8="http://xmlns.oracle.com/apps/cdm/foundation/parties/relationshipService/" xmlns:ns2="http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/" xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" xmlns:ns0="http://xmlns.oracle.com/adf/svc/types/" xmlns:ns3="http://xmlns.oracle.com/apps/cdm/foundation/parties/partyService/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns1="http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/"> <ns2:Value> <ns2:PartyId>300000340253723</ns2:PartyId> <ns2:PartyNumber>Opty_901803</ns2:PartyNumber> <ns2:PartyName>ManojToTest1 RelationshipReAssociation</ns2:PartyName> <ns2:PartyType>PERSON</ns2:PartyType> <ns2:ValidatedFlag xsi:nil="true"/> <ns2:LastUpdatedBy>pr@t</ns2:LastUpdatedBy> <ns2:LastUpdateLogin>026F302407250B6DE063A658500AFF60</ns2:LastUpdateLogin> <ns2:CreationDate>2023-08-21T04:05:21Z</ns2:CreationDate> <ns2:RequestId xsi:nil="true"/> <ns2:LastUpdateDate>2023-09-08T07:19:27.499Z</ns2:LastUpdateDate> <ns2:CreatedBy>pr@t</ns2:CreatedBy> <ns2:OrigSystemReference>300000340253723</ns2:OrigSystemReference> <ns2:SICCode xsi:nil="true"/> <ns2:JgzzFiscalCode xsi:nil="true"/> <ns2:PersonFirstName>ManojToTest1</ns2:PersonFirstName> <ns2:PersonPreNameAdjunct>MS.</ns2:PersonPreNameAdjunct> <ns2:PersonLastName>RelationshipReAssociation</ns2:PersonLastName> <ns2:PersonMiddleName xsi:nil="true"/> <ns2:PersonTitle xsi:nil="true"/> <ns2:PersonNameSuffix xsi:nil="true"/> <ns2:PersonPreviousLastName xsi:nil="true"/> <ns2:PersonAcademicTitle xsi:nil="true"/> <ns2:Country xsi:nil="true"/> <ns2:Address2 xsi:nil="true"/> <ns2:Address1 xsi:nil="true"/> <ns2:Address4 xsi:nil="true"/> <ns2:Address3 xsi:nil="true"/> <ns2:PostalCode xsi:nil="true"/> <ns2:City xsi:nil="true"/> <ns2:Province xsi:nil="true"/> <ns2:State xsi:nil="true"/> <ns2:County xsi:nil="true"/> <ns2:Status>A</ns2:Status> <ns2:URL xsi:nil="true"/> <ns2:SICCodeType xsi:nil="true"/> <ns2:EmailAddress xsi:nil="true"/> <ns2:GSAIndicatorFlag xsi:nil="true"/> <ns2:LanguageName xsi:nil="true"/> <ns2:MissionStatement xsi:nil="true"/> <ns2:CategoryCode xsi:nil="true"/> <ns2:ThirdPartyFlag xsi:nil="true"/> <ns2:Salutation xsi:nil="true"/> <ns2:CreatedByModule>TCA_FORM_WRAPPER</ns2:CreatedByModule> <ns2:CertReasonCode xsi:nil="true"/> <ns2:CertificationLevel xsi:nil="true"/> <ns2:PrimaryPhonePurpose xsi:nil="true"/> <ns2:PrimaryPhoneContactPTId>300000340690502</ns2:PrimaryPhoneContactPTId> <ns2:PrimaryPhoneCountryCode>1</ns2:PrimaryPhoneCountryCode> <ns2:PrimaryPhoneLineType>GEN</ns2:PrimaryPhoneLineType> <ns2:PrimaryPhoneNumber>333333</ns2:PrimaryPhoneNumber> <ns2:PrimaryPhoneAreaCode xsi:nil="true"/> <ns2:PreferredContactMethod xsi:nil="true"/> <ns2:PrimaryPhoneExtension xsi:nil="true"/> <ns2:IdenAddrLocationId xsi:nil="true"/> <ns2:PrimaryEmailContactPTId xsi:nil="true"/> <ns2:IdenAddrPartySiteId xsi:nil="true"/> <ns2:PersonLastNamePrefix xsi:nil="true"/> <ns2:PrimaryURLContactPTId xsi:nil="true"/> <ns2:PreferredName xsi:nil="true"/> <ns2:PersonSecondLastName xsi:nil="true"/> <ns2:PreferredNameId xsi:nil="true"/> <ns2:PreferredContactPersonId xsi:nil="true"/> <ns2:InternalFlag>false</ns2:InternalFlag> <ns2:PreferredFunctionalCurrency xsi:nil="true"/> <ns2:Gender xsi:nil="true"/> <ns2:MaritalStatus xsi:nil="true"/> <ns2:Comments xsi:nil="true"/> <ns2:DateOfBirth xsi:nil="true"/> <ns2:UserGUID xsi:nil="true"/> <ns2:PartyUniqueName>ManojToTest1 RelationshipReAssociation</ns2:PartyUniqueName> <ns2:SourceSystem xsi:nil="true"/> <ns2:SourceSystemReferenceValue xsi:nil="true"/> <ns2:SourceSystemUpdateDate xsi:nil="true"/> <ns2:Phone xmlns:ns6="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/contactPoint/"> <ns5:ContactPointId>300000340690502</ns5:ContactPointId> <ns5:ContactPointType>PHONE</ns5:ContactPointType> <ns5:Status>A</ns5:Status> <ns5:OwnerTableName>HZ_PARTIES</ns5:OwnerTableName> <ns5:OwnerTableId>300000340253723</ns5:OwnerTableId> <ns5:PrimaryFlag>true</ns5:PrimaryFlag> <ns5:OrigSystemReference>300000340690502</ns5:OrigSystemReference> <ns5:LastUpdateDate>2023-09-08T07:19:27Z</ns5:LastUpdateDate> <ns5:LastUpdatedBy>pr@t</ns5:LastUpdatedBy> <ns5:CreationDate>2023-09-08T07:16:11.001Z</ns5:CreationDate> <ns5:CreatedBy>pr@t</ns5:CreatedBy> <ns5:LastUpdateLogin>026F302407250B6DE063A658500AFF60</ns5:LastUpdateLogin> <ns5:RequestId xsi:nil="true"/> <ns5:ObjectVersionNumber>2</ns5:ObjectVersionNumber> <ns5:CreatedByModule>TCA_FORM_WRAPPER</ns5:CreatedByModule> <ns5:ContactPointPurpose xsi:nil="true"/> <ns5:PrimaryByPurpose>N</ns5:PrimaryByPurpose> <ns5:StartDate>2023-09-08</ns5:StartDate> <ns5:EndDate>4712-12-31</ns5:EndDate> <ns5:RelationshipId>300000340253725</ns5:RelationshipId> <ns5:PartyUsageCode xsi:nil="true"/> <ns5:OrigSystem xsi:nil="true"/> <ns5:PhoneCallingCalendar xsi:nil="true"/> <ns5:LastContactDtTime xsi:nil="true"/> <ns5:PhoneAreaCode xsi:nil="true"/> <ns5:PhoneCountryCode>1</ns5:PhoneCountryCode> <ns5:PhoneNumber>333333</ns5:PhoneNumber> <ns5:PhoneExtension xsi:nil="true"/> <ns5:PhoneLineType>GEN</ns5:PhoneLineType> <ns5:RawPhoneNumber>1-333333</ns5:RawPhoneNumber> <ns5:PagerTypeCode xsi:nil="true"/> <ns5:FormattedPhoneNumber>+1 333333</ns5:FormattedPhoneNumber> <ns5:TransposedPhoneNumber>3333331</ns5:TransposedPhoneNumber> <ns5:PartyName>ManojToTest1 RelationshipReAssociation</ns5:PartyName> <ns5:TimezoneCode xsi:nil="true"/> <ns5:OverallPrimaryFlag>true</ns5:OverallPrimaryFlag> </ns2:Phone> </ns2:Value> </ns1:result> </ns0:mergePersonResponse> </env:Body> </env:Envelope>