Activity Goals and Quotas

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
noahvp8
User
Posts: 4
Joined: Tue Sep 22, 2020 12:54 pm

Activity Goals and Quotas

Post by noahvp8 »

I would like to pull back Activity Goals and Quotas via the API. In reading the Entity docs, it looks like ActivityGoal is what I want, but this is not queryable via the /search method?

Code: Select all

{
    "errorMessage": "Unknown search entity ActivityGoal.",
    "errorMessageKey": "errors.searchUnknownEntity",
    "errorCode": 400
}
I'm also trying to pull by /entity, but am not having success is getting the data that I see within the Bullhorn UI for "Goals & Quotas"? Help?
bbagwell
User
Posts: 31
Joined: Wed Feb 26, 2020 12:17 pm

Re: Activity Goals and Quotas

Post by bbagwell »

Would you be able to post the call you are using (making sure to redact identifying information to your corporation)? Alternatively, you can also submit a support ticket with the full details of the call.
noahvp8
User
Posts: 4
Joined: Tue Sep 22, 2020 12:54 pm

Re: Activity Goals and Quotas

Post by noahvp8 »

Just to close the loop on this, here is the appropriate API request for ActivityGoals:

https://rest41.bullhornstaffing.com/res ... t&where=id IS NOT NULL
noahvp8
User
Posts: 4
Joined: Tue Sep 22, 2020 12:54 pm

Re: Activity Goals and Quotas

Post by noahvp8 »

One other question - is there a way to pull historical ActivityGoal data from Bullhorn? It looks like queries against ActivityGoal entity only returns data for the current period. I would like to see what prior periods have been (weekly or monthly). When I do a query with a "where" clause of

Code: Select all

where=startDate>='2020-01-01'
(which I would imagine to show prior periods), I only get current period?
Post Reply