<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thanks Alan,  checking if I’m missing the mandatory fields<br class=""><div class=""><div class=""><br class=""></div><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>Best Regards,<br class=""><b class="">Sukhdev Mohan</b> | <b class="">Software Developer</b></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">Il giorno 9 dic 2020, alle ore 11:02, Alan Lord <<a href="mailto:alanslists@gmail.com" class="">alanslists@gmail.com</a>> ha scritto:</div><br class="Apple-interchange-newline"><div class=""><div class="">It would help to see some code. But a couple of suggestions (I don't recall having issues using vtws_revise or vtws_update on any particular module).<br class=""><br class="">The data payload for vtws_update() *must* contain data for all mandatory fields - even if they do not change. vtws_revise() permits update to just a single field, or more, without having to ensure all mandatory fields are in the payload.<br class=""><br class=""><br class="">Make sure you have the right wsid for the Accounts module.<br class=""><br class="">HTH<br class=""><br class="">Al<br class=""><br class=""><br class="">On 09/12/2020 09:54, Sukhdev Mohan wrote:<br class=""><blockquote type="cite" class="">Hi all,<br class="">As per title, I’m trying to release an API to a client which abstracts some logic, basically they’ll use it to update an entity and the API will will get the correct element from the db and call the vtws_update().<br class="">I’ve tried it out with contacts and when testing Org it continues to give me ACCESSDENIED for id. After some debugging/reverse engineering I narrowed it to VtigerCRMObjectMeta.php::computeAccess()<br class="">I’m using webservice user with profile webservice, which has write, update,create,delete access same as contacts. In shared access Org is public, if this may help.<br class="">Can you help?<br class="">Best Regards,<br class="">*Sukhdev Mohan* | *Software Developer*<br class="">_______________________________________________<br class=""><a href="http://www.vtiger.com/" class="">http://www.vtiger.com/</a><br class=""></blockquote>_______________________________________________<br class=""><a href="http://www.vtiger.com/" class="">http://www.vtiger.com/</a></div></div></blockquote></div><br class=""></div></body></html>