【问题标题】:SugerCRM web service responce returns null in iOSSugarCRM Web 服务响应在 iOS 中返回 null
【发布时间】:2015-01-27 11:12:13
【问题描述】:

当我调用 get_entry_list 方法时,我的 SugerCRM 应用服务调用返回 null,我的 json 请求是这样的

{
    "input_type" = JSON;
    method = "get_entry_list";
    "response_type" = JSON;
    "rest_data" = "{\n  \"deleted\" : 0,\n  \"session\" : \"a5rk9ej583533cggigrke3u186\",\n  \"link_name_to_fields_array\" : [\n\n  ],\n  \"order_by\" : \"\",\n  \"query\" : \"\",\n  \"offset\" : 0,\n  \"module_name\" : \"Accounts\",\n  \"max_results\" : 2,\n  \"select_fields\" : [\n\n  ]\n}";
} 

如果有任何错误,请告诉我。 谢谢。

【问题讨论】:

    标签: ios web-services sugarcrm


    【解决方案1】:

    我没有转义双引号就成功了。 您可以尝试围绕 rest_data 进行简单引用,例如:

    "rest_data" = '{\n  "deleted" ...
    

    我已经使用模块登录对其进行了测试。 问候

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-11-07
      • 1970-01-01
      • 2013-01-03
      • 2014-01-11
      相关资源
      最近更新 更多