hornet icon

hornet

Interact with hornet API

Actions452

Terms And Conditions → Tc Search Get

AI-generated

Summary

Search for Terms and Conditions for a Partner object

Inputs

  • object_id (required) — Identifier of the Partner whose Terms and Conditions are to be retrieved.
  • version — Version of the Terms and Conditions to filter by.
  • type — Type of agreement: GENERAL or PARTNER_AGREEMENT.
  • sort_column — Field to sort results by.
  • sort_order — Sort order: asc or desc.
  • page_size — Number of items per page (default 50).
  • page_number — Zero‑based page index to retrieve (default 0).
  • APP-ID (required) — Application identifier sent as a custom header for authentication.
  • requestOptions.batching.batchSize — Items per batch for throttling; -1 disables batching (default 50).
  • requestOptions.batching.batchInterval — Delay between batches in milliseconds (default 1000).
  • requestOptions.allowUnauthorizedCerts — Accept insecure SSL certificates (default false).
  • requestOptions.proxy — HTTP proxy URL, optionally with credentials (default empty).
  • requestOptions.timeout — Request timeout in milliseconds (default 10000).

Output shape

paginated array

Returns a list of Terms and Conditions objects that match the supplied filters, sorted and paginated according to the request parameters. Each object includes the version, language, creation date, and any other metadata exposed by the hornet API.

Examples

Example 1: Retrieve the latest general terms for partner 12345

Set object_id to 12345, type to GENERAL, leave version empty, use default sorting and pagination.

Links

Discussion