get data from ClientCorporation

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
vipultandon
User
Posts: 5
Joined: Mon Jan 21, 2019 6:32 am

get data from ClientCorporation

Post by vipultandon » Mon Jan 21, 2019 7:26 am

Hi,

I am using Curl-PHP to fetch data for ClientCorporation. Running in Postman, its returning data but when going via Curl, no data is being returned.
My code is like:

API URL: /query/ClientCorporation?BhRestToken=tokenValue&where=id>0&fields=*&count=100
$ch = curl_init($api_url);
$headers = array('Content-Type: application/json');
curl_setopt($ch, CURLOPT_URL, $api_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE );
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_HEADER, 0);

Please share your suggestions.

Regards,
Vipul

pmularski
Bullhorn Support Staff
Posts: 927
Joined: Wed Dec 31, 1969 8:00 pm

Re: get data from ClientCorporation

Post by pmularski » Mon Mar 11, 2019 3:32 pm

Greetings Vipultandon,

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.

-Pat
Patrick Mularski
Senior Enterprise Support Analyst
B U L L H O R N
Staffing and Recruiting Software, On Target, On Demand
Bullhorn Support Contact Numbers
US: 617-478-9126
UK: 44 800 032 2848
Australia: 61 28 073 5089
International: 617-478-9131

mfinleybh
User
Posts: 23
Joined: Thu Feb 21, 2019 9:48 am

Re: get data from ClientCorporation

Post by mfinleybh » Mon Mar 11, 2019 3:43 pm

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.

-Matt

Post Reply