Get Organizations with PartySiteNumber

In this use case we'll get organization by PartySiteNumber.

Operation: getOrganization

Request Body

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body
xmlns:ns1="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/applicationModule/types/">
      <ns1:findOrganization>
          <ns1:findCriteria
xmlns:ns2="http://xmlns.oracle.com/adf/svc/types/">
              <ns2:fetchStart>0</ns2:fetchStart>
              <ns2:fetchSize>-1</ns2:fetchSize>
              <ns2:filter>
                  <ns2:conjunction>And</ns2:conjunction>
                  <ns2:group>
                      <ns2:conjunction>And</ns2:conjunction>
                      <ns2:upperCaseCompare>false</ns2:upperCaseCompare>
                      <ns2:item>
                          <ns2:conjunction>And</ns2:conjunction>
                          <ns2:upperCaseCompare>false</ns2:upperCaseCompare>
                          <ns2:attribute>CodeAssignment</ns2:attribute>
                          <ns2:operator>EXISTS</ns2:operator>
                          <ns2:nested>
                              <ns2:group>
                                  <ns2:item>
                                      <ns2:upperCaseCompare>false</ns2:upperCaseCompare>
                                      <ns2:attribute>ClassCategory</ns2:attribute>
                                      <ns2:operator>=</ns2:operator>
                                      <ns2:value>FAF_ENTITY_TYPE2</ns2:value>
                                  </ns2:item>
                                  <ns2:item>
                                      <ns2:conjunction>And</ns2:conjunction>
                                      <ns2:upperCaseCompare>false</ns2:upperCaseCompare>
                                      <ns2:attribute>ClassCode</ns2:attribute>
                                      <ns2:operator>=</ns2:operator>
                                      <ns2:value>LENDER</ns2:value>
                                  </ns2:item>
                              </ns2:group>
                          </ns2:nested>
                      </ns2:item>
                  </ns2:group>
              </ns2:filter>
              <ns2:excludeAttribute>false</ns2:excludeAttribute>
          </ns1:findCriteria>
          <ns1:findControl
xmlns:ns3="http://xmlns.oracle.com/adf/svc/types/">
              <ns3:retrieveAllTranslations>false</ns3:retrieveAllTranslations>
          </ns1:findControl>
      </ns1:findOrganization>
  </soap:Body>
</soap: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/organizationService/applicationModule/OrganizationService/findOrganizationResponse</wsa:Action>
      <wsa:MessageID>urn:uuid:f3abac94-3fae-47cb-8dbc-449cb58d3073</wsa:MessageID>
   </env:Header>
   <env:Body>
      <ns0:findOrganizationResponse xmlns:ns0="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/applicationModule/types/">
         <ns3:result xsi:type="ns2:OrganizationPartyResult" xmlns:ns6="http://xmlns.oracle.com/apps/cdm/foundation/parties/contactPointService/" xmlns:ns9="http://xmlns.oracle.com/apps/cdm/foundation/parties/relationshipService/" xmlns:ns2="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/" xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" xmlns:ns0="http://xmlns.oracle.com/adf/svc/types/" xmlns:ns1="http://xmlns.oracle.com/apps/cdm/foundation/parties/partyService/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns3="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/applicationModule/types/"/>
      </ns0:findOrganizationResponse>
   </env:Body>
</env:Envelope>