You are on page 1of 12

Operation: createPerson

ObjectId = Organization Party Id = 100000000827584 (this was already created)


RelationshipCode = CONTACT_OF was took from HZ_RELATIONSHIPS where OBJECT_ID =
100000000827584

Payload Request
-----------------

<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:createPerson>
<typ:personParty>
<per:CreatedByModule>HZ_WS</per:CreatedByModule>
<per:PersonProfile>
<per:PersonFirstName>Ade2</per:PersonFirstName>
<per:PersonLastName>Test</per:PersonLastName>
<per:CreatedByModule>HZ_WS</per:CreatedByModule>
</per:PersonProfile>
<per:Relationship>
<rel:SubjectType>PERSON</rel:SubjectType>
<rel:SubjectTableName>HZ_PARTIES</rel:SubjectTableName>
<rel:ObjectId>100000000827584</rel:ObjectId>
<rel:ObjectType>ORGANIZATION</rel:ObjectType>
<rel:ObjectTableName>HZ_PARTIES</rel:ObjectTableName>
<rel:RelationshipCode>CONTACT_OF</rel:RelationshipCode>
<rel:RelationshipType>CONTACT</rel:RelationshipType>
<rel:StartDate>2018-01-01</rel:StartDate>
<rel:CreatedByModule>HZ_WS</rel:CreatedByModule>
<rel:OrganizationContact>
<rel:ContactNumber>ADE_TEST_CN</rel:ContactNumber>
<rel:CreatedByModule>HZ_WS</rel:CreatedByModule>
<rel:OrganizationContactRole>
<rel:RoleType>CONTACT</rel:RoleType>
<rel:PrimaryFlag>true</rel:PrimaryFlag>
<rel:CreatedByModule>HZ_WS</rel:CreatedByModule>
</rel:OrganizationContactRole>
</rel:OrganizationContact>
<rel:Email>
<con:OwnerTableName>HZ_PARTIES</con:OwnerTableName>
<con:PrimaryFlag>true</con:PrimaryFlag>
<con:CreatedByModule>HZ_WS</con:CreatedByModule>
<con:ContactPointPurpose>BUSINESS</con:ContactPointPurpose>
<con:StartDate>2018-01-01</con:StartDate>
<con:EmailAddress>ade.test2@oracle.com</con:EmailAddress>
</rel:Email>
</per:Relationship>
</typ:personParty>
</typ:createPerson>
</soapenv:Body>
</soapenv:Envelope>

Payload response
----------------

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:typ="http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/
applicationModule/types/">
<env:Header>

<wsa:Action>http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/
applicationModule//PersonService/createPersonResponse</wsa:Action>
<wsa:MessageID>urn:uuid:6a7e733c-57fa-4d9b-a307-b8c5c10f5449</wsa:MessageID>
</env:Header>
<env:Body>
<ns0:createPersonResponse
xmlns:ns0="http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/
applicationModule/types/">
<ns1:result xsi:type="ns2:PersonResult"
xmlns:ns2="http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/"
xmlns:ns1="http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/
applicationModule/types/"
xmlns:ns3="http://xmlns.oracle.com/apps/cdm/foundation/parties/partyService/"
xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/"
xmlns:ns0="http://xmlns.oracle.com/adf/svc/types/"
xmlns:ns5="http://xmlns.oracle.com/apps/cdm/foundation/parties/contactPointService/
"
xmlns:ns8="http://xmlns.oracle.com/apps/cdm/foundation/parties/relationshipService/
" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns2:Value>
<ns2:PartyId>300000006370121</ns2:PartyId>
<ns2:PartyNumber>50239</ns2:PartyNumber>
<ns2:PartyName>Ade2 Test</ns2:PartyName>
<ns2:PartyType>PERSON</ns2:PartyType>
<ns2:ValidatedFlag xsi:nil="true"/>
<ns2:LastUpdatedBy>EDRAGAN</ns2:LastUpdatedBy>

<ns2:LastUpdateLogin>7342A27E3CB89E32E05394476C0A31C9</ns2:LastUpdateLogin>
<ns2:CreationDate>2018-10-02T09:30:24.0Z</ns2:CreationDate>
<ns2:RequestId xsi:nil="true"/>
<ns2:LastUpdateDate>2018-10-02T09:30:26.067Z</ns2:LastUpdateDate>
<ns2:CreatedBy>EDRAGAN</ns2:CreatedBy>
<ns2:OrigSystemReference>300000006370121</ns2:OrigSystemReference>
<ns2:SICCode xsi:nil="true"/>
<ns2:JgzzFiscalCode xsi:nil="true"/>
<ns2:PersonFirstName>Ade2</ns2:PersonFirstName>
<ns2:PersonPreNameAdjunct xsi:nil="true"/>
<ns2:PersonLastName>Test</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>ade.test2@oracle.com</ns2:EmailAddress>
<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>HZ_WS</ns2:CreatedByModule>
<ns2:CertReasonCode xsi:nil="true"/>
<ns2:CertificationLevel xsi:nil="true"/>
<ns2:PrimaryPhonePurpose xsi:nil="true"/>
<ns2:PrimaryPhoneContactPTId xsi:nil="true"/>
<ns2:PrimaryPhoneCountryCode xsi:nil="true"/>
<ns2:PrimaryPhoneLineType xsi:nil="true"/>
<ns2:PrimaryPhoneNumber xsi:nil="true"/>
<ns2:PrimaryPhoneAreaCode xsi:nil="true"/>
<ns2:PreferredContactMethod xsi:nil="true"/>
<ns2:PrimaryPhoneExtension xsi:nil="true"/>
<ns2:IdenAddrLocationId xsi:nil="true"/>

