Good morning,
As of this morning, I am getting an error when retrieving details about a contractor jobs. "Cost center was not found in section , job ". Can I please get some assistance?
Example:
First Call:
https://aehoskinssons.simprosuite.com/a ... actorJobs/
Second Call:
https://aehoskinssons.simprosuite.com/a ... rJobs/1857
Contractor Jobs - Cost Center Not Found
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.
-
Carl Hansen
- Posts: 17
- Joined: Wed Feb 01, 2023 11:57 pm
Re: Contractor Jobs - Cost Center Not Found
Hi Carl,
Thank you for reporting this. We will investigate what is happening and update.
To get individual contractor jobs you can also temporarily use the top level endpoint if you have the contractor job ID.
You can also display individual contractor jobs on the nested endpoint by including the columns you wish to display as a temporary work around.
Regards
Thank you for reporting this. We will investigate what is happening and update.
To get individual contractor jobs you can also temporarily use the top level endpoint if you have the contractor job ID.
Code: Select all
/api/v1.0/companies/{companyID}/contractorJobs/{contractorJobID}Regards
Sindre
API Developer | Simpro Software Group
API Developer | Simpro Software Group
-
Carl Hansen
- Posts: 17
- Joined: Wed Feb 01, 2023 11:57 pm
Re: Contractor Jobs - Cost Center Not Found
Thank you Sindre, the alternate endpoint provided is working fine and meets my needs.
Kind Regards,
Kind Regards,
DEVELOPER CENTER