Hi Rohan J Khandave,
We get account did into header ,we try to validate those header value when validation fails , returns bad request. If you still want to return Not Found (404). We can take this change. But this change will get applicable for all DMS API's.
Validation means user data input validation: if data is missing, empty, null, zero, not parseable, etc. -> return 400.
If the data format is valid but when looking up into your database, there's no match -> return 404.
This behavior should be indeed enforce on all API endpoints. There is very strong difference between "invalid input" and "missing requested resource".
DMS has validation , company name must be unique for active companies, system validate company names among all active companies. So when some one try to activate company system validate any other active company has same name or not.
This is a weird logic but why not. That case should return 409 and then we will ignore on our side meaning the company has been already deactivated.
Thanks for your patience!
Hello,
Has this card been fixed already? Because I'm getting 404 now when a system seems to not exist. Could you confirm?
Thanks!