SOAP API

SOAP API includes new and changed calls.

New and Changed Calls

New Calls

findDuplicatesByIds()
Performs rule-based searches for duplicate records. The input is an array of IDs, each of which specifies the records for which to search for duplicates. The output identifies the detected duplicates for each object that supplies the duplicate rules. findDuplicatesByIds() applies the rules to the record IDs to do the search. The output identifies the detected duplicates for each ID.
changeOwnPassword()
Allows users to change their own passwords. The call setPassword() can no longer be used to allow users to change their own passwords.

Changed Calls

convertLead()
The opportunityId argument is now available to let you specify an existing opportunity to relate to a lead during lead conversion.
describeSObjects()
The url field of the ActionOverride subtype under describeSObjects() and DescribeSObjectResult is now nillable. The url field returns null for Lightning page overrides.
The polymorphicForeignKey field had been added. This field indicates whether the foreign key includes multiple entity types (true) or not (false).
The searchPrefilterable field of the fields property now indicates whether a foreign key can be included in prefiltering when used in a SOSL WHERE clause. Prefiltering filters by a specific field value before executing a full search query.
getUserInfo() and getUserInfoResult
The chatterExternal field was added to getUserInfoResult. This field indicates whether a user is internal or external to an org.
search()
The searchRecordMetadata element appears in the SearchResult object when spell correction is performed on a search term. The element contains the boolean spellCorrected, which appears in the response only when true and indicates that a record matches a spell-corrected search term.
search()
The spellCorrectionMetadata element appears in the SearchResult object when spell correction is performed on a search term. The element contains the corrected term and the boolean hasNonCorrectedResults which, when true, indicates that the uncorrected search term returns at least one result.
setPassword()
The call setPassword() can no longer be used to allow users to change their own passwords. Use changeOwnPassword() instead.