Search records by email address

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 records by email address

Post by paulkoan » Mon May 04, 2015 12:35 am

Can anyone help with encoding an email address search?

This does matching, and so returns lots of records, depending on how well they match with the supplied email address:

Code: Select all

https://rest5.bullhornstaffing.com/rest-services/xxxxx/search/Candidate?&query=email:email.address@domain.com&fields=email&BhRestToken=
The lucene docs say use '=' for exact matching, which would make the query look like this:

Code: Select all

https://rest5.bullhornstaffing.com/rest-services/xxxxx/search/Candidate?&query==email:email.address@domain.com&fields=email&BhRestToken=
This returns nothing, but that that double 'equals sign' looks odd, so I tried encoding it:

Code: Select all

https://rest5.bullhornstaffing.com/rest-services/xxxxx/search/Candidate?&query=%3Demail:email.address@domain.com&fields=email&BhRestToken=
But this also returns nothing. Any ideas how I can trigger an exact match on email address?

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

Re: Search records by email address

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

Hi paulkoan,

I'm taking a look at this one. I'll get back to you with an update as soon as possible.
Sam Emmons
Enterprise Team Lead
BULLHORN
US Support 617-478-9126

Post Reply