Fetch a single contract by its ID
GET/contracts/:id
Returns a single Contract identified by its server-assigned id.
When to use: Use this endpoint when you already hold a specific contract id (returned by a prior create, replace, or list call) and need the full record. To search or page through all contracts for a tenant, use GET /contracts instead.
Preconditions: Requires the READ_CONTRACT permission. The tenant-id header must identify the tenant the contract belongs to. The {id} path parameter is the server-assigned id field (a distinct value from documentId, which is a caller-supplied identifier).
Response: Returns the full Contract object, including its generalInfo, lifecycle, financial, administrativeAndLegal, and clinicalAndQuality sections. This operation is safe and idempotent; it makes no changes.
Request
Responses
- 200
- 401
- 403
- 404
The Contract identified by id, with all composite sections populated as stored.
Unauthorized - Authentication required
Forbidden - Insufficient permissions
No contract exists with the given id for the tenant identified by the tenant-id header. Verify the id is correct and that it belongs to the calling tenant.