[ 
https://issues.apache.org/jira/browse/CAMEL-15866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-15866:
--------------------------------
    Issue Type: Improvement  (was: Bug)

> camel-salesforce: Support new SOSL search result
> ------------------------------------------------
>
>                 Key: CAMEL-15866
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15866
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-salesforce
>    Affects Versions: 3.6.0
>            Reporter: Jeremy Ross
>            Priority: Major
>             Fix For: 3.7.0
>
>
> 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|https://releasenotes.docs.salesforce.com/en-us/summer16/release-notes/rn_api_rest.htm#rn_api_rest]:
> {noformat}
> New searchRecords wrapper in response body
> A new searchRecords tag surrounds the content in responses. For example:
> {noformat}
> {code:json}
> {
>   "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
>   } ]
> }
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to