max page size on search?

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

Moderators: StaffingSupport, pmularski, BullhornSupport

Post Reply
majestiq
User
Posts: 1
Joined: Fri Dec 16, 2022 11:42 pm

max page size on search?

Post by majestiq »

I'm trying to export a set of joborders from Bullhorn. I'm using the search api and paging through it to export the contents. I'm able to get 25 records at a time.

Is there a large count / pagesize that I can enter into this API? Is there a better way to do this export?

I'm sorry if this question has been asked before. However, the search feature on this forum doesn't seem t work.

Thanks in advance.
hollowrefer
User
Posts: 1
Joined: Fri Dec 29, 2023 2:39 am

Re: max page size on search?

Post by hollowrefer »

majestiq wrote: Fri Dec 16, 2022 11:47 pm I'm trying to export a set of joborders from Bullhorn. I'm using the search api and paging through it to export the contents. I'm able to get 25 records at a time.

Is there a large count / pagesize that I can enter into this API? Is there a better way to do this export?

I'm sorry if this question has been asked before. However, the search feature on this forum doesn't seem t work.

Thanks in advance.
Hi

Examine the official API documentation for the API you're using. The documentation should provide the maximum allowable page size or request count. The API may provide a parameter such as pageSize or count that allows you to specify the number of records to return in a single response.
tom101
User
Posts: 1
Joined: Fri Jun 07, 2024 3:30 am

Re: max page size on search?

Post by tom101 »

majestiq wrote: Fri Dec 16, 2022 11:47 pm I'm trying to export a set of joborders from Bullhorn. I'm using the search api and paging through it to export the contents. I'm able to get 25 records at a time.

Is there a large count / pagesize that I can enter into this API? Is there a better way to do this export?

I'm sorry if this question has been asked before. However, the search feature on this forum doesn't seem t work.

Thanks in advance.
Use pagination effectively:

To export all job orders, you'll need to make multiple API calls and handle the pagination.
Keep track of the total number of job orders and the current page index, and make subsequent API calls to retrieve all the data.
You can use the start parameter to specify the starting index for the next page of results.
realalexvdvalk
User
Posts: 18
Joined: Thu Aug 31, 2023 4:15 am

Re: max page size on search?

Post by realalexvdvalk »

/search/JobOrder?query=id:[* TO *]&fields=id&count=500&sort=-id&start=0

Make sure you use a sort and include the id field so you can dedupe if required.
EssaMattou
User
Posts: 1
Joined: Sun Jun 16, 2024 10:42 pm

Re: max page size on search?

Post by EssaMattou »

realalexvdvalk wrote: Mon Jun 10, 2024 9:57 am /search/JobOrder?query=id:[* TO *]&fields=id&count=500&sort=-id&start=0

Make sure you use a sort and include the id field so you can dedupe if required.
What is it specifically?
Last edited by EssaMattou on Thu Jul 04, 2024 10:08 pm, edited 3 times in total.
realalexvdvalk
User
Posts: 18
Joined: Thu Aug 31, 2023 4:15 am

Re: max page size on search?

Post by realalexvdvalk »

500 is the limit. If you start requesting more fields, it may drop to 200, but you will get a warning message in the response..

Try doing a request with count=5000 and you will see the warning message.
Michael34
User
Posts: 1
Joined: Wed Aug 14, 2024 4:32 am

Re: max page size on search?

Post by Michael34 »

majestiq wrote: Fri Dec 16, 2022 11:47 pm I'm trying to export a set of joborders from Bullhorn. I'm using the search api and paging through it to export the contents. I'm able to get 25 records at a time.

Is there a large count / pagesize that I can enter into this API? Is there a better way to do this exportpapa louie?

I'm sorry if this question has been asked before. However, the search feature on this forum doesn't seem t work.

Thanks in advance.
When using the Bullhorn Search API, the default page size is typically set to 25 records per request. However, you can adjust the count parameter in your API request to retrieve up to 100 records at a time, depending on the specific API limits.
Post Reply