Newer Version Available
Search for a String
Use the Search resource to execute a SOSL search or use
the Parameterized Search resource to execute a simple RESTful search without
SOSL.
Example SOSL Search Using the GET Method
The following example executes a SOSL search for Acme. The search string in this example must be URL-encoded.
- Example usage
-
- Example request body
- None required
- Example response body
-
Example Parameterized Search Using the GET Method
The following example
executes a parameterized search for Acme. The
search string in this example must be URL-encoded.
- Example usages
- Global search for all results containing Acme
-
- Account search for results containing Acme, returning the id and name fields
-
- Example request body
- None required
- Example response body
-
- Example response body with metadata parameter
-
Example Parameterized Search Using the POST Method
Execute a
parameterized search using the POST method to access all search features available.
- Example usage
-
- Example request body
- None required
- Example JSON file
-
- Example response body
-