getting all categories of candidates - 02592111

Forum for users and developers of Bullhorn's new REST API service.

Moderators: StaffingSupport, s.emmons, BullhornSupport

longscrowded
User
Posts: 1
Joined: Thu Sep 28, 2017 2:34 pm

getting all categories of candidates - 02592111

Postby longscrowded » Thu Sep 28, 2017 2:44 pm

How do i pull all categories associated with candidates, ideally i would like to get all category ids then use those ids to pull candidates associated with that category,

If i cant do the above method how would I go about finding candidates that arent associated within a range of ids, I have the query to find candidates that arent associated to one categoryID
?fields=category&count=500&start=0&query=isDeleted%3A1%20AND%20-categories.id%3A45

I tried adding more AND -categories.id:{categories.id} to the query but am not getting what i want

gwillmottBH
User
Posts: 75
Joined: Tue Apr 12, 2016 10:34 am

Re: getting all categories of candidates

Postby gwillmottBH » Mon Oct 09, 2017 1:14 pm

Hello Longscrowded,

The following should return all enabled categories, that will give you all of the enabled category id's.

query/Category?&fields=*&where=enabled=true&count=100

You can expand the count if you have more than 100 categories until you get all of them back.

Let me know if you have any other questions.

Thank you,
Greg
Greg Willmott
Senior Enterprise Support Analyst
B U L L H O R N
Staffing and Recruiting Software, On Target, On Demand
100 Summer St., 17th Floor, Boston, MA 02210
617-478-9126 (US Support)
+44 800 032 2848 ext. 9131 (UK Support)


Return to “REST API”

Who is online

Users browsing this forum: No registered users and 2 guests