search
Url
/V2.0/services/data/search
HTTP Method
GET
Description
Performs a text search in a specific entity type or in all entity types 
Parameters
Name Type Description
typeName* string (Optional) The Entity Type to search. If omitted, search on all types
q string The search query to perform
fields string[] The list of fields to return. Only valid when specifying a TypeName. When searching in all types the fields returned are fixed
paging paging paging setting for the query
Result
An object containing the results from a query
Name Type Description
entities entity[] Array of entities returned from this query
paging paging Paging information returned from this query. If paging.hasMore is true, this object should be passed as is, to the same query API in order to retrieve the next page
In case of failure an error object will be returned
* indicates required fields