Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.6.0
-
None
-
Unknown
Description
Starting with salesforce API v37 (from Summer '16 release. Current is v50), the response to SOSL searches changed. We should support both versions.
From salesforce docs:
New searchRecords wrapper in response body A new searchRecords tag surrounds the content in responses. For example:
{ "searchRecords" : [ { "attributes" : { "type" : "Contact", "url" : "/services/data/v36.0/sobjects/Contact/003xx000004TraiAAC" }, "Id" : "003xx000004TraiAAC", "FirstName" : "Smith", "LastName" : "Johnson" }, { "attributes" : { "type" : "Account", "url" : "/services/data/v36.0/sobjects/Account/001xx000003DHXnAAO" }, "Id" : "001xx000003DHXnAAO", "NumberOfEmployees" : 100 } ] }
Attachments
Issue Links
- links to