Add or update a file in a contract.
The body of the request must be content-type 'multipart/form-data' and contain the file data.
To update the contract document: Only specify the 'parentFileId' parameter. The 'folderId' and 'conflictResolution' parameters should not be used for these updates
The id of the created file
When the file was skipped due to conflict resolution setting
null
Creates a new contract, with the main contract file being sent in the body of the request
Success
{ "contractTemplateId": 1, "matterId": 321, "parentContractId": 123, "fields": "{\"field_1\":\"field 1\",\"field_2\":123,\"field_3\":[\"yes\"],\"field_4\":true}", "name": "Test Contract", "externalId": "123", "teamId": null, "contractFile": null }
null
Gets contracts filtered by single or multiple fields.
To filter by one field: "filtering.field", "filtering.operator" and "filtering.value" parameters must be filled.
To filter by multiple fields: "filtering.logic" and "filtering.filters" parameters must be filled.
Success
{ "data": [ { "restricted": false, "$id": 123, "name": "Example contract", "onContract": true } ], "total": 1 }
Returns recently viewed (ref:take) contracts for the user
Success
[ { "id": 95, "title": "My Contract", "description": "Contract ID: 95", "name": "My Contract", "matterNumber": "LV1234-0012", "contractStatus": "Draft", "ownerId": "08FD1ED1-627E-4CB9-8388-731227584D21", "lastActivityDateUtc": "2023-12-15T08:30:00.0000000+00:00" }, { "id": 789, "title": "Another Contract", "description": "Contract ID: 789", "name": "Another Contract", "matterNumber": null, "contractStatus": "Void", "ownerId": "BE17D7D6-721A-4F6D-B081-CAABB6D8F5B9", "lastActivityDateUtc": "2024-01-12T10:00:00.0000000+00:00" }, { "id": 684, "title": "Different Contract", "description": "Contract ID: 684", "name": "Different Contract", "matterNumber": null, "contractStatus": "Executed", "ownerId": "BE17D7D6-721A-4F6D-B081-CAABB6D8F5B9", "lastActivityDateUtc": "2023-12-10T03:30:00.0000000+00:00" } ]
{ "detailFields": { "schema": { "properties": { "field_1": { "fieldId": 1, "title": "An example field name", "description": "Example field description", "lawvuType": 7, "isReadOnly": false, "type": "boolean", "label": "" } }, "order": [ "field_1" ], "required": [ "field_1" ] }, "model": { "field_1": true } }, "coreFields": { "schema": null, "model": null } }
Creates a new contract, using the contract template wizard
Details of the contract to be created
Success
{- "contractTemplateId": 1,
- "matterId": 321,
- "parentContractId": 123,
- "fields": "{\"field_1\":\"field 1\",\"field_2\":123,\"field_3\":[\"yes\"],\"field_4\":true}",
- "name": "Test Contract",
- "externalId": "123",
- "teamId": null,
- "contractFile": null
}
null
{ "Parent 1": [ { "id": 1, "name": "Template 1", "hasWizard": false, "team": null, "teamRequired": false, "hasRules": false }, { "id": 2, "name": "Template 2", "hasWizard": false, "team": null, "teamRequired": false, "hasRules": false } ], "Parent 2": [ { "id": 3, "name": "Template 3", "hasWizard": false, "team": null, "teamRequired": false, "hasRules": false } ] }
Returns the users that are assigned to the contract
Success
null