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
[Released]Delete api/v1.0/companies/companyID}/jobs/{ID} nor working
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.
Re: Delete api/v1.0/companies/companyID}/jobs/{ID} nor working
Hi Umar,
Thank you for raising this. We will look into this to verify and provide a fix as soon as possible.
Regards
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
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
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.
- alphagareth
- Posts: 10
- Joined: Thu May 26, 2022 6:25 am
- Location: London
Re: Delete api/v1.0/companies/companyID}/jobs/{ID} nor working
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
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
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
API Developer | simPRO Software Group
Re: [Released]Delete api/v1.0/companies/companyID}/jobs/{ID} nor working
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.
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
Hi MarcSS,
Do you mind to share us your build details via private message? I can check it for you, thank you
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
API Developer | simPRO Software Group
DEVELOPER CENTER