Skip to contents

Searches for related items across all cases within a domain. This is a global search operation that returns related items from multiple cases, unlike the case-specific search_related_items API.

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

Usage

connectcases_search_all_related_items(
  domainId,
  maxResults = NULL,
  nextToken = NULL,
  filters = NULL,
  sorts = NULL
)

Arguments

domainId

[required] The unique identifier of the Cases domain.

maxResults

The maximum number of results to return per page.

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.

filters

The list of types of related items and their parameters to use for filtering. The filters work as an OR condition: caller gets back related items that match any of the specified filter types.

sorts

A structured set of sort terms to specify the order in which related items should be returned. Supports sorting by association time or case ID. The sorts work in the order specified: first sort term takes precedence over subsequent terms.