Search Job Linked Variations

Posts about the simPRO API. Help/support/how-to etc.
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.
Post Reply
iconone
Posts: 50
Joined: Sun Jun 21, 2020 11:22 pm

Search Job Linked Variations

Post by iconone » Thu Aug 24, 2023 7:49 am

Hi,

Is it possible to search for a job that created / triggered the linked variation?

I have a webhook that listens to new jobs.

What I would like to do is when IsVariation=true, find the job that created the variation.

e.g. GET /api/v1.0/companies/{companyID}/jobs/?LinkedVariations.ID=xxxx

Since LinkedVariations does not allow search requests, is there another way around this?


Thanks.
Last edited by iconone on Thu Aug 24, 2023 8:31 am, edited 1 time in total.
iconone
Posts: 50
Joined: Sun Jun 21, 2020 11:22 pm

Re: Search Job Linked Variations

Post by iconone » Thu Aug 24, 2023 8:30 am

I've managed a workaround via

GET /api/v1.0/companies/{companyID}/jobs/?orderby=-DateModified&columns=ID,Name,LinkedVariations
sunnytang
Posts: 7
Joined: Thu Apr 16, 2026 3:31 am

Re: Search Job Linked Variations

Post by sunnytang » Fri Jul 31, 2026 5:35 am

Hi,

Has anyone got ideas on to make this search more efficient? As the LinkedVariations column still doesn't allow for search requests, I essentially have to go through all our jobs (which takes a while) to build a mapping between the jobs which have a isVariation value of true and finding the corresponding entry in LinkedVariations. This seems horribly inefficient...
SimproAPITeam
Posts: 831
Joined: Wed May 01, 2024 2:31 am

Re: Search Job Linked Variations

Post by SimproAPITeam » Thu Aug 06, 2026 11:07 pm

Hi,

Thanks for flagging this — you're right that LinkedVariations currently doesn't support filtering, so the only option today is to pull job records and build the mapping yourself, as outlined earlier in this thread. There isn't a more efficient built-in way to do this right now.

Being able to filter jobs by LinkedVariations.ID (or otherwise query the variation relationship directly) sounds like a reasonable improvement to the API. I'd recommend submitting this as a feature request through our product portal so it can be properly tracked and voted on by other users:

https://helpguide.simprogroup.com/artic ... uct-portal

Regards
Simpro API Team | Simpro Software Group
Post Reply