<ns2:PrimaryEmailContactPTId>300000006370127</ns2:PrimaryEmailContactPTId>
<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 xsi:nil="true"/>
<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>Ade2 Test</ns2:PartyUniqueName>
<ns2:SourceSystem xsi:nil="true"/>
<ns2:SourceSystemReferenceValue xsi:nil="true"/>
<ns2:SourceSystemUpdateDate xsi:nil="true"/>
<ns2:PersonProfile
xmlns:ns1="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/person/">
<ns2:PersonProfileId>300000006370121</ns2:PersonProfileId>
<ns2:PartyId>300000006370121</ns2:PartyId>
<ns2:PersonName>Ade2 Test</ns2:PersonName>
<ns2:LastUpdateDate>2018-10-02T09:30:26.017Z</ns2:LastUpdateDate>
<ns2:LastUpdatedBy>EDRAGAN</ns2:LastUpdatedBy>
<ns2:CreationDate>2018-10-02T09:30:24.061Z</ns2:CreationDate>
<ns2:CreatedBy>EDRAGAN</ns2:CreatedBy>

<ns2:LastUpdateLogin>7342A27E3CB89E32E05394476C0A31C9</ns2:LastUpdateLogin>
<ns2:RequestId xsi:nil="true"/>
<ns2:PersonPreNameAdjunct xsi:nil="true"/>
<ns2:PersonFirstName>Ade2</ns2:PersonFirstName>
<ns2:PersonMiddleName xsi:nil="true"/>
<ns2:PersonLastName>Test</ns2:PersonLastName>
<ns2:PersonNameSuffix xsi:nil="true"/>
<ns2:PersonTitle xsi:nil="true"/>
<ns2:PersonAcademicTitle xsi:nil="true"/>
<ns2:PersonPreviousLastName xsi:nil="true"/>
<ns2:PersonInitials xsi:nil="true"/>
<ns2:JgzzFiscalCode xsi:nil="true"/>
<ns2:DateOfBirth xsi:nil="true"/>
<ns2:PlaceOfBirth xsi:nil="true"/>
<ns2:DateOfDeath xsi:nil="true"/>
<ns2:Gender xsi:nil="true"/>
<ns2:DeclaredEthnicity xsi:nil="true"/>
<ns2:MaritalStatus xsi:nil="true"/>
<ns2:MaritalStatusEffectiveDate xsi:nil="true"/>
<ns2:PersonalIncomeAmount xsi:nil="true"/>
<ns2:RentOwnInd xsi:nil="true"/>
<ns2:LastKnownGPS xsi:nil="true"/>
<ns2:EffectiveStartDate>2018-10-02</ns2:EffectiveStartDate>
<ns2:EffectiveEndDate>4712-12-31</ns2:EffectiveEndDate>
<ns2:InternalFlag xsi:nil="true"/>
<ns2:Status>A</ns2:Status>
<ns2:CreatedByModule>HZ_WS</ns2:CreatedByModule>
<ns2:DeceasedFlag>false</ns2:DeceasedFlag>
<ns2:Comments xsi:nil="true"/>
<ns2:PersonLastNamePrefix xsi:nil="true"/>
<ns2:PersonSecondLastName xsi:nil="true"/>
<ns2:PreferredFunctionalCurrency xsi:nil="true"/>
<ns2:OrigSystem xsi:nil="true"/>

