New to Bullhorn, REST Get Categories

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

pmarshall
User
Posts: 1
Joined: Thu Jan 18, 2018 4:09 pm

New to Bullhorn, REST Get Categories

Postby pmarshall » Thu Jan 18, 2018 4:13 pm

Hi,

I need to pull back all of the Categories and Skills from Bullhorn. I can't work out the format of the URL I need to specify to get ALL of the categories.

Do I do a search/Category?query....

or can I do

entity/Category?fields=*

and get back a list

I'm getting a 400 on all requests.

I need to pull back the categories and skills within to migrate some data between instances of Bullhorn.

If I do a specific entity/Category/{id}

that request works.

Really need some help as its driving me NUTS :cry:

Thanks Paul

pearsehemestretch
User
Posts: 5
Joined: Thu Mar 16, 2017 6:30 am

Re: New to Bullhorn, REST Get Categories

Postby pearsehemestretch » Fri Jan 19, 2018 5:22 am

Hi Paul,

To pull a list of all categories in a system you can use the below call:

.../query/Category?where=enabled=true&fields=id,name,enabled&start=0&count=500...

Then you can alter this to change 'Category' to 'Skill' to pull all the Skills.

.../query/Skill?where=enabled=true&fields=id,name,enabled&start=0&count=500...

Hope this helps.
Pearse Hemestretch
Enterprise Support Analyst
B U L L H O R N
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 4 guests