Search Candidates by owner.id

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
paulkoan
User
Posts: 3
Joined: Thu Apr 30, 2015 12:57 am

Search Candidates by owner.id

Post by paulkoan » Thu Apr 30, 2015 1:02 am

Hi,

I cannot see why this request doesn't return records:

Code: Select all

https://rest5.bullhornstaffing.com/rest-services/32xjd/search/Candidate?&query=owner.id:1&fields=firstName,owner&count=2&BhRestToken=xxxx
(there are many records owned by the owner with id=1)

This is similar in structure to the example given in the search part of the API manual. Am I formulating the query incorrectly? I actually want to negate this owner in combination with with other criteria.

paulkoan
User
Posts: 3
Joined: Thu Apr 30, 2015 12:57 am

Re: Search Candidates by owner.id

Post by paulkoan » Thu May 07, 2015 5:56 pm

Seems that there are several questions about doing searches on sub fields here, but unanswered.

Has anyone made this work?

s.emmons
User
Posts: 333
Joined: Wed Dec 31, 1969 8:00 pm

Re: Search Candidates by owner.id

Post by s.emmons » Tue May 12, 2015 12:16 pm

Hi paulkoan,

I'm confirming a couple things on this. I'll have an update shortly.
Sam Emmons
Enterprise Team Lead
BULLHORN
US Support 617-478-9126

vsebydetgood
User
Posts: 1
Joined: Mon Jul 20, 2015 2:40 am

Re: Search Candidates by owner.id

Post by vsebydetgood » Mon Jul 20, 2015 2:47 am

Hi s.emmons,

do you have an update on this issue? I also faced with it.

somnathm
User
Posts: 3
Joined: Tue May 06, 2014 10:28 am
Location: Kolkata

Re: Search Candidates by owner.id

Post by somnathm » Wed Sep 09, 2015 6:15 am

Hello Sam,

I am facing the same problem to fetch candidate records by passing owner.id field value. Please help me.

somnathm
User
Posts: 3
Joined: Tue May 06, 2014 10:28 am
Location: Kolkata

Re: Search Candidates by owner.id

Post by somnathm » Wed Sep 09, 2015 7:23 am

Hello Team,

I am getting response when i am using https://rest0.bullhornstaffing.com/rest ... hresttoken but when i filter owner.id:ownerid i am not getting any value.

https://rest0.bullhornstaffing.com/rest ... hresttoken

I am stuck. Please help me.

somnathm
User
Posts: 3
Joined: Tue May 06, 2014 10:28 am
Location: Kolkata

Re: Search Candidates by owner.id

Post by somnathm » Wed Sep 09, 2015 7:35 am

Hello Team,

If i use https://rest0.bullhornstaffing.com/rest ... hresttoken i am getting response from server.

DaveNorthCreek
User
Posts: 93
Joined: Fri Nov 20, 2015 2:04 pm

Re: Search Candidates by owner.id

Post by DaveNorthCreek » Thu Feb 25, 2016 7:56 pm

Bump!
Getting an empty response:

Code: Select all

URL:
https://rest22.bullhornstaffing.com/rest-services/{companyCode}/search/Candidate?query=owner.id:{ownerid}&fields=firstName,lastName,id,owner&BhRestToken={bhresttoken}
Response:
{
  "total": 0,
  "start": 0,
  "count": 0,
  "data": []
}
Sam Emmons was hinting at a reply which never came. Is there a solution for Candidates? I can query for Candidate by ID, name, etc., but not by ID of Owner.

Thanks,
Dave
North Creek

DaveNorthCreek
User
Posts: 93
Joined: Fri Nov 20, 2015 2:04 pm

Re: Search Candidates by owner.id

Post by DaveNorthCreek » Fri Mar 04, 2016 2:20 pm

Here's some excerpts from my email conversation with Bullhorn:

>This is Bill from Bullhorn Support and I will be assisting you on this ticket.

>Can you try adding "&useV2=true" without the quotations to the end of your search and let me know if that yields better results? This is a
>common problem that I have seen in the past.

Works like a charm.

Just need to "useV2=true" and I get a long list of Candidates.

Dave
North Creek

Post Reply