<ns2:OrigSystemReference>300000006370121</ns2:OrigSystemReference>
<ns2:EffectiveSequence>1</ns2:EffectiveSequence>
<ns2:HeadOfHouseholdFlag xsi:nil="true"/>
<ns2:HouseholdIncomeAmount xsi:nil="true"/>
<ns2:HouseholdSize xsi:nil="true"/>
<ns2:EffectiveLatestChange>Y</ns2:EffectiveLatestChange>
<ns2:SuffixOverriddenFlag>false</ns2:SuffixOverriddenFlag>
<ns2:UniqueNameSuffix xsi:nil="true"/>
<ns2:CorpCurrencyCode>USD</ns2:CorpCurrencyCode>
<ns2:CurcyConvRateType>Corporate</ns2:CurcyConvRateType>
<ns2:CurrencyCode>USD</ns2:CurrencyCode>
<ns2:PartyNumber>50239</ns2:PartyNumber>
<ns2:Salutation xsi:nil="true"/>
<ns2:CertReasonCode xsi:nil="true"/>
<ns2:CertificationLevel xsi:nil="true"/>
<ns2:PreferredContactMethod xsi:nil="true"/>
<ns2:PreferredContactPersonId xsi:nil="true"/>
<ns2:PrimaryAddressLine1 xsi:nil="true"/>
<ns2:PrimaryAddressLine2 xsi:nil="true"/>
<ns2:PrimaryAddressLine3 xsi:nil="true"/>
<ns2:PrimaryAddressLine4 xsi:nil="true"/>
<ns2:Alias xsi:nil="true"/>
<ns2:PrimaryAddressCity xsi:nil="true"/>
<ns2:PrimaryAddressCountry xsi:nil="true"/>
<ns2:PrimaryAddressCounty xsi:nil="true"/>

<ns2:PrimaryEmailAddress>ade.test2@oracle.com</ns2:PrimaryEmailAddress>
<ns2:PrimaryFormattedAddress xsi:nil="true"/>
<ns2:PrimaryFormattedPhoneNumber xsi:nil="true"/>
<ns2:PrimaryLanguage xsi:nil="true"/>
<ns2:PartyUniqueName>Ade2 Test</ns2:PartyUniqueName>
<ns2:PrimaryAddressPostalCode xsi:nil="true"/>
<ns2:PreferredContactEmail xsi:nil="true"/>
<ns2:PreferredContactName xsi:nil="true"/>
<ns2:PreferredContactPhone xsi:nil="true"/>
<ns2:PreferredContactURL xsi:nil="true"/>
<ns2:PreferredName xsi:nil="true"/>
<ns2:PreferredNameId xsi:nil="true"/>
<ns2:PrimaryEmailId>300000006370127</ns2:PrimaryEmailId>
<ns2:PrimaryPhoneAreaCode xsi:nil="true"/>
<ns2:PrimaryPhoneId xsi:nil="true"/>
<ns2:PrimaryPhoneCountryCode xsi:nil="true"/>
<ns2:PrimaryPhoneExtension xsi:nil="true"/>
<ns2:PrimaryPhoneLineType xsi:nil="true"/>
<ns2:PrimaryPhoneNumber xsi:nil="true"/>
<ns2:PrimaryPhonePurpose xsi:nil="true"/>
<ns2:PrimaryWebId xsi:nil="true"/>
<ns2:Pronunciation xsi:nil="true"/>
<ns2:PrimaryAddressProvince xsi:nil="true"/>
<ns2:PrimaryAddressState xsi:nil="true"/>
<ns2:PrimaryURL xsi:nil="true"/>
<ns2:ValidatedFlag xsi:nil="true"/>
<ns2:PrimaryAddressLatitude xsi:nil="true"/>
<ns2:PrimaryAddressLongitude xsi:nil="true"/>
<ns2:PrimaryAddressLocationId/>
<ns2:FavoriteContactFlag>false</ns2:FavoriteContactFlag>
<ns2:Distance xsi:nil="true"/>
<ns2:SalesAffinityCode xsi:nil="true"/>
<ns2:SalesBuyingRoleCode xsi:nil="true"/>
<ns2:DepartmentCode xsi:nil="true"/>
<ns2:Department xsi:nil="true"/>
<ns2:JobTitleCode xsi:nil="true"/>
<ns2:JobTitle xsi:nil="true"/>
<ns2:DoNotCallFlag>false</ns2:DoNotCallFlag>
<ns2:DoNotContactFlag>false</ns2:DoNotContactFlag>
<ns2:DoNotEmailFlag>false</ns2:DoNotEmailFlag>
<ns2:DoNotMailFlag>false</ns2:DoNotMailFlag>
<ns2:LastContactDate xsi:nil="true"/>
<ns2:PrimaryCustomerId>100000000827584</ns2:PrimaryCustomerId>

<ns2:PrimaryCustomerRelationshipId>300000006370123</ns2:PrimaryCustomerRelationship
Id>
<ns2:PrimaryCustomerName>AD_TEST_ORG5</ns2:PrimaryCustomerName>

