UserHeadshotFile API feature disabled

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
chrisgrant
User
Posts: 2
Joined: Wed Aug 29, 2018 6:08 am

UserHeadshotFile API feature disabled

Post by chrisgrant » Thu Aug 30, 2018 10:54 am

We’re sending a GET request to this URL in order to get the user headshot files for our CorporateUser entities.
https://rest23.bullhornstaffing.com/res ... Token=XXXX

However, we get the following response:
{ “errorMessage" : “Feature 'commercialEnabled' not enabled.", "errorMessageKey" : "errors.featureDisabled", "errorCode” : 403}"

The documentation (http://bullhorn.github.io/rest-api-docs ... dshot-file) on this is slightly unclear. The docs suggest this is the format:
{{corpToken}/userHeadshotFile/entityId}}
But the example is like this
https://rest.bullhornstaffing.com/rest- ... idate/3835

Which seems to suggest that you need to put in the entity type before the ID. I tried putting in the entity type (CorporateUser), but that gives:

{ "errorMessage" : "Unknown or badly structured command: /userHeadshotFile/CorporateUser/1.", "errorMessageKey" : "errors.badCommand"}"

Post Reply