CA Service Management

  • 1.  Service Catalog findUser filter

    Posted Nov 02, 2017 07:35 AM

    Hi Team,

     

    Anyone have an idea of how to specify or condition with in a filter bean described below?

     

    findUsers Method

    Searches for users in the specified business unit based on the given array of filter beans. A Service Provider administrator has access to users for all business units.
    Signature
    findUsers(String sessionID, FilterBean[] filterBeanArr)
    Required Parameters
    sessionIDsecurity handle for calling webservices.[mandatory parameter]
    filterBeanArrFilter Beans Array. Filter Bean holds the data for field name, operator, value. Valid fields that filter beans can assume are: pager_number, pri_phone_number, contact_uuid, description as state_name, inactive, middle_name, alt_phone_number, last_name, fax_number, name as title_name, alias, userid, location_name, name as country_name, userid as manager, mobile_phone_number, name, email_address, first_name, city Valid operands are: Contains,Equals,Not Equals,Starts With,Ends With
    Return Value
    com.ca.usm.soap.axisInterfaces.User[] - contains a Array of user objects.

     

    <findUsers xmlns="urn:usmUserService">
    <sessionID>sessionID__</sessionID>
    <filterBeanArr>
    <filterBean>
    <field>email_address</field>
    <operator>Equals</operator>
    <value>EMAIL_ID1__</value>or<value>EMAIL_ID2__</value>
    </filterBean>
    </filterBeanArr>
    </findUsers>

     

    Regards,

    Pankaj



  • 2.  Re: Service Catalog findUser filter

    Posted Nov 02, 2017 09:00 AM

    Scott_Karbiner, Jason_Wolfe, yanji03 - would you be able to offer Pankaj any insight on this one?  



  • 3.  Re: Service Catalog findUser filter

    Posted Nov 02, 2017 05:25 PM

    Hi Pankaj,

     

    Unfortunately I don't think its possible to include operators in the 'value' like that. You may need to call findUsers() more than once or leverage 'contains' if there is a common substring between email addresses you are searching for.

     

    Thanks,
    Jason



  • 4.  Re: Service Catalog findUser filter

    Posted Nov 03, 2017 04:27 AM

    Hi Jason,

     

    Thanks for the reply.

    OK I understood that include operators in the 'value' like that is not possible.But is there any way to put one more filter on this.

    If yes then how to do that?

     

    Regards,

    Pankaj