Access Denied when trying to do subqueries

≡放荡痞女 提交于 2019-12-14 02:32:19

问题


I'm trying this query:

{'rest_data': '["sessionabc123xyz", "Meetings", "meetings.id IN (
SELECT mu.meeting_id FROM meetings_users mu WHERE mu.user_id = \'1\')", "",
 0, [], 5, 0]', 'input_type': 'json', 'method': 'get_entry_list', 'response
_type': 'json'}

But I'm getting this as a response, even if I'm using an administrator account:

{u'description': u'You do not have access', u'name': u'Access De
nied', u'number': 40}

How can I retrieve a list of meetings (and calls) a user is participating in?


回答1:


It seems it isn't possible with Sugar v6.4 http://developer.sugarcrm.com/2012/02/08/changes-to-web-services-api-in-sugarcrm-6-4-0/



来源:https://stackoverflow.com/questions/19780877/access-denied-when-trying-to-do-subqueries

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!