收藏Andy Peel 提问于 #Integration2016年3月10日 15:25"limit" query parameter doesn't work with REST APIMy resultset is restricted to 2000 records, even though I'm asking for 50. Example query URL:https://blah.my.salesforce.com/services/data/v20.0/query?q=SELECT+Name+FROM+Contact&limit=50Docs here describe limit query parameter: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_search_suggest_queries.htm?search_text=limit3 个回答排序按日期排序按最有帮助排序按日期排序加载更多评论...Andy Peel2016年3月11日 09:24The documentation says that q and limit are query parameters, so it's correct to use & to separate them.If I change it to a +, the limit becomes part of the query, which might work in SQL, but not in SOQL. I tried it and got MALFORMED_QUERY.添加评论撰写回答...粗体斜体下划线删除线项目符号列表编号列表添加链接代码块插入图像附加文件链接 URL取消保存0/9000回复
Andy Peel2016年3月11日 09:24The documentation says that q and limit are query parameters, so it's correct to use & to separate them.If I change it to a +, the limit becomes part of the query, which might work in SQL, but not in SOQL. I tried it and got MALFORMED_QUERY.