Find a Customer Account Site by Set ID

In this use case, we'll find a customer account site with the set ID.

Operation: findCustomerAccountSiteUse

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:typ1="http://xmlns.oracle.com/adf/svc/types/">
   <soapenv:Header/>
   <soapenv:Body>
      <typ:findCustomerAccount>
         <typ:findCriteria>
            <typ1:fetchStart>0</typ1:fetchStart>
            <typ1:fetchSize>-1</typ1:fetchSize>
            <typ1:findAttribute>CustomerAccountId</typ1:findAttribute>
            <typ1:findAttribute>CustomerAccountSite</typ1:findAttribute>
            <typ1:childFindCriteria>
               <typ1:fetchStart>0</typ1:fetchStart>
               <typ1:fetchSize>-1</typ1:fetchSize>
               <typ1:childAttrName>CustomerAccountSite</typ1:childAttrName>
               <typ1:childFindCriteria>
                  <typ1:fetchStart>0</typ1:fetchStart>
                  <typ1:fetchSize>-1</typ1:fetchSize>
                  <typ1:childAttrName>CustomerAccountSite</typ1:childAttrName>
                  <typ1:filter>
                     <typ1:group>
                        <typ1:item>
                           <typ1:attribute>SetId</typ1:attribute>
                           <typ1:operator>=</typ1:operator>
                           <typ1:value>999999999999999</typ1:value>
                        </typ1:item>
                     </typ1:group>
                  </typ1:filter>
               </typ1:childFindCriteria>
            </typ1:childFindCriteria>
            <typ1:childFindCriteria>
               <typ1:findAttribute>CustomerAccountSiteId</typ1:findAttribute>
               <typ1:childAttrName>CustomerAccountSite</typ1:childAttrName>
            </typ1:childFindCriteria>
         </typ:findCriteria>
         <typ:findControl>
            <typ1:retrieveAllTranslations>false</typ1:retrieveAllTranslations>
         </typ:findControl>
      </typ:findCustomerAccount>
   </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/customerAccountService/applicationModule/CustomerAccountService/findCustomerAccountResponse</wsa:Action>
      <wsa:MessageID>urn:uuid:b63f1a31-748f-4530-ba53-2cc27f0572d4</wsa:MessageID>
   </env:Header>
   <env:Body>
      <ns0:findCustomerAccountResponse 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:ns10="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccount/" xmlns:ns11="http://xmlns.oracle.com/apps/flex/cdm/foundation/parties/custAccountGdf/" 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>2924</ns2:CustomerAccountId>
            </ns2:Value>
            <ns2:Value>
               <ns2:CustomerAccountId>6395</ns2:CustomerAccountId>
               <ns2:CustomerAccountSite xmlns:ns7="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountSite/" xmlns:ns8="http://xmlns.oracle.com/apps/flex/cdm/foundation/parties/custAccountSiteGdf/">
                  <ns2:CustomerAccountSiteId>6720</ns2:CustomerAccountSiteId>
               </ns2:CustomerAccountSite>
            </ns2:Value>
            <ns2:Value>
               <ns2:CustomerAccountId>6666</ns2:CustomerAccountId>
               <ns2:CustomerAccountSite xmlns:ns7="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountSite/" xmlns:ns8="http://xmlns.oracle.com/apps/flex/cdm/foundation/parties/custAccountSiteGdf/">
                  <ns2:CustomerAccountSiteId>7088</ns2:CustomerAccountSiteId>
               </ns2:CustomerAccountSite>
            </ns2:Value>
            <ns2:Value>
               <ns2:CustomerAccountId>2560</ns2:CustomerAccountId>
               <ns2:CustomerAccountSite xmlns:ns7="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountSite/" xmlns:ns8="http://xmlns.oracle.com/apps/flex/cdm/foundation/parties/custAccountSiteGdf/">
                  <ns2:CustomerAccountSiteId>3030</ns2:CustomerAccountSiteId>
               </ns2:CustomerAccountSite>
            </ns2:Value>
            <ns2:Value>
               <ns2:CustomerAccountId>2561</ns2:CustomerAccountId>
               <ns2:CustomerAccountSite xmlns:ns7="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountSite/" xmlns:ns8="http://xmlns.oracle.com/apps/flex/cdm/foundation/parties/custAccountSiteGdf/">
                  <ns2:CustomerAccountSiteId>3031</ns2:CustomerAccountSiteId>
               </ns2:CustomerAccountSite>
            </ns2:Value>
            <ns2:Value>
               <ns2:CustomerAccountId>2562</ns2:CustomerAccountId>
               <ns2:CustomerAccountSite xmlns:ns7="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountSite/" xmlns:ns8="http://xmlns.oracle.com/apps/flex/cdm/foundation/parties/custAccountSiteGdf/">
                  <ns2:CustomerAccountSiteId>3032</ns2:CustomerAccountSiteId>
               </ns2:CustomerAccountSite>
               <ns2:CustomerAccountSite xmlns:ns7="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountSite/" xmlns:ns8="http://xmlns.oracle.com/apps/flex/cdm/foundation/parties/custAccountSiteGdf/">
                  <ns2:CustomerAccountSiteId>4187</ns2:CustomerAccountSiteId>
               </ns2:CustomerAccountSite>
               <ns2:CustomerAccountSite xmlns:ns7="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountSite/" xmlns:ns8="http://xmlns.oracle.com/apps/flex/cdm/foundation/parties/custAccountSiteGdf/">
                  <ns2:CustomerAccountSiteId>4377</ns2:CustomerAccountSiteId>
               </ns2:CustomerAccountSite>
            </ns2:Value>
.....
         </ns0:result>
      </ns0:findCustomerAccountResponse>
   </env:Body>
</env:Envelope>