<ns2:LastSourceUpdateDate>2018-10-02T09:30:26.0Z</ns2:LastSourceUpdateDate>
<ns2:LastUpdateSourceSystem>UNKNOWN</ns2:LastUpdateSourceSystem>
<ns2:DataCloudStatus xsi:nil="true"/>
<ns2:LastEnrichmentDate xsi:nil="true"/>
</ns2:PersonProfile>
<ns2:Relationship
xmlns:ns10="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/
relationship/">
<ns8:RelationshipRecId>300000006370122</ns8:RelationshipRecId>
<ns8:RelationshipId>300000006370123</ns8:RelationshipId>
<ns8:SubjectId>300000006370121</ns8:SubjectId>
<ns8:SubjectType>PERSON</ns8:SubjectType>
<ns8:SubjectTableName>HZ_PARTIES</ns8:SubjectTableName>
<ns8:ObjectId>100000000827584</ns8:ObjectId>
<ns8:ObjectType>ORGANIZATION</ns8:ObjectType>
<ns8:ObjectTableName>HZ_PARTIES</ns8:ObjectTableName>
<ns8:RelationshipCode>CONTACT_OF</ns8:RelationshipCode>
<ns8:RelationshipType>CONTACT</ns8:RelationshipType>
<ns8:Role>CONTACTORG</ns8:Role>
<ns8:Comments xsi:nil="true"/>
<ns8:StartDate>2018-01-01</ns8:StartDate>
<ns8:EndDate>4712-12-31</ns8:EndDate>
<ns8:Status>A</ns8:Status>
<ns8:CreatedBy>EDRAGAN</ns8:CreatedBy>
<ns8:CreationDate>2018-10-02T09:30:24.164Z</ns8:CreationDate>
<ns8:LastUpdatedBy>EDRAGAN</ns8:LastUpdatedBy>
<ns8:LastUpdateDate>2018-10-02T09:30:25.692Z</ns8:LastUpdateDate>

<ns8:LastUpdateLogin>7342A27E3CB89E32E05394476C0A31C9</ns8:LastUpdateLogin>
<ns8:RequestId xsi:nil="true"/>
<ns8:ObjectVersionNumber>1</ns8:ObjectVersionNumber>
<ns8:CreatedByModule>HZ_WS</ns8:CreatedByModule>
<ns8:AdditionalInformation1 xsi:nil="true"/>
<ns8:AdditionalInformation2 xsi:nil="true"/>
<ns8:AdditionalInformation3 xsi:nil="true"/>
<ns8:AdditionalInformation4 xsi:nil="true"/>
<ns8:AdditionalInformation5 xsi:nil="true"/>
<ns8:AdditionalInformation6 xsi:nil="true"/>
<ns8:AdditionalInformation7 xsi:nil="true"/>
<ns8:AdditionalInformation8 xsi:nil="true"/>
<ns8:AdditionalInformation9 xsi:nil="true"/>
<ns8:AdditionalInformation10 xsi:nil="true"/>
<ns8:AdditionalInformation11 xsi:nil="true"/>
<ns8:AdditionalInformation12 xsi:nil="true"/>
<ns8:AdditionalInformation13 xsi:nil="true"/>
<ns8:AdditionalInformation14 xsi:nil="true"/>
<ns8:AdditionalInformation15 xsi:nil="true"/>
<ns8:AdditionalInformation16 xsi:nil="true"/>
<ns8:AdditionalInformation17 xsi:nil="true"/>
<ns8:AdditionalInformation18 xsi:nil="true"/>
<ns8:AdditionalInformation19 xsi:nil="true"/>
<ns8:AdditionalInformation20 xsi:nil="true"/>
<ns8:AdditionalInformation21 xsi:nil="true"/>
<ns8:AdditionalInformation22 xsi:nil="true"/>
<ns8:AdditionalInformation23 xsi:nil="true"/>
<ns8:AdditionalInformation24 xsi:nil="true"/>
<ns8:AdditionalInformation25 xsi:nil="true"/>
<ns8:AdditionalInformation26 xsi:nil="true"/>
<ns8:AdditionalInformation27 xsi:nil="true"/>
<ns8:AdditionalInformation28 xsi:nil="true"/>
<ns8:AdditionalInformation29 xsi:nil="true"/>
<ns8:AdditionalInformation30 xsi:nil="true"/>
<ns8:DirectionCode>P</ns8:DirectionCode>
<ns8:PercentageOwnership xsi:nil="true"/>
<ns8:ObjectUsageCode xsi:nil="true"/>
<ns8:SubjectUsageCode xsi:nil="true"/>
<ns8:PreferredContactFlag>false</ns8:PreferredContactFlag>
<ns8:ObjectPartyName>AD_TEST_ORG5</ns8:ObjectPartyName>
<ns8:PartyName>AD_TEST_ORG5</ns8:PartyName>
<ns8:CurrencyCode>USD</ns8:CurrencyCode>
<ns8:CurcyConvRateType>Corporate</ns8:CurcyConvRateType>
<ns8:CorpCurrencyCode>USD</ns8:CorpCurrencyCode>
<ns8:PrimaryCustomerFlag>true</ns8:PrimaryCustomerFlag>

