SuiteCRM API V8通过电话搜索

问题描述

我正在尝试通过Suite API将SuiteCRM连接到3CX。

所以我要做的第一件事就是通过电话号码搜索帐户

add(_:)

测试一下,系统给出了

https://URL/suitecrm/Api/V8/module/Contacts?fields[Contacts]=id&filter[operator]=or&filter[phone_home][eq]=XXXXXXXXX&filter[phone_mobile][eq]=XXXXXXXXX&filter[phone_work][eq]=XXXXXXXXX&filter[phone_other][eq]=XXXXXXXXX

我在suitecrm.log中

"errors": {
   "status": 400,"title": null,"detail": "Database failure. Please refer to suitecrm.log for details."
    }
}Database failure. Please refer to suitecrm.log for details.

如果我在没有Mon Oct 12 20:57:37 2020 [][][FATAL] MysqLi_query Failed. Mon Oct 12 20:57:37 2020 [][][FATAL] Error retrieving Contact list: Query Failed: SELECT contacts.id,contacts.assigned_user_id FROM contacts LEFT JOIN contacts_cstm ON contacts.id = contacts_cstm.id_c where (contacts.phone_home = 'XXXXXXXXX' OR contacts.phone_mobile = 'XXXXXXXXX' OR contacts.phone_work = 'XXXXXXXXX' OR contacts.phone_other = 'XXXXXXXXX' OR contacts.deleted = '0') AND contacts.deleted=0 LIMIT 0,-98: MysqL error 1064: You have an error in your sql Syntax; check the manual that corresponds to your MysqL server version for the right Syntax to use near '-98' at line 1 MysqL中运行查询,则一切正常(没有result.s..limit = 0,但没有错误)。 我认为错误是在查询98的末尾:但是我不知道是什么原因! 有人遇到同样的问题吗? 谢谢

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...