Why does this return null?

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

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

Why does this return null?

Post by jhallsharp »

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

Posts: 10
Joined: Wed Jul 11, 2018 5:09 pm

Re: Why does this return null?

Post by bashen »

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