PlacementRateCard API

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
leonardosalatino
User
Posts: 9
Joined: Wed Jul 15, 2020 5:44 pm

PlacementRateCard API

Post by leonardosalatino »

Hi,
Do you know if there is an API for Placement RateCards?

I'm trying to run a GET http request to: {{baseRestURL}}entity/PlacementRateCard/58762?fields=*&BhRestToken={{BhRestToken}}
but I receive an error saying "Entity not found.". I think this is because I'm using the placement id (58762) instead of the rate card id.

Code: Select all

{
    "errorMessage": "Entity not found.",
    "errorMessageKey": "errors.entityNotFound",
    "errorCode": 404
}

So, I tried to search for a placement ratecard in order to get the Id, and seems that the search API is not available.
I run a GET http req to: {{baseRestURL}}search/PlacementRateCard?query=placementId:58762&fields=*&BhRestToken={{BhRestToken}}
and I get the error "Unknown search entity PlacementRateCard."

Code: Select all

{
    "errorMessage": "Unknown search entity PlacementRateCard.",
    "errorMessageKey": "errors.searchUnknownEntity",
    "errorCode": 400
}

I tried the search against the entities PlacementRateCardLine and PlacementRateCardVersion but I have the same result saying that the entity is unknown.
So the question is, do we have the search functionality in the Placement RateCard API? Seems that we don't. And is there some other way to know which is my placement rate card id?


Thanks
lauraingalls
User
Posts: 9
Joined: Wed Feb 26, 2020 12:19 pm

Re: PlacementRateCard API

Post by lauraingalls »

Hi Leonardo,

PlacementRateCard is currently not an entity that is accessible via API. To access rate cards and the earn codes associated with them, you'll need to log into Bullhorn directly.

Should this change in the future, our team will be sure to send out an update.

Thank you.
Laura Ingalls
Bullhorn Enterprise Support Analyst
Post Reply