Get Count of entities matching certain parameters

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
mgilbertitwr
User
Posts: 2
Joined: Mon Feb 03, 2020 10:39 am

Get Count of entities matching certain parameters

Post by mgilbertitwr » Mon Feb 03, 2020 10:46 am

Hello,

Essentially, what I want to do is to be able to have a call return the total number of entities that, let's say, live in NY or have 'Smith' as a last name, for example. Can someone please point me in the right direction on how I'd be able do get this accomplished? It is for a dashboard-esque program that is to reflect our database in real-time.

Thank you

atibbles
User
Posts: 2
Joined: Tue Feb 19, 2019 6:54 am

Re: Get Count of entities matching certain parameters

Post by atibbles » Mon Feb 17, 2020 4:51 am

I have managed to do this by adding the parameter "showTotalMatched=true" which always give me a total number of records. Generally used in combination with just requesting the id field to minimise the total response.

Post Reply