Hi,
I'm wondering if there is a way to retrieve schedules for multiple jobs with a single API call?
I'm trying the in() operator on the Reference field, which returns a blank array.
e.g. /api/v1.0/companies/0/schedules/?Type=job&Reference=in(1234-4568,1111-2222).
Are there other options to try retrieve schedules for multiple jobs without multiple API calls?
I know I can do:
/api/v1.0/companies/0/schedules/?Type=job&Reference=1234-4568
/api/v1.0/companies/0/schedules/?Type=job&Reference=1111-2222
However, there can be at times, a large number of jobs.
Thanks.
Retrieve a list of schedules for multiple jobs
Forum rules
- Check the documentation first. Before posting questions, please check the documentation to ensure it doesn't already cover what you need.
- No spam. All automated messages, advertisements, and links to competitor websites will be deleted immediately.
- Post in relevant sub-forums only. Messages posted in the wrong topic area will be removed and placed in the correct sub-forum by moderators.
- Respect other users. No flaming or abusing fellow forum members. Users who continue to post inflammatory, abusive comments will be deleted from the forum after two warnings are issued by moderators.
- Harassment. No threats or harassment of other users will be tolerated. Any instance of threatening or harassing behavior is grounds for deletion from the forums.
- Adult content. No profanity or pornography is allowed. Posts containing adult material will be deleted.
- Bandwidth. All images and signatures must be 500 x 500 pixels or smaller. Posts containing over-sized images and signatures will be removed.
- Illegal content. No re-posting of copyrighted materials or other illegal content is allowed. Any posts containing illegal content or copyrighted materials will be deleted.
-
SimproAPITeam
- Posts: 831
- Joined: Wed May 01, 2024 2:31 am
Re: Retrieve a list of schedules for multiple jobs
Hi there,
Unfortunately the reference field for schedules is not supported for the in query parameter. I would suggest using an alternative such as the ID of the schedule. If you would like to request this as a potential feature request, you can do so here - https://helpguide.simprogroup.com/Conte ... portal.htm
Thanks,
Unfortunately the reference field for schedules is not supported for the in query parameter. I would suggest using an alternative such as the ID of the schedule. If you would like to request this as a potential feature request, you can do so here - https://helpguide.simprogroup.com/Conte ... portal.htm
Thanks,
Simpro API Team | Simpro Software Group
Re: Retrieve a list of schedules for multiple jobs
It would be very handy to query the schedules object with IN and the IDs. How does one obtain the schedule IDs on the quote or quote cost centre in order to plumb them through to the schedule? Alternatively, can the reference field be changed on schedules to support the IN parameter? It seems like this is a well requested API call that is currently lacking.SimproAPITeam wrote: ↑Mon Nov 03, 2025 1:25 am Hi there,
Unfortunately the reference field for schedules is not supported for the in query parameter. I would suggest using an alternative such as the ID of the schedule. If you would like to request this as a potential feature request, you can do so here - https://helpguide.simprogroup.com/Conte ... portal.htm
Thanks,
-
SimproAPITeam
- Posts: 831
- Joined: Wed May 01, 2024 2:31 am
Re: Retrieve a list of schedules for multiple jobs
Hi there,
If you want to retrieve scheduleIDs on a quote or job cost center, you can use the following endpoints:
/api/v1.0/companies/{companyID}/quotes/{quoteID}/sections/{sectionID}/costCenters/{costCenterID}/schedules/
/api/v1.0/companies/{companyID}/jobs/{jobID}/sections/{sectionID}/costCenters/{costCenterID}/schedules/
I will highlight your request to our product manager, as I do recognise the value in having the reference field supported by the IN parameter and appreciate you bringing this to our attention.
Thanks,
If you want to retrieve scheduleIDs on a quote or job cost center, you can use the following endpoints:
/api/v1.0/companies/{companyID}/quotes/{quoteID}/sections/{sectionID}/costCenters/{costCenterID}/schedules/
/api/v1.0/companies/{companyID}/jobs/{jobID}/sections/{sectionID}/costCenters/{costCenterID}/schedules/
I will highlight your request to our product manager, as I do recognise the value in having the reference field supported by the IN parameter and appreciate you bringing this to our attention.
Thanks,
Simpro API Team | Simpro Software Group
DEVELOPER CENTER