REQUEST (multiple filters):

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mem="http://memdoc.webservices.yosemite.www.memdoc.org/">
<soapenv:Header/>
   <soapenv:Body>
      <mem:searchFormData>
         <mem:serverSessionId>2088118745</mem:serverSessionId>
         <mem:formDataSearchFilters>
            <mem:filterByFormId>
               <mem:formId>1813</mem:formId>
            </mem:filterByFormId>
            <mem:filterByIVDateQuestion>
               <mem:ivDateQuestion>2008-03-06</mem:ivDateQuestion>
            </mem:filterByIVDateQuestion>
            <mem:filterByPatientId>
               <mem:patientId>1</mem:patientId>
            </mem:filterByPatientId>
            <mem:filterByMyCreated>
               <mem:useFilter>true</mem:useFilter>
            </mem:filterByMyCreated>
            <mem:filterByMySubmitted>
               <mem:useFilter>true</mem:useFilter>
            </mem:filterByMySubmitted>
            <mem:filterByDepartmentIdList>
               <mem:deptId>1</mem:deptId>
               <mem:deptId>2</mem:deptId>
            </mem:filterByDepartmentIdList>
         </mem:formDataSearchFilters>
      </mem:searchFormData>
   </soapenv:Body>
</soapenv:Envelope>

 

RESPONSE:

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Body>
      <ns2:searchFormDataResponse xmlns:ns2="http://memdoc.webservices.yosemite.www.memdoc.org/">
         <ns2:formDataId>1592</ns2:formDataId>
         <ns2:formDataId>1594</ns2:formDataId>
         <ns2:formDataId>1596</ns2:formDataId>
         <ns2:formDataId>1604</ns2:formDataId>
         <ns2:formDataId>1605</ns2:formDataId>
         <ns2:formDataId>1607</ns2:formDataId>
         <ns2:formDataId>1613</ns2:formDataId>
      </ns2:searchFormDataResponse>
   </S:Body>
</S:Envelope>

 

REQUEST (filter by formid):

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mem="http://memdoc.webservices.yosemite.www.memdoc.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <mem:searchFormData>
         <mem:serverSessionId>2088118745</mem:serverSessionId>
         <mem:formDataSearchFilters>
            <mem:filterByFormId>
               <mem:formId>1813</mem:formId>
            </mem:filterByFormId>           
         </mem:formDataSearchFilters>
      </mem:searchFormData>
   </soapenv:Body>
</soapenv:Envelope>

 

RESPONSE:

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Body>
      <ns2:searchFormDataResponse xmlns:ns2="http://memdoc.webservices.yosemite.www.memdoc.org/">
         <ns2:formDataId>1592</ns2:formDataId>
         <ns2:formDataId>1593</ns2:formDataId>
         <ns2:formDataId>1594</ns2:formDataId>
         <ns2:formDataId>1596</ns2:formDataId>
         <ns2:formDataId>1604</ns2:formDataId>
         <ns2:formDataId>1605</ns2:formDataId>
         <ns2:formDataId>1606</ns2:formDataId>
         <ns2:formDataId>1607</ns2:formDataId>
         <ns2:formDataId>1610</ns2:formDataId>
         <ns2:formDataId>1613</ns2:formDataId>
      </ns2:searchFormDataResponse>
   </S:Body>
</S:Envelope>

 

REQUEST (filter by patientId):

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mem="http://memdoc.webservices.yosemite.www.memdoc.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <mem:searchFormData>
         <mem:serverSessionId>2088118745</mem:serverSessionId>
         <mem:formDataSearchFilters>
         
            <mem:filterByPatientId>
               <mem:patientId>5</mem:patientId>
            </mem:filterByPatientId>
         </mem:formDataSearchFilters>
      </mem:searchFormData>
   </soapenv:Body>
</soapenv:Envelope>

REPLY:

 <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Body>
      <ns2:searchFormDataResponse xmlns:ns2="http://memdoc.webservices.yosemite.www.memdoc.org/">
         <ns2:formDataId>1560</ns2:formDataId>
      </ns2:searchFormDataResponse>
   </S:Body>
</S:Envelope>

 

REQUEST (filter by formdata id):

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:searchFormData xmlns:ns2="http://memdoc.webservices.yosemite.www.memdoc.org/">
      <ns2:serverSessionId>727152810</ns2:serverSessionId>
      <ns2:formDataSearchFilters>
          <ns2:filterByFormDataId>
               <ns2:formDataId>1592</ns2:formDataId>
               <ns2:formDataId>1792</ns2:formDataId>
               <ns2:formDataId>1793</ns2:formDataId>
           </ns2:filterByFormDataId>     
      </ns2:formDataSearchFilters>
    </ns2:searchFormData>
  </S:Body>
</S:Envelope>

 

REPLY:

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Body>
      <ns2:searchFormDataResponse xmlns:ns2="http://memdoc.webservices.yosemite.www.memdoc.org/">
         <ns2:formDataId>1592</ns2:formDataId>
         <ns2:formDataId>1792</ns2:formDataId>
      </ns2:searchFormDataResponse>
   </S:Body>
</S:Envelope>