Skip to contents

Searches for cases within their associated Cases domain. Search results are returned as a paginated list of abridged case documents.

See https://www.paws-r-sdk.com/docs/connectcases_search_cases/ for full documentation.

Usage

connectcases_search_cases(
  domainId,
  maxResults = NULL,
  nextToken = NULL,
  searchTerm = NULL,
  filter = NULL,
  sorts = NULL,
  fields = NULL
)

Arguments

domainId

[required] The unique identifier of the Cases domain.

maxResults

The maximum number of cases to return. When no value is provided, 25 is the default.

nextToken

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

searchTerm

A word or phrase used to perform a quick search.

filter

A list of filter objects.

sorts

A list of sorts where each sort specifies a field and their sort order to be applied to the results.

fields

The list of field identifiers to be returned as part of the response.