Setting up different environments with single Bullhorn account

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
Posts: 5
Joined: Tue Feb 07, 2017 4:36 am

Setting up different environments with single Bullhorn account

Post by balasureshfsp » Fri Jun 23, 2017 5:34 am

I am using Bullhorn Rest API for my client. And i have two servers, i) Development Server -> Here test users entries are created for testing and checking progress will be done via Bullhorn Rest API. ii) Production Server -> In this server real site users will be created and working with the site via Bullhorn Rest API. So I need to set the two different states (of data or entries for candidate, job) in Bullhorn. How can we achieve this?

Posts: 67
Joined: Fri Apr 08, 2016 4:54 pm

Re: Setting up different environments with single Bullhorn account

Post by ColinC » Mon Jul 17, 2017 1:47 pm

Hello balasureshfsp,

If you are pulling data from two different environments you would want to store them in two different locations.

For example if you are pulling data via API and inserting into SQL tables you would want two databases:
Database A: Development server data
Database B: Production server data

That way any time you are querying the data you know which set is which.

As for knowing which calls go to which account there is a corpToken that will link to a specific database. Unique to each instance of Bullhorn.

For example when logging in you are returned the following:
"BhRestToken" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"restUrl" : ""

That corpToken will be unique to each server. One for Development server. One for Production server.
This will help you keep track of which calls are going to which server.
Colin Coffman
Enterprise Support Analyst
Staffing and Recruiting Software, On Target, On Demand
617-478-9126 (US Support)
+44 800 032 2848 ext. 9131 (UK Support)

Post Reply