<ns8:SubjectEmailAddress>ade.test2@oracle.com</ns8:SubjectEmailAddress>
<ns8:ObjectEmailAddress xsi:nil="true"/>
<ns8:OrganizationContact
xmlns:ns9="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/orgContact/">
<ns8:OrgContactId>300000006370125</ns8:OrgContactId>

<ns8:PartyRelationshipId>300000006370123</ns8:PartyRelationshipId>
<ns8:ContactPartyId>300000006370121</ns8:ContactPartyId>
<ns8:PersonFirstName>Ade2</ns8:PersonFirstName>
<ns8:PersonLastName>Test</ns8:PersonLastName>
<ns8:ContactName>Ade2 Test</ns8:ContactName>
<ns8:PersonPreNameAdjunct xsi:nil="true"/>
<ns8:PersonMiddleName xsi:nil="true"/>
<ns8:PersonNameSuffix xsi:nil="true"/>
<ns8:PersonPreviousLastName xsi:nil="true"/>
<ns8:PersonAcademicTitle xsi:nil="true"/>
<ns8:Salutation xsi:nil="true"/>
<ns8:PersonLastNamePrefix xsi:nil="true"/>
<ns8:PreferredName xsi:nil="true"/>
<ns8:PersonSecondLastName xsi:nil="true"/>
<ns8:PersonLanguageName xsi:nil="true"/>
<ns8:PersonTitle xsi:nil="true"/>
<ns8:PersonCertificationLevel xsi:nil="true"/>
<ns8:PersonCertReasonCode xsi:nil="true"/>
<ns8:CustomerPartyId>100000000827584</ns8:CustomerPartyId>
<ns8:CustomerUniqueName>AD_TEST_ORG5</ns8:CustomerUniqueName>
<ns8:CustomerName>AD_TEST_ORG5</ns8:CustomerName>
<ns8:CustomerPartyNumber>50233</ns8:CustomerPartyNumber>
<ns8:FormattedPhoneNumber xsi:nil="true"/>
<ns8:EmailAddress/>
<ns8:WebUrl/>
<ns8:Comments xsi:nil="true"/>
<ns8:ContactNumber>ADE_TEST_CN</ns8:ContactNumber>
<ns8:DepartmentCode xsi:nil="true"/>
<ns8:Department xsi:nil="true"/>
<ns8:JobTitle xsi:nil="true"/>
<ns8:DecisionMakerFlag>false</ns8:DecisionMakerFlag>
<ns8:JobTitleCode xsi:nil="true"/>
<ns8:ReferenceUseFlag>false</ns8:ReferenceUseFlag>
<ns8:Rank xsi:nil="true"/>

<ns8:LastUpdateDate>2018-10-02T09:30:25.47Z</ns8:LastUpdateDate>
<ns8:LastUpdatedBy>EDRAGAN</ns8:LastUpdatedBy>
<ns8:CreationDate>2018-10-02T09:30:24.279Z</ns8:CreationDate>
<ns8:CreatedBy>EDRAGAN</ns8:CreatedBy>

<ns8:LastUpdateLogin>7342A27E3CB89E32E05394476C0A31C9</ns8:LastUpdateLogin>
<ns8:RequestId xsi:nil="true"/>
<ns8:PartySiteId xsi:nil="true"/>

<ns8:OrigSystemReference>300000006370125</ns8:OrigSystemReference>
<ns8:CreatedByModule>HZ_WS</ns8:CreatedByModule>
<ns8:ObjectVersionNumber>1</ns8:ObjectVersionNumber>
<ns8:PartySiteName xsi:nil="true"/>
<ns8:SalesAffinityCode xsi:nil="true"/>
<ns8:SalesAffinityComments xsi:nil="true"/>
<ns8:SalesBuyingRoleCode xsi:nil="true"/>
<ns8:SalesInfluenceLevelCode xsi:nil="true"/>
<ns8:FormattedAddress xsi:nil="true"/>
<ns8:PreferredContactMethod xsi:nil="true"/>
<ns8:CurrencyCode>USD</ns8:CurrencyCode>
<ns8:CurcyConvRateType>Corporate</ns8:CurcyConvRateType>
<ns8:CorpCurrencyCode>USD</ns8:CorpCurrencyCode>
<ns8:PreferredContactFlag>false</ns8:PreferredContactFlag>
<ns8:ContactFormattedAddress xsi:nil="true"/>
<ns8:ContactFormattedMultilineAddress xsi:nil="true"/>
<ns8:CustomerEmailAddress xsi:nil="true"/>
<ns8:PrimaryCustomerFlag>true</ns8:PrimaryCustomerFlag>
<ns8:OrganizationContactRole>

<ns8:OrgContactRoleId>300000006370126</ns8:OrgContactRoleId>

