McMain icon

McMain

Interact with McMain API

Contract → Get Details

AI-generated

Summary

Retrieve contract details

Inputs

  • id (required) — Contract identifier
  • batchSize — Number of items per batch for throttling; -1 to disable
  • batchInterval — Delay in ms between batches; 0 to disable
  • allowUnauthorizedCerts — Accept response even if SSL certificate validation fails
  • proxy — HTTP proxy URL, optionally with authentication credentials
  • timeout — Request timeout in milliseconds

Output shape

a contract record

Fields returned by the Get Details endpoint; may include additional metadata

Examples

Example 1: Fetch details for a specific contract

Contract ID: 12345; all other options left at default

Example 2: Process a contract with batching enabled

Contract ID: 67890; Batching enabled with batchSize 50

Example 3: Call with custom proxy and extended timeout

Contract ID: ABC; Proxy: http://proxy.example.com; Timeout: 30000

Discussion