How to get list of all tearsheet using massUpdate api or search?

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
shubham276
User
Posts: 4
Joined: Tue Mar 05, 2019 8:12 am

How to get list of all tearsheet using massUpdate api or search?

Post by shubham276 » Tue Mar 05, 2019 8:20 am

I had tried following:
https://rest91.bullhornstaffing.com/res ... 00&start=0
and it is working, giving me total of three candidates.

But how to get all tearsheets.
What is the api that i need to hit?

Tried
https://rest91.bullhornstaffing.com/res ... 7873d626b8
not working....

charlesdeanorange
User
Posts: 1
Joined: Fri Feb 22, 2019 10:30 am

Re: How to get list of all tearsheet using massUpdate api or search?

Post by charlesdeanorange » Fri Mar 08, 2019 11:40 am

Hello shubham276,

I have reviewed your post here and it looks like the issue might be because you are calling the candidate entity in the REST call itself, whereas this would need to go in the payload of the call if you are looking to mass update the tearsheets with candidates.

In other words, you would want to use:

https://rest91.bullhornstaffing.com/res ... 7873d626b8

and then include any candidate records you are looking to add to this in the payload of the call.

Can you try structuring your call in this fashion and let me know how you get on here?

-Charles

shubham276
User
Posts: 4
Joined: Tue Mar 05, 2019 8:12 am

Re: How to get list of all tearsheet using massUpdate api or search?

Post by shubham276 » Wed Mar 13, 2019 3:11 am

I am looking for all candidates for all of the tearsheets, not for a specific(particular) candidate...

shubham276
User
Posts: 4
Joined: Tue Mar 05, 2019 8:12 am

Re: How to get list of all tearsheet using massUpdate api or search?

Post by shubham276 » Wed Mar 13, 2019 3:18 am

one more thing, How can i get all candidates/contacts for a tearsheet?

mfinleybh
User
Posts: 6
Joined: Thu Feb 21, 2019 9:48 am

Re: How to get list of all tearsheet using massUpdate api or search?

Post by mfinleybh » Wed Mar 13, 2019 9:49 am

Greetings shubham276,

I tried a few methods to retrieve this and it looks like there is a limitation to query against 1 tearsheet ID per call.

However you can distinguish what entity you want to query within each respective tearsheet. For example;

https://rest91.bullhornstaffing.com/res ... 00&start=0

- Will get you the information on the Contacts attributed to the tearsheet 2

https://rest91.bullhornstaffing.com/res ... 00&start=0

- Would pull the Candidates of tearsheet 2

-Matt

shubham276
User
Posts: 4
Joined: Tue Mar 05, 2019 8:12 am

Re: How to get list of all tearsheet using massUpdate api or search?

Post by shubham276 » Fri Mar 15, 2019 6:15 am

Solved Now.
this is the rest api for tearsheets handling.

get all tearsheets

https://rest.bullhornstaffing.com/rest- ... ted=false)

list of tearsheets associated to a given joborder

https://rest.bullhornstaffing.com/rest- ... ={ token }

get candidates for a specific tearsheet

https://rest.bullhornstaffing.com/rest- ... ields=name

get all jobs inside a tearsheet

https://rest91.bullhornstaffing.com/res ... elds=title

Hope this helps Others also

Thanks
mfinleybh
charlesdeanorange

mfinleybh
User
Posts: 6
Joined: Thu Feb 21, 2019 9:48 am

Re: How to get list of all tearsheet using massUpdate api or search?

Post by mfinleybh » Fri Mar 15, 2019 10:27 am

Greetings shubham276,

Thank you for your contributions to the API Forums!

Have a great weekend!

-Matt

Post Reply