Search found 11 matches

by mavieo
Sun Apr 16, 2017 1:46 pm
Forum: REST API
Topic: Programmatically approve terms of service? 02543174
Replies: 4
Views: 5814

Re: Programmatically approve terms of service?

I could see this as crazy frustrating. I just received my credentials and finally got everything figured out for candidate entity management. I do NOT have a TOS to approve when retrieving auth code. Notice on this page: http://developer.bullhorn.com/articles/getting_started ("Get an authorization c...
by mavieo
Fri Apr 14, 2017 11:08 am
Forum: REST API
Topic: (Solved) Encoding error on attached file (BASE64 NOT DECODED) - 02473109 - RESOLVED
Replies: 4
Views: 5186

Re: Encoding error on attached file (BASE64 NOT DECODED) - 02473109

Solved. BH doesnt' know what to do with base64 data, changed to binary. Works. # ... if(!isset($endpoint_args['file'])) : $this->errorsSet('missing argument "file"', __LINE__, __METHOD__); return FALSE; endif; $file = $endpoint_args['file']; unset($endpoint_args['file']); if(FALSE === is_readable($f...
by mavieo
Fri Apr 14, 2017 11:04 am
Forum: REST API
Topic: Attaching Resume to Candidate SOLVED
Replies: 1
Views: 5593

Re: Attaching Resume to Candidate SOLVED

I have beaten my head against this for a while too. I was attempting to base64 encode it, and BH just wouldn't decode. Added "Content-Length: 123" header and changed "Content-Transfer-Encoding: base64" to "Content-Transfer-Encoding: binary" and voila, everything works as expected. The give away shou...
by mavieo
Fri Apr 14, 2017 10:06 am
Forum: REST API
Topic: (Solved) Encoding error on attached file (BASE64 NOT DECODED) - 02473109 - RESOLVED
Replies: 4
Views: 5186

Re: Encoding error on attached file (BASE64 NOT DECODED) - 02473109

This is when uploading a "resume.txt" file. The file contents: "Test resume" BH file contents: "VGVzdCByZXN1bWU=" https://rest34.bullhornstaffing.com/rest-services/14ac9/file/Candidate/131272/raw?BhRestToken=cf87bc76-809a-418b-8612-13500f40b408&externalID=Portfolio&fileType=Resume&description=Candid...
by mavieo
Thu Apr 13, 2017 2:30 pm
Forum: REST API
Topic: (Solved) Encoding error on attached file (BASE64 NOT DECODED) - 02473109 - RESOLVED
Replies: 4
Views: 5186

(Solved) Encoding error on attached file (BASE64 NOT DECODED) - 02473109 - RESOLVED

The following results in an invalid file in BH portal. When uploading a text document, the contents are very clearly base64 encoded. Please assist if you've figured out this issue. $multipart_name = !isset($file['name']) || empty($file['name']) ? 'Unknown' : $file['name']; $multipart_filename = !iss...
by mavieo
Thu Apr 13, 2017 1:54 pm
Forum: REST API
Topic: Encoding error on an attached file (base64 instead of content)
Replies: 1
Views: 8842

Re: Encoding error on an attached file (base64 instead of content)

Running into this exact issue now. Have you found a solution>
by mavieo
Thu Apr 13, 2017 12:01 pm
Forum: REST API
Topic: REST API PHP Library
Replies: 0
Views: 6129

REST API PHP Library

Through days of trial and error, working with support, debugging, etc., I finally have a pretty simple PHP library for authenticating and handling candidate entities (including raw resume upload) through the REST API. Hoping this will assist someone new to the API with a practical implementation. Li...
by mavieo
Wed Apr 12, 2017 11:48 am
Forum: REST API
Topic: (Solved) Client Authentication failed.
Replies: 4
Views: 5692

Re: Client Authentication failed. (Solved)

OK, so I just had a nice quick call with someone named Charles at bullhorn support. While the solution is most likely obvious to most, It wasn't to me (and I suspect others). Issue: Get an access token The documentation (http://developer.bullhorn.com/articles/getting_started) clearly states to make ...
by mavieo
Tue Apr 11, 2017 3:41 pm
Forum: REST API
Topic: (Solved) Client Authentication failed.
Replies: 4
Views: 5692

Re: Client Authentication failed. (Code Audit)

Also, in the getting started guide (http://developer.bullhorn.com/articles/getting_started), step 3 of "Get an authorization code" says something about accepting TOS. I've yet to see that... but with so much of the guide being incorrect, I'm not certain that matters.
by mavieo
Tue Apr 11, 2017 3:31 pm
Forum: REST API
Topic: (Solved) Client Authentication failed.
Replies: 4
Views: 5692

Re: Client Authentication failed. (Code Audit)

Thank you for being kind enough to post. I just installed postman and RESTED for Chrome and HTTP Resource Test for Firefox (yesterday). They all return invalid_client. Support emailed me with the following steps.... This is Charles from Bullhorn Support. I was able to successfully access the API by ...
by mavieo
Mon Apr 10, 2017 2:11 pm
Forum: REST API
Topic: (Solved) Client Authentication failed.
Replies: 4
Views: 5692

(Solved) Client Authentication failed.

Support via ticket system is stuuuuupid slow. I'm hoping the community or the support peeps who view these forums are able to help out. The code attached is pretty much untested because I cannot retrieve an authorization code (BullhornAPI::oAuth) - My client would be very grateful if we could get th...