How do I add a new role to an existing account contact?
In this use case, we'll add a new role to an existing account.
Operation: mergeCustomerAccount
Request
Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/cdm/foundation/parties/customerAccountService/applicationModule/types/" xmlns:cus="http://xmlns.oracle.com/apps/cdm/foundation/parties/customerAccountService/" 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>300000120680948</cus:CustomerAccountId>
<cus:CustomerAccountSite>
<cus:CustomerAccountSiteId>300000120680900</cus:CustomerAccountSiteId>
<cus:CustomerAccountId>300000120680948</cus:CustomerAccountId>
<cus:CustomerAccountContact>
<cus:CustomerAccountRoleId>300000292708014</cus:CustomerAccountRoleId>
<cus:CustomerAccountId>300000120680948</cus:CustomerAccountId>
<cus:CustomerAccountSiteId>300000120680900</cus:CustomerAccountSiteId>
<cus:CustomerAccountContactRole>
<cus:ResponsibilityId>300000294937731</cus:ResponsibilityId>
<cus:CustomerAccountRoleId>300000292708014</cus:CustomerAccountRoleId>
<cus:ResponsibilityType>SHIP_TO</cus:ResponsibilityType>
</cus:CustomerAccountContactRole>
</cus:CustomerAccountContact>
</cus:CustomerAccountSite>
</typ:customerAccount>
</typ:mergeCustomerAccount>
</soapenv:Body>
</soapenv:Envelope>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">
<env:Header>
Response
Body
<wsa:Action>http://xmlns.oracle.com/apps/cdm/foundation/parties/customerAccountService/applicationModule/CustomerAccountService/mergeCustomerAccountResponse</wsa:Action>
<wsa:MessageID>urn:uuid:9663cb78-2fdd-40e7-a08e-00f6cbcc72da</wsa:MessageID>
</env:Header>
<env:Body>
<ns0:mergeCustomerAccountResponse xmlns:ns0="http://xmlns.oracle.com/apps/cdm/foundation/parties/customerAccountService/applicationModule/types/">
<ns0:result xsi:type="ns2:CustomerAccountResult" xmlns:ns4="http://xmlns.oracle.com/apps/cdm/foundation/parties/partyService/" xmlns:ns9="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccount/" xmlns:ns2="http://xmlns.oracle.com/apps/cdm/foundation/parties/customerAccountService/" xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" xmlns:ns1="http://xmlns.oracle.com/adf/svc/types/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns2:Value>
<ns2:CustomerAccountId>300000120680948</ns2:CustomerAccountId>
<ns2:PartyId>300000120680946</ns2:PartyId>
<ns2:LastUpdateDate>2023-01-15T03:28:47.224Z</ns2:LastUpdateDate>
<ns2:AccountNumber>B233007</ns2:AccountNumber>
<ns2:LastUpdatedBy>pr@t</ns2:LastUpdatedBy>
<ns2:CreationDate>2020-11-23T08:02:51.588Z</ns2:CreationDate>
<ns2:CreatedBy>pr@t</ns2:CreatedBy>
<ns2:LastUpdateLogin>F20B42A788AB175DE053A658500AE3FE</ns2:LastUpdateLogin>
<ns2:RequestId xsi:nil="true"/>
<ns2:OrigSystem xsi:nil="true"/>
<ns2:OrigSystemReference>300000120680948</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>2020-11-23</ns2:AccountEstablishedDate>
<ns2:AccountTerminationDate>4712-12-31</ns2:AccountTerminationDate>
<ns2:HeldBillExpirationDate xsi:nil="true"/>
<ns2:HoldBillFlag>false</ns2:HoldBillFlag>
<ns2:AccountName>ManojSuf</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>TCA_FORM_WRAPPER</ns2:CreatedByModule>
<ns2:SellingPartyId xsi:nil="true"/>
<ns2:CustomerAccountSite xmlns:ns7="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountSite/">
<ns2:CustomerAccountSiteId>300000120680900</ns2:CustomerAccountSiteId>
<ns2:CustomerAccountId>300000120680948</ns2:CustomerAccountId>
<ns2:PartySiteId>300000120680901</ns2:PartySiteId>
<ns2:LastUpdateDate>2023-01-05T08:08:04.876Z</ns2:LastUpdateDate>
<ns2:LastUpdatedBy>pr@t</ns2:LastUpdatedBy>
<ns2:CreationDate>2020-11-23T07:25:00.083Z</ns2:CreationDate>
<ns2:CreatedBy>pr@t</ns2:CreatedBy>
<ns2:LastUpdateLogin>EF3DED5365C2C3E4E053B4941B0A1D09</ns2:LastUpdateLogin>
<ns2:RequestId xsi:nil="true"/>
<ns2:OrigSystemReference>300000120680900</ns2:OrigSystemReference>
<ns2:Status>I</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>300000000002582</ns2:SetId>
<ns2:StartDate>2020-11-23</ns2:StartDate>
<ns2:EndDate>4712-12-31</ns2:EndDate>
<ns2:SetCode>ENTERPRISE</ns2:SetCode>
<ns2:CustomerAccountContact xmlns:ns3="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountContact/">
<ns2:CustomerAccountRoleId>300000292708014</ns2:CustomerAccountRoleId>
<ns2:CustomerAccountId>300000120680948</ns2:CustomerAccountId>
<ns2:CustomerAccountSiteId>300000120680900</ns2:CustomerAccountSiteId>
<ns2:PrimaryFlag>false</ns2:PrimaryFlag>
<ns2:RoleType>CONTACT</ns2:RoleType>
<ns2:LastUpdateDate>2023-03-30T11:40:01.043Z</ns2:LastUpdateDate>
<ns2:SourceCode xsi:nil="true"/>
<ns2:LastUpdatedBy>pr@t</ns2:LastUpdatedBy>
<ns2:CreationDate>2022-08-17T03:11:13.85Z</ns2:CreationDate>
<ns2:CreatedBy>pr@t</ns2:CreatedBy>
<ns2:LastUpdateLogin>F77720382AE0A122E053845F500A1D13</ns2:LastUpdateLogin>
<ns2:RequestId xsi:nil="true"/>
<ns2:OrigSystemReference>300000292708014</ns2:OrigSystemReference>
<ns2:Status>I</ns2:Status>
<ns2:CreatedByModule>TCA_FORM_WRAPPER</ns2:CreatedByModule>
<ns2:RelationshipId>300000094584808</ns2:RelationshipId>
<ns2:ContactPersonId>300000094584806</ns2:ContactPersonId>
<ns2:CustomerAccountContactRole xmlns:ns0="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountContactRole/">
<ns2:ResponsibilityId>300000294937731</ns2:ResponsibilityId>
<ns2:CustomerAccountRoleId>300000292708014</ns2:CustomerAccountRoleId>
<ns2:ResponsibilityType>SHIP_TO</ns2:ResponsibilityType>
<ns2:PrimaryFlag>false</ns2:PrimaryFlag>
<ns2:CreatedBy>pr@t</ns2:CreatedBy>
<ns2:CreationDate>2022-09-09T02:55:38.218Z</ns2:CreationDate>
<ns2:LastUpdateDate>2023-05-29T08:43:53Z</ns2:LastUpdateDate>
<ns2:LastUpdatedBy>pr@t</ns2:LastUpdatedBy>
<ns2:LastUpdateLogin>FB33D0EE78EE11B1E053A658500A452C</ns2:LastUpdateLogin>
<ns2:RequestId xsi:nil="true"/>
<ns2:OrigSystemReference>300000294937731</ns2:OrigSystemReference>
<ns2:CreatedByModule>TCA_FORM_WRAPPER</ns2:CreatedByModule>
<ns2:StatusCode>A</ns2:StatusCode>
</ns2:CustomerAccountContactRole>
</ns2:CustomerAccountContact>
</ns2:CustomerAccountSite>
</ns2:Value>
</ns0:result>
</ns0:mergeCustomerAccountResponse>
</env:Body>
</env:Envelope>