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.
max page size on search?
Moderators: StaffingSupport, pmularski, BullhornSupport
-
- User
- Posts: 1
- Joined: Fri Dec 29, 2023 2:39 am
Re: max page size on search?
Himajestiq 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.
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.
Re: max page size on search?
Use pagination effectively: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.
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.
-
- User
- Posts: 18
- Joined: Thu Aug 31, 2023 4:15 am
Re: max page size on search?
/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.
Make sure you use a sort and include the id field so you can dedupe if required.
-
- User
- Posts: 1
- Joined: Sun Jun 16, 2024 10:42 pm
Re: max page size on search?
What is it specifically?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.
Last edited by EssaMattou on Thu Jul 04, 2024 10:08 pm, edited 3 times in total.
-
- User
- Posts: 18
- Joined: Thu Aug 31, 2023 4:15 am
Re: max page size on search?
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.
Try doing a request with count=5000 and you will see the warning message.
Re: max page size on search?
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.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.