Why does this return null?

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
jhallsharp
User
Posts: 15
Joined: Thu Feb 21, 2019 5:32 pm

Why does this return null?

Post by jhallsharp » Wed Jun 26, 2019 11:13 am

What is wrong with this syntax that it returns null? If I do enabled=true and that is the only filter it works but this below does NOT work?

query/CorporateUser?where=name="Dani Shambaugh"&fields=name,email

bashen
User
Posts: 6
Joined: Wed Jul 11, 2018 5:09 pm

Re: Why does this return null?

Post by bashen » Mon Jul 01, 2019 4:24 pm

Try it with single quotes around the name:

query/CorporateUser?where=name='Dani Shambaugh'&fields=name,email

If the name itself contains a single quote, you will need to escape it with another single quote. For example:
query/CorporateUser?where=name='Mike O''Doul'&fields=name,email

Post Reply