I am using the Rest API to update a jobOper record by sending a PATCH http call to
https://SERVER/APP/api/v2/odata/Company/Erp.BO.JobEntrySvc/JobOpers(‘company’,‘110572’,0,5).
My reading of the swagger help is that this should return a 204 response if successful.
However I am getting a 200 response instead.
If my understanding here is correct and the doc/swagger spec is incorrect, whats the best way to notify Epicor? Support ticket?
Note:
- Doing the same calls in postman shows the same results (returns status 200)
- I am creating a c# client for the rest api using NSwagStudio which generates code to throw an exception if the response is not 204. I can manually correct the generated code now but next time I will forget and that will cause issues
Cheers
Brett