get https://sandbox.legislate.tech/v1/contracts/
This operation will retrieve details about a given contract.
This endpoint can be used to retrieve details about a Contract based on a contract ID. The endpoint will return the following properties of the contract:
Property | Format | Purpose |
---|---|---|
created | Date | When the contract was created |
purchased | Date | When the contract was purchased |
Fields | Json | The terms of the contract stored as name/value pairs in a Json |
Completed | Date or null | When the contract was completed |
Contract Fields
Only the contract fields which have values will be returned in this request. This means that terms which are not applicable (i.e. not selected) will not be displayed.
Contract Name
The contract's name is a stored as the value associated with contract_name in the Fields Json.
How to try the endpoint?
To try the endpoint, simply provide a contract ID in PATH PARAMS and click Try It now! on the right!