私は下の活性機会からすべての連絡先を取得しようとしていますが、SugarCRM社のAPI V4の私の要求である40番を否定した私のクエリは、SugarCRMのデータベースが、APIでのMySQLのワークベンチでは正常に動作しているSugarCRMのアクセスが
{
"session":"btcskfetq7sqshio3uv568d8c1",
"module_name":"Contacts",
"query":"contacts.id IN (
SELECT opportunities_contacts.contact_id
FROM opportunities_contacts
JOIN opportunities
ON opportunities_contacts.opportunity_id = opportunities.id
WHERE opportunities.sales_stage
NOT IN ('Closed Won','Closed Lost'))",
"order_by":"",
"offset":0,
"select_fields":[
"first_name",
"last_name",
"title",
"phone_home",
"phone_work",
"status",
"email"
],
"link_name_to_fields_array":null,
"max_results":0,
"deleted":0,
"favorites":false
}
応答は次のとおりです。
{"name":"Access Denied","number":40,"description":"You do not have access"}
あなたは助けることはできますか?
認証の問題のように見えます。より簡単なリクエストは機能しますか?私はあなたがそれをしていない場合はMD5でパスワードをハッシュする必要があると思う。 – MartinTawse
MD5を使用してパスワードのハッシュを行った – Jagan