Page 1 of 1

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

Posted: Fri Aug 26, 2022 9:38 am
by Umar
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

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

Posted: Mon Aug 29, 2022 12:43 am
by Sindre
Hi Umar,
Thank you for raising this. We will look into this to verify and provide a fix as soon as possible.

Regards

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

Posted: Tue Aug 30, 2022 1:49 am
by JarradFluent
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.

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

Posted: Wed Aug 31, 2022 12:35 pm
by alphagareth
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.

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

Posted: Wed Aug 31, 2022 9:57 pm
by robbertcha
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

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

Posted: Tue Sep 13, 2022 9:52 am
by MarcSS
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.

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

Posted: Tue Sep 13, 2022 10:15 pm
by robbertcha
Hi MarcSS,

Do you mind to share us your build details via private message? I can check it for you, thank you