Micro Focus QTP (UFT) Forums
CyberArk CorePAS REST API to search for accounts - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: CyberArk CorePAS REST API to search for accounts (/Thread-CyberArk-CorePAS-REST-API-to-search-for-accounts)



CyberArk CorePAS REST API to search for accounts - pramod - 06-29-2023

How should I use REST API to search for multiple accounts based on account name? The below API returns empty. I am assuming, it tries to match both the values passed with search query separated by space against one record and not, one value against each record. That is why it returns an empty result when I pass two account names. If I want to get two records with names account_name1 and account_name2 respectively, is there any way to do it through REST API?

Was expecting it to return two accounts with account names account_name1 and account_name2, but it returns an empty list.