PATCH /api/v1.0/companies/{companyID}/jobs/{jobID}/sections/{sectionID}/costCenters/{costCenterID} ItemsLocked

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

PATCH /api/v1.0/companies/{companyID}/jobs/{jobID}/sections/{sectionID}/costCenters/{costCenterID} ItemsLocked

Post by iconone » Thu Oct 28, 2021 12:27 am

Hi,

Is ItemsLocked = true available on PATCH /api/v1.0/companies/{companyID}/jobs/{jobID}/sections/{sectionID}/costCenters/{costCenterID}?

It's in the documentation as a body field but when I execute it, I can't lock the cost centre items.

https://developer.simprogroup.com/apido ... 9380c5c95c


Thanks.
Dinesh
Posts: 6
Joined: Mon Jul 26, 2021 3:14 am

Re: PATCH /api/v1.0/companies/{companyID}/jobs/{jobID}/sections/{sectionID}/costCenters/{costCenterID} ItemsLocked

Post by Dinesh » Thu Oct 28, 2021 1:36 am

Hi,

The ItemsLocked is a read-only field in the cost center endpoint.
We will be updating the documentation for that.
The task hasn't been prioritized yet.

Thank you
jmc2408
Posts: 100
Joined: Thu Jul 09, 2020 3:41 pm
Location: Glasgow, Scotland
Contact:

Re: PATCH /api/v1.0/companies/{companyID}/jobs/{jobID}/sections/{sectionID}/costCenters/{costCenterID} ItemsLocked

Post by jmc2408 » Thu Oct 27, 2022 4:07 pm

Hi,

This is still showing as a PATCH field.

Tried to use it today and it done nothing.

Thanks
John
robbertcha
Posts: 416
Joined: Thu Apr 15, 2021 10:07 pm

Re: PATCH /api/v1.0/companies/{companyID}/jobs/{jobID}/sections/{sectionID}/costCenters/{costCenterID} ItemsLocked

Post by robbertcha » Thu Oct 27, 2022 10:33 pm

Hi,

It is in our to-do list, but we are gonna to make the lock feature workable like how it works in simPRO UI, we will send you an update when it has been implemented, please keep an eye on API release update, thank you.

API release update
viewforum.php?f=3
Robbert
API Developer | simPRO Software Group
mattkitchin
Posts: 6
Joined: Wed Jan 25, 2023 6:28 am

Re: PATCH /api/v1.0/companies/{companyID}/jobs/{jobID}/sections/{sectionID}/costCenters/{costCenterID} ItemsLocked

Post by mattkitchin » Mon Jan 30, 2023 8:48 am

Hi

Has this been implemented?

i have been trying to lock a quote before i send the labour over but sending "ItemsLocked": true dosent seem to change anything
Sindre
Posts: 493
Joined: Wed Apr 20, 2022 4:51 am
Location: Brisbane

Re: PATCH /api/v1.0/companies/{companyID}/jobs/{jobID}/sections/{sectionID}/costCenters/{costCenterID} ItemsLocked

Post by Sindre » Tue Jan 31, 2023 12:07 am

Hi mattkitchin, Thanks for the follow up.

We have done investigations on this issue but it has not been developed yet and is in our development queue.

With the many options in simPRO today for locking a cost centre by items, by estimates and revised means the API needs to handle the different scenarios in a different way than the existing endpoint your refer to.

The endpoint is working fine when using GET to see the current status of Items Locked but using PATCH will require more information from the user to avoid errors.

Please keep following our updates for more.

Regards
Sindre
API Developer | Simpro Software Group
Post Reply