[Released]Delete api/v1.0/companies/companyID}/jobs/{ID} nor working

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
Umar
Posts: 1
Joined: Fri Aug 26, 2022 9:22 am

[Released]Delete api/v1.0/companies/companyID}/jobs/{ID} nor working

Post by Umar » Fri Aug 26, 2022 9:38 am

Dear community,

I'm trying to delete jobs using the endpoint mentioned above and the request is returning 204 no content. However the job is not going anywhere, and I could still see it on the UI and by get api/v1.0/companies/companyID}/jobs/{ID}.
The job has nothing attached to it and I'm being able to delete it from the user interface but not using api requests.

I have also tried to monitor the Job stage, thinking that it will change (e.g. to archive) but nothing happened.

NOTE: I'm currently using php Guzzle and postman to execute the request


I'm certain that the path is correct because when I open the job from the api, then try to delete from by request, the request returns with message "Job is currently locked by {USER}"
Is there a problem with the API or is the problem on my side ?
The documentation says nothing regarding this issue, in face there is almost no documentation about deleting jobs at all
Sindre
Posts: 493
Joined: Wed Apr 20, 2022 4:51 am
Location: Brisbane

Re: Delete api/v1.0/companies/companyID}/jobs/{ID} nor working

Post by Sindre » Mon Aug 29, 2022 12:43 am

Hi Umar,
Thank you for raising this. We will look into this to verify and provide a fix as soon as possible.

Regards
Sindre
API Developer | Simpro Software Group
JarradFluent
Posts: 3
Joined: Tue Jun 07, 2022 6:45 am

Re: Delete api/v1.0/companies/companyID}/jobs/{ID} nor working

Post by JarradFluent » Tue Aug 30, 2022 1:49 am

I just wanted to let you know I am seeing the exact same issue, the delete API endpoint returns a successful response but the job isn't deleted in the UI.
User avatar
alphagareth
Posts: 10
Joined: Thu May 26, 2022 6:25 am
Location: London

Re: Delete api/v1.0/companies/companyID}/jobs/{ID} nor working

Post by alphagareth » Wed Aug 31, 2022 12:35 pm

Also seeing this, if I check into the job detail it looks like the API is putting a lock on the job as it goes read only in the front end, but the delete is definitely not completing.
robbertcha
Posts: 416
Joined: Thu Apr 15, 2021 10:07 pm

Re: Delete api/v1.0/companies/companyID}/jobs/{ID} nor working

Post by robbertcha » Wed Aug 31, 2022 9:57 pm

Hi,

It is caused by recent updated, and we are currently fixing these issues, please keep an eye on API release update, thank you.

API Release Update
viewforum.php?f=3
Robbert
API Developer | simPRO Software Group
MarcSS
Posts: 6
Joined: Wed Jun 22, 2022 2:22 pm

Re: [Released]Delete api/v1.0/companies/companyID}/jobs/{ID} nor working

Post by MarcSS » Tue Sep 13, 2022 9:52 am

I am having the same issue; delete a job via the API, the call succeeds, but the job is still available in the UI, but locked so it can't be deleted through the UI either.

I noticed a post from yesterday (8th September - API Release Update (simPRO version 22.3.6)) which indicated this issue had been resolved. This does not seem to be the case.
robbertcha
Posts: 416
Joined: Thu Apr 15, 2021 10:07 pm

Re: [Released]Delete api/v1.0/companies/companyID}/jobs/{ID} nor working

Post by robbertcha » Tue Sep 13, 2022 10:15 pm

Hi MarcSS,

Do you mind to share us your build details via private message? I can check it for you, thank you
Robbert
API Developer | simPRO Software Group
Post Reply