Delete Contacts of a Customer Account Site

In this use case, we'll delete contacts of a customer account site.

Operation: deleteCustomerAccount

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>300100567424987</cus:CustomerAccountId>
           <cus:CustomerAccountSite><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">
   <env:Header>

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/customerAccountService/applicationModule/CustomerAccountService/mergeCustomerAccountResponse</wsa:Action>
      <wsa:MessageID>urn:uuid:c02f8d42-5cb9-4b6c-b706-321bb1e99673</wsa:MessageID>
   </env:Header>   <soapenv:Body>
      <typ:mergeCustomerAccount>
         <typ:customerAccount>
            <cus:CustomerAccountId>300100567424987</cus:CustomerAccountId>
            <cus:CustomerAccountSite>
               <cus:CustomerAccountSiteId>300000016660017</cus:CustomerAccountSiteId>
               <cus:CustomerAccountId>300100567424987</cus:CustomerAccountId>
               <cus:CustomerAccountContact>
                  <cus:CustomerAccountRoleId>300000016829429</cus:CustomerAccountRoleId>
                  <cus:CustomerAccountId>300100567424987</cus:CustomerAccountId>
                  <cus:CustomerAccountSiteId>300000016660017</cus:CustomerAccountSiteId>
                  <cus:Status>I</cus:Status>
                  <cus:ContactPersonId>300000016829426</cus:ContactPersonId>
               </cus:CustomerAccountContact>
            </cus:CustomerAccountSite>
         </typ:customerAccount>
      </typ:mergeCustomerAccount>
   </soapenv:Body>
</soapenv:Envelope>