<ns8:OrigSystemReference>300000006370126</ns8:OrigSystemReference>
<ns8:CreatedBy>EDRAGAN</ns8:CreatedBy>
<ns8:RoleType>CONTACT</ns8:RoleType>
<ns8:OrgContactId>300000006370125</ns8:OrgContactId>

<ns8:CreationDate>2018-10-02T09:30:24.319Z</ns8:CreationDate>
<ns8:RoleLevel xsi:nil="true"/>
<ns8:PrimaryFlag>true</ns8:PrimaryFlag>

<ns8:LastUpdateDate>2018-10-02T09:30:25.484Z</ns8:LastUpdateDate>
<ns8:LastUpdatedBy>EDRAGAN</ns8:LastUpdatedBy>

<ns8:LastUpdateLogin>7342A27E3CB89E32E05394476C0A31C9</ns8:LastUpdateLogin>

<ns8:PrimaryContactPerRoleType>N</ns8:PrimaryContactPerRoleType>
<ns8:RequestId xsi:nil="true"/>
<ns8:Status>A</ns8:Status>
<ns8:ObjectVersionNumber>1</ns8:ObjectVersionNumber>
<ns8:CreatedByModule>HZ_WS</ns8:CreatedByModule>
</ns8:OrganizationContactRole>
</ns8:OrganizationContact>
<ns8:Email
xmlns:ns6="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/contactPoint/">
<ns5:ContactPointId>300000006370127</ns5:ContactPointId>
<ns5:ContactPointType>EMAIL</ns5:ContactPointType>
<ns5:Status>A</ns5:Status>
<ns5:OwnerTableName>HZ_PARTIES</ns5:OwnerTableName>
<ns5:OwnerTableId>300000006370121</ns5:OwnerTableId>
<ns5:PrimaryFlag>true</ns5:PrimaryFlag>

<ns5:OrigSystemReference>300000006370127</ns5:OrigSystemReference>

<ns5:LastUpdateDate>2018-10-02T09:30:25.858Z</ns5:LastUpdateDate>
<ns5:LastUpdatedBy>EDRAGAN</ns5:LastUpdatedBy>
<ns5:CreationDate>2018-10-02T09:30:24.412Z</ns5:CreationDate>
<ns5:CreatedBy>EDRAGAN</ns5:CreatedBy>

<ns5:LastUpdateLogin>7342A27E3CB89E32E05394476C0A31C9</ns5:LastUpdateLogin>
<ns5:RequestId xsi:nil="true"/>
<ns5:ObjectVersionNumber>1</ns5:ObjectVersionNumber>
<ns5:CreatedByModule>HZ_WS</ns5:CreatedByModule>
<ns5:ContactPointPurpose>BUSINESS</ns5:ContactPointPurpose>
<ns5:PrimaryByPurpose>N</ns5:PrimaryByPurpose>
<ns5:StartDate>2018-01-01</ns5:StartDate>
<ns5:EndDate>4712-12-31</ns5:EndDate>
<ns5:RelationshipId>300000006370123</ns5:RelationshipId>
<ns5:PartyUsageCode xsi:nil="true"/>
<ns5:OrigSystem xsi:nil="true"/>
<ns5:EmailFormat/>
<ns5:EmailAddress>ade.test2@oracle.com</ns5:EmailAddress>
<ns5:PartyName>Ade2 Test</ns5:PartyName>
<ns5:OverallPrimaryFlag>true</ns5:OverallPrimaryFlag>
</ns8:Email>
</ns2:Relationship>
</ns2:Value>
</ns1:result>
</ns0:createPersonResponse>
</env:Body>
</env:Envelope>

===================================================================================
=========================================================================
RelationshipId = 300000006370123 (was taken from the payload response of the
createPerson Webservice)

Operation: mergeCustomerAccount

Payload request
---------------

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:typ="http://xmlns.oracle.com/apps/cdm/foundation/parties/customerAccountServi
ce/applicationModule/types/"
xmlns:cus="http://xmlns.oracle.com/apps/cdm/foundation/parties/customerAccountServi
ce/" xmlns:cus1="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/
custAccountContactRole/"
xmlns:par="http://xmlns.oracle.com/apps/cdm/foundation/parties/partyService/"
xmlns:sour="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/
sourceSystemRef/"
xmlns:cus2="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/
custAccountContact/"
xmlns:cus3="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/
custAccountRel/"
xmlns:cus4="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/
custAccountSiteUse/"
xmlns:cus5="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/
custAccountSite/"
xmlns:cus6="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccount/">
<soapenv:Header/>
<soapenv:Body>
<typ:mergeCustomerAccount>
<typ:customerAccount>
<cus:CustomerAccountId>100000000827446</cus:CustomerAccountId>
<cus:PartyId>100000000827584</cus:PartyId>
<cus:CustomerAccountSite>

