This route will search for individual records that match the given query. If you want to summarise records, use the report endpoint instead.
Returns a paginated array of records that match the given search criteria. You need the information from getSearchSetup to construct a search request accurately, so ensure you have it before calling this route. getSearchSetup results are stable for the duration of a session (they only change when a new product release ships), so fetch it once and reuse it for subsequent searches rather than re-fetching before every call.
Request
- Base URL: https://api.streamtime.net/v2
- URL: https://api.streamtime.net/v2/search
- Auth: HTTP bearer
Query parameters
Which search context is being referred to.
What do you want to search for?
Request body
Example request
{
"limit": 30,
"query": "job_status = 'In Play' AND job_start_date >= '2023-01-01' AND job_start_date <= '2023-12-31' AND (job_total_planned_time_ex_tax > 0 or job_name contains 'account management')",
"sortColumn": "job_name",
"sortAscending": true,
"additionalData": [
"company",
"contact"
]
}Response
A paginated array of records matching the search criteria. The shape of each record depends on the search_view you queried (for example a jobs search returns job records, a companies search returns company records). The available fields for a given view are the same selectors returned by getSearchSetup for that view, plus any additionalData objects you requested.
Changes
No recorded changes to this operation across all 1 revision of this API.