Search found 89 matches

by DaveNorthCreek
Tue Mar 08, 2016 2:38 pm
Forum: REST API
Topic: How to get a list of all sectors for filter usage
Replies: 1
Views: 2755

Re: How to get a list of all sectors for filter usage

You need to use the GET /options function. The PDF, page 57. Use Postman or similar to return the values, store them locally, and create your UI. Or call /options every time and build from that, if you like. PDF: http://developer.bullhorn.com/sites/default/files/BullhornRESTAPI_0.pdf Cheers, Dave No...
by DaveNorthCreek
Fri Mar 04, 2016 2:20 pm
Forum: REST API
Topic: Search Candidates by owner.id
Replies: 8
Views: 10636

Re: Search Candidates by owner.id

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 t...
by DaveNorthCreek
Wed Mar 02, 2016 3:47 pm
Forum: REST API
Topic: Cannot get authorisation code
Replies: 3
Views: 3941

Re: Cannot get authorisation code

Based on the conversation in another thread:
http://supportforums.bullhorn.com/viewt ... 04&t=22057

Do you have a valid client ID, client secret, and redirect URL?

Probably have to take this up with Bullhorn support.

Sorry I can't help more,
Dave
North Creek
by DaveNorthCreek
Wed Mar 02, 2016 3:44 pm
Forum: REST API
Topic: auth9 vs auth AND rest9 vs rest
Replies: 1
Views: 2734

Re: auth9 vs auth AND rest9 vs rest

There's an article about this in the developer docs, came across it the other day.
http://developer.bullhorn.com/articles/datacenter_urls

HTH,
Dave
North Creek
by DaveNorthCreek
Wed Mar 02, 2016 3:42 pm
Forum: REST API
Topic: Timestamp values in PHP?
Replies: 2
Views: 3930

Re: Timestamp values in PHP?

Bullhorn dates are Unix timestamps, but in milliseconds. To write to Bullhorn, you need to convert your string to a Unix timestamp and multiply by 1000. To read a Bullhorn date, you have to take the Bullhorn value and divide by 1000, then format as a string. Here's my code to convert Bullhorn to hum...
by DaveNorthCreek
Mon Feb 29, 2016 6:02 pm
Forum: REST API
Topic: Cannot get authorisation code
Replies: 3
Views: 3941

Re: Cannot get authorisation code

1) The answer is in the URL that the response is being redirected to. 2) Make sure your code returns the headers. 3) Make sure your code doesn't follow the redirect. That's a setting in every client/programming language. Lots of examples in this forum if you search. If you can't get it to work, post...
by DaveNorthCreek
Thu Feb 25, 2016 7:56 pm
Forum: REST API
Topic: Search Candidates by owner.id
Replies: 8
Views: 10636

Re: Search Candidates by owner.id

Bump! Getting an empty response: 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 ...
by DaveNorthCreek
Thu Feb 25, 2016 11:25 am
Forum: REST API
Topic: REST API Not Re-Entrant? 02244398
Replies: 8
Views: 8756

Re: REST API Not Re-Entrant?

I was thinking about this question again for some reason - yes, you could have multiple connection requests. I think you can treat it like a database connection - route all requests from your servers to a single point - perhaps using an internal REST call? - that provides the token. OTOH, if you hav...
by DaveNorthCreek
Sat Feb 20, 2016 10:36 pm
Forum: REST API
Topic: Can't get started - error getting access code
Replies: 5
Views: 5786

Re: Can't get started - error getting access code

That URL was supplied by you or your friend when the API key was granted. It should be in the email that contained the API key. Match that and you should be good to go.
by DaveNorthCreek
Fri Feb 19, 2016 11:28 am
Forum: REST API
Topic: Can't get started - error getting access code
Replies: 5
Views: 5786

Re: Can't get started - error getting access code

Just to be clear, did you give a value for the redirect uri? You can do a login from within your code by doing https://auth.bullhornstaffing.com/oauth/authorize?client_id={client_id}&response_type=code&redirect_uri={optional redirect_uri}&state={recommended state value}&username={username}&password=...
by DaveNorthCreek
Tue Feb 16, 2016 7:29 pm
Forum: REST API
Topic: REST API Not Re-Entrant? 02244398
Replies: 8
Views: 8756

Re: REST API Not Re-Entrant?

Hi there, I had to go shovel snow off of my driveway, and that's when I figured out how to respond. This is a REST api, and yes, the OAuth login is cumbersome. But given a REST approach, you can share the login among lots of servers - the only concern is the login time. There is no conversational st...
by DaveNorthCreek
Fri Feb 12, 2016 3:28 pm
Forum: REST API
Topic: Error when trying to retrieve authorization code
Replies: 4
Views: 5913

Re: Error when trying to retrieve authorization code

Hi Akash1992, Here's the money quote (what I didn't see in the other thread): To solve this you simply pass a HttpClientHandler class into HttpClient with AllowAutoRedirect parameter set to false. Please confirm that you have done this for this call. If you have, then we have another issue. But it l...
by DaveNorthCreek
Fri Feb 12, 2016 3:20 pm
Forum: REST API
Topic: Seeking to Hire Web Developer for NEW API
Replies: 3
Views: 5529

Re: Seeking to Hire Web Developer for NEW API

Hey, if someone is still looking, I have availability for a project starting in March. I have spent the last nine months learning the Bullhorn API for another client (reference available) and you can feel free to take advantage of my knowledge and a bunch of code that already works! This post almost...
by DaveNorthCreek
Fri Feb 12, 2016 3:16 pm
Forum: REST API
Topic: Unable to get authorization code programatically
Replies: 8
Views: 7701

Re: Unable to get authorization code programatically

Without digging in to the details too closely, is it possible that your C# code is following the 302 redirect, so that you are reading the headers from the redirected response? You need to disable following redirects for that one call, in order to capture the headers of the response with the 302 cod...
by DaveNorthCreek
Fri Jan 15, 2016 1:23 pm
Forum: REST API
Topic: Partial Matching in Job Description
Replies: 6
Views: 7055

Re: Partial Matching in Job Description

Try it without quotes around the query. I have a working query with a where clause: https://rest22.bullhornstaffing.com/rest-services/***/query/PersonCustomObjectInstance1?where=id=121&fields=*&BhRestToken=*** So it's a working query, it's an integer, but there are no quotes. The parsing code might ...