<cus:CustomerAccountSiteId>300000006374509</cus:CustomerAccountSiteId>
<cus:CustomerAccountId>100000000827446</cus:CustomerAccountId>
<cus:PartySiteId>300000006374510</cus:PartySiteId>
<cus:CustomerAccountContact>
<cus:CustomerAccountId>100000000827446</cus:CustomerAccountId>

<cus:CustomerAccountSiteId>300000006374509</cus:CustomerAccountSiteId>
<cus:PrimaryFlag>false</cus:PrimaryFlag>
<cus:RoleType>CONTACT</cus:RoleType>
<cus:CreatedByModule>HZ_WS</cus:CreatedByModule>
<cus:RelationshipId>300000006370123</cus:RelationshipId>
<cus:CustomerAccountContactRole>
<cus:ResponsibilityType>BILL_TO</cus:ResponsibilityType>
<cus:PrimaryFlag>true</cus:PrimaryFlag>
<cus:CreatedByModule>HZ_WS</cus:CreatedByModule>
</cus:CustomerAccountContactRole>
<!--Zero or more repetitions:-->
</cus:CustomerAccountContact>
</cus:CustomerAccountSite>
</typ:customerAccount>
</typ:mergeCustomerAccount>
</soapenv:Body>
</soapenv:Envelope>

Payload Response
----------------

<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/customerAccountServ
ice/applicationModule//CustomerAccountService/mergeCustomerAccountResponse</
wsa:Action>
<wsa:MessageID>urn:uuid:3e4b8931-5074-4d2e-a24f-22dfc1f15406</wsa:MessageID>
</env:Header>
<env:Body>
<ns0:mergeCustomerAccountResponse
xmlns:ns0="http://xmlns.oracle.com/apps/cdm/foundation/parties/customerAccountServi
ce/applicationModule/types/">
<ns0:result xsi:type="ns2:CustomerAccountResult"
xmlns:ns2="http://xmlns.oracle.com/apps/cdm/foundation/parties/customerAccountServi
ce/" xmlns:ns1="http://xmlns.oracle.com/adf/svc/types/"
xmlns:ns4="http://xmlns.oracle.com/apps/cdm/foundation/parties/partyService/"
xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/"
xmlns:ns9="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccount/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns2:Value>
<ns2:CustomerAccountId>100000000827446</ns2:CustomerAccountId>
<ns2:PartyId>100000000827584</ns2:PartyId>
<ns2:LastUpdateDate>2018-10-01T14:06:54.740793Z</ns2:LastUpdateDate>
<ns2:AccountNumber>ACCT4</ns2:AccountNumber>
<ns2:LastUpdatedBy>EDRAGAN</ns2:LastUpdatedBy>
<ns2:CreationDate>2018-10-01T14:06:54.740793Z</ns2:CreationDate>
<ns2:CreatedBy>EDRAGAN</ns2:CreatedBy>
<ns2:LastUpdateLogin>-1</ns2:LastUpdateLogin>
<ns2:RequestId>-99999</ns2:RequestId>
<ns2:OrigSystem xsi:nil="true"/>
<ns2:OrigSystemReference>CUST_ACCT_ORG4</ns2:OrigSystemReference>
<ns2:Status>A</ns2:Status>
<ns2:CustomerType xsi:nil="true"/>
<ns2:CustomerClassCode xsi:nil="true"/>
<ns2:TaxCode xsi:nil="true"/>
<ns2:TaxHeaderLevelFlag xsi:nil="true"/>
<ns2:TaxRoundingRule xsi:nil="true"/>
<ns2:CoterminateDayMonth xsi:nil="true"/>
<ns2:AccountEstablishedDate>2001-01-01</ns2:AccountEstablishedDate>
<ns2:AccountTerminationDate>4712-12-31</ns2:AccountTerminationDate>
<ns2:HeldBillExpirationDate xsi:nil="true"/>
<ns2:HoldBillFlag>false</ns2:HoldBillFlag>
<ns2:AccountName>ACCT4-description</ns2:AccountName>
<ns2:DepositRefundMethod xsi:nil="true"/>
<ns2:NpaNumber xsi:nil="true"/>
<ns2:SourceCode xsi:nil="true"/>
<ns2:Comments xsi:nil="true"/>
<ns2:DateTypePreference xsi:nil="true"/>
<ns2:ArrivalsetsIncludeLinesFlag xsi:nil="true"/>
<ns2:StatusUpdateDate xsi:nil="true"/>
<ns2:AutopayFlag xsi:nil="true"/>
<ns2:LastBatchId xsi:nil="true"/>
<ns2:CreatedByModule>HZ_IMPORT</ns2:CreatedByModule>
<ns2:SellingPartyId xsi:nil="true"/>
<ns2:CustomerAccountSite
xmlns:ns7="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/
custAccountSite/">

