AnsweredAssumed Answered

userStatus query fails

Question asked by sasi.venugopal on Feb 20, 2014
Latest reply on Feb 21, 2014 by gcubed


Hello,

I executed a query on SOAPUI to read a user profile (userName = admin), and it returned the user details.
I then modified the query to userStatus=ACTIVE, no records were returned despite having over 100 active accounts.

Please let me know if if the query needs an update or if it is due to someting else.

Thank you,
Sasi


--------------QUERY -----------------------------------------------

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:obj="http://www.niku.com/xog/Object">
   <soapenv:Header>
      <obj:Auth>
         <!--Optional:-->
         <obj:SessionID>aaaaa</obj:SessionID>
         <!--Optional:-->
         <obj:TenantID>aaaaa</obj:TenantID>
         <!--Optional:-->
         <obj:Username>aaaaaa</obj:Username>
         <!--Optional:-->
         <obj:Password>aaaaa</obj:Password>
      </obj:Auth>
   </soapenv:Header>
   <soapenv:Body>
      <obj:ReadUser>


 <NikuDataBus xsi:noNamespaceSchemaLocation="../xsd/nikuxog_read.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <Header version="6.0.11" externalSource="NIKU"/>
  <Query>
   <Filter name="userStatus" criteria="EQUALS">Active</Filter>               [[[[[[[[[[[[[[[ <----THIS QUERY FAILS , if I make it a userName query it works ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
  </Query>
 </NikuDataBus>

 

      </obj:ReadUser>
   </soapenv:Body>
</soapenv:Envelope>

Outcomes