Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Project Legal Support Relation Api → Post Api Contractors Projects Project Legal Support Search

AI-generated

Summary

Searches for legal support relations within a specified project on the Contractors.es API, supporting pagination, filtering trashed items, and request batching.

Inputs

  • project (required) — The ID of the project to search within.
  • with_trashed — Include trashed legal support relations in the results. Defaults to false.
  • only_trashed — Filter results to show only trashed legal support relations. Defaults to false.
  • page — The page number for pagination. Defaults to 1.
  • limit — The number of items per page. Defaults to 20.
  • requestOptions — Additional request configuration including batching intervals, timeouts, proxies, and SSL settings.

Output shape

A list of items, each containing a legal support relation object.

Pagination is handled automatically via the 'page' and 'limit' parameters; 'with_trashed' and 'only_trashed' filters are applied server-side.

Examples

Example 1: Search for active legal support relations in Project ID 123 with a limit of 50 items.

project: 123, limit: 50, with_trashed: false

Example 2: Retrieve only trashed legal support relations for Project ID 456.

project: 456, only_trashed: true

Example 3: Search with a timeout override and batching enabled.

requestOptions.timeout: 20000, requestOptions.batching.batchSize: 25

Links

Discussion