<ns2:CustomerAccountSiteId>300000006374509</ns2:CustomerAccountSiteId>
<ns2:CustomerAccountId>100000000827446</ns2:CustomerAccountId>
<ns2:PartySiteId>300000006374510</ns2:PartySiteId>
<ns2:LastUpdateDate>2018-10-02T09:19:39.987Z</ns2:LastUpdateDate>
<ns2:LastUpdatedBy>EDRAGAN</ns2:LastUpdatedBy>
<ns2:CreationDate>2018-10-02T09:18:45.373Z</ns2:CreationDate>
<ns2:CreatedBy>EDRAGAN</ns2:CreatedBy>

<ns2:LastUpdateLogin>734252A4BB729DE8E05394476C0A02C9</ns2:LastUpdateLogin>
<ns2:RequestId xsi:nil="true"/>

<ns2:OrigSystemReference>300000006374509</ns2:OrigSystemReference>
<ns2:Status>A</ns2:Status>
<ns2:BillToIndicator>N</ns2:BillToIndicator>
<ns2:MarketIndicator>N</ns2:MarketIndicator>
<ns2:ShipToIndicator>N</ns2:ShipToIndicator>
<ns2:CustomerCategoryCode xsi:nil="true"/>
<ns2:Language xsi:nil="true"/>
<ns2:KeyAccountFlag xsi:nil="true"/>
<ns2:TpHeaderId xsi:nil="true"/>
<ns2:EceTpLocationCode xsi:nil="true"/>
<ns2:TranslatedCustomerName xsi:nil="true"/>
<ns2:CreatedByModule>TCA_FORM_WRAPPER</ns2:CreatedByModule>
<ns2:SetId>300000003182299</ns2:SetId>
<ns2:StartDate>2001-01-01</ns2:StartDate>
<ns2:EndDate>4712-12-31</ns2:EndDate>
<ns2:SetCode>ED_SET</ns2:SetCode>
<ns2:CustomerAccountContact
xmlns:ns3="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/
custAccountContact/">

<ns2:CustomerAccountRoleId>300000006370148</ns2:CustomerAccountRoleId>
<ns2:CustomerAccountId>100000000827446</ns2:CustomerAccountId>

<ns2:CustomerAccountSiteId>300000006374509</ns2:CustomerAccountSiteId>
<ns2:PrimaryFlag>false</ns2:PrimaryFlag>
<ns2:RoleType>CONTACT</ns2:RoleType>

<ns2:LastUpdateDate>2018-10-02T09:32:30.209Z</ns2:LastUpdateDate>
<ns2:SourceCode xsi:nil="true"/>
<ns2:LastUpdatedBy>EDRAGAN</ns2:LastUpdatedBy>
<ns2:CreationDate>2018-10-02T09:32:30.001Z</ns2:CreationDate>
<ns2:CreatedBy>EDRAGAN</ns2:CreatedBy>

<ns2:LastUpdateLogin>7342A2E76CCE9E29E05394476C0ACA01</ns2:LastUpdateLogin>
<ns2:RequestId xsi:nil="true"/>

<ns2:OrigSystemReference>300000006370148</ns2:OrigSystemReference>
<ns2:Status>A</ns2:Status>
<ns2:CreatedByModule>HZ_WS</ns2:CreatedByModule>
<ns2:RelationshipId>300000006370123</ns2:RelationshipId>
<ns2:ContactPersonId>300000006370121</ns2:ContactPersonId>
<ns2:CustomerAccountContactRole
xmlns:ns0="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/
custAccountContactRole/">

<ns2:ResponsibilityId>300000006370149</ns2:ResponsibilityId>

<ns2:CustomerAccountRoleId>300000006370148</ns2:CustomerAccountRoleId>
<ns2:ResponsibilityType>BILL_TO</ns2:ResponsibilityType>
<ns2:PrimaryFlag>true</ns2:PrimaryFlag>
<ns2:CreatedBy>EDRAGAN</ns2:CreatedBy>

<ns2:CreationDate>2018-10-02T09:32:30.028Z</ns2:CreationDate>

<ns2:LastUpdateDate>2018-10-02T09:32:30.302Z</ns2:LastUpdateDate>
<ns2:LastUpdatedBy>EDRAGAN</ns2:LastUpdatedBy>

<ns2:LastUpdateLogin>7342A2E76CCE9E29E05394476C0ACA01</ns2:LastUpdateLogin>
<ns2:RequestId xsi:nil="true"/>

<ns2:OrigSystemReference>300000006370149</ns2:OrigSystemReference>
<ns2:CreatedByModule>HZ_WS</ns2:CreatedByModule>
<ns2:StatusCode>A</ns2:StatusCode>
</ns2:CustomerAccountContactRole>
</ns2:CustomerAccountContact>
</ns2:CustomerAccountSite>
</ns2:Value>
</ns0:result>
</ns0:mergeCustomerAccountResponse>
</env:Body>
</env:Envelope>

You might also like