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/">
   <env:Header/>
   <env:Body>
      <env:Fault>
         <faultcode>env:Server</faultcode>
         <faultstring>JBO-25058: Definition ? of type Attribute is not found in CustomerAccountSiteUseVO.</faultstring>
         <detail>
            <tns:ServiceErrorMessage xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
               <tns:code>25058</tns:code>
               <tns:message>JBO-25058: Definition ? of type Attribute is not found in CustomerAccountSiteUseVO.</tns:message>
               <tns:severity>SEVERITY_ERROR</tns:severity>
               <tns:sdoObject xsi:type="ns1:FindCriteria" xmlns:ns1="http://xmlns.oracle.com/adf/svc/types/">
                  <ns1:fetchStart>0</ns1:fetchStart>
                  <ns1:fetchSize>-1</ns1:fetchSize>
                  <ns1:filter>
                     <ns1:conjunction>?</ns1:conjunction>
                     <ns1:group>
                        <ns1:conjunction>?</ns1:conjunction>
                        <ns1:upperCaseCompare>false</ns1:upperCaseCompare>
                        <ns1:item>
                           <ns1:conjunction>?</ns1:conjunction>
                           <ns1:upperCaseCompare>false</ns1:upperCaseCompare>
                           <ns1:attribute>?</ns1:attribute>
                           <ns1:operator>?</ns1:operator>
                           <ns1:value>?</ns1:value>
                           <ns1:nested/>
                        </ns1:item>
                     </ns1:group>
                     <ns1:nested/>
                  </ns1:filter>
                  <ns1:sortOrder>
                     <ns1:sortAttribute>
                        <ns1:name>?</ns1:name>
                        <ns1:descending>false</ns1:descending>
                     </ns1:sortAttribute>
                  </ns1:sortOrder>
                  <ns1:findAttribute>?</ns1:findAttribute>
                  <ns1:excludeAttribute>false</ns1:excludeAttribute>
                  <ns1:childFindCriteria>
                     <ns1:fetchStart>0</ns1:fetchStart>
                     <ns1:fetchSize>-1</ns1:fetchSize>
                     <ns1:filter>
                        <ns1:conjunction>?</ns1:conjunction>
                        <ns1:group>
                           <ns1:conjunction>?</ns1:conjunction>
                           <ns1:upperCaseCompare>false</ns1:upperCaseCompare>
                           <ns1:item>
                              <ns1:conjunction>?</ns1:conjunction>
                              <ns1:upperCaseCompare>false</ns1:upperCaseCompare>
                              <ns1:attribute>?</ns1:attribute>
                              <ns1:operator>?</ns1:operator>
                              <ns1:value>?</ns1:value>
                              <ns1:nested/>
                           </ns1:item>
                        </ns1:group>
                        <ns1:nested/>
                     </ns1:filter>
                     <ns1:sortOrder>
                        <ns1:sortAttribute>
                           <ns1:name>?</ns1:name>
                           <ns1:descending>false</ns1:descending>
                        </ns1:sortAttribute>
                     </ns1:sortOrder>
                     <ns1:findAttribute>?</ns1:findAttribute>
                     <ns1:excludeAttribute>false</ns1:excludeAttribute>
                     <ns1:childFindCriteria/>
                     <ns1:childAttrName>?</ns1:childAttrName>
                  </ns1:childFindCriteria>
               </tns:sdoObject>
               <tns:exceptionClassName>oracle.jbo.NoDefException</tns:exceptionClassName>
            </tns:ServiceErrorMessage>
         </detail>
      </env:Fault>
   </env:Body>
</env:Envelope>