Fetching Companies Data via API

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
Posts: 14
Joined: Mon Jan 21, 2019 6:32 am

Fetching Companies Data via API

Post by vipultandon »

Hello Bullhorn Support,

I am trying to fetch Companies data from BH.
When trying via PHP-Curl it doesn't returns any value but when run on Postman it returns data.

Below is the code,
API URL is: https://rest40.bullhornstaffing.com/res ... &count=100

$ch = curl_init($api_url);
$headers = array('Content-Type: application/json');
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_URL, $api_url);
curl_setopt($ch, CURLOPT_HEADER, 0);

Please have a look and share your thoughts.

Posts: 44
Joined: Thu Feb 21, 2019 9:48 am

Re: Fetching Companies Data via API

Post by mfinleybh »

Greetings ,

Troubleshooting Curl-PHP is outside of the scope of the Bullhorn Support Team. I would suggest utilizing the forum search tool to find similar Curl related poses. We do have several Curl programmers on this forum, who may also be able to assist you.

In the meantime, if you have any REST or SOAP based requests, we will be happy to render assistance.


Post Reply