Apis for contract resources
LawVu Contracts (1.0)
Download OpenAPI description
Languages
Servers
Sandbox API
https://api-sandbox.lawvu.com/contract-apis/
Production API
https://api.lawvu.com/contract-apis/
Bodymultipart/form-data
Optionally set an ID from an external system. Uniqueness is enforced for your organisation
Assigns a team to the contract. This can be required [ref: contractTemplate: TeamRequired]
- Sandbox APIhttps://api-sandbox.lawvu.com/contract-apis/v1/contracts
- Production APIhttps://api.lawvu.com/contract-apis/v1/contracts
- Payload
- JavaScript
- Node.js
- C#
- Python
multipart/form-data
{
"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
}Query
Gets or sets the filtering logic for filters. Value by default is 'and'
Enum"and""or"
Array of filters object (optional)
Object Properties:
- Field: field to filter by
- Operator: operator used to filter by
- Value: value to filter by
Operator used for filtering (optional)
Enum"eq""neq""lt""lte""gt""gte""startswith""endswith""contains""doesnotcon"
Controls the scope of contracts returned by this operation
Default: Personal
Options:
- All - Returns all contracts regardless of whether the authenticated user is a member. Requires the authenticated user to be a member of the Contract Administrators security group
- Personal - Returns contracts which the authenticated user is a member of. Equivalent to the "My contracts" view in LawVu
- Teams - Returns all contracts that are accessible by teams that the authenticated user is a member of
- Restricted - Returns restricted contracts. Requires the authenticated user to be an Organization Administrator
Default "Personal"
Enum"All""Personal""Teams""Restricted"
- Sandbox APIhttps://api-sandbox.lawvu.com/contract-apis/v1/contracts
- Production APIhttps://api.lawvu.com/contract-apis/v1/contracts
- Payload
- JavaScript
- Node.js
- C#
- Python
No request payloadResponse
{
"data": [
{
"restricted": false,
"$id": 123,
"name": "Example contract",
"onContract": true
}
],
"total": 1
}- Sandbox APIhttps://api-sandbox.lawvu.com/contract-apis/v1/contracts/quickfind
- Production APIhttps://api.lawvu.com/contract-apis/v1/contracts/quickfind
- Payload
- JavaScript
- Node.js
- C#
- Python
No request payloadResponse
No response example- Sandbox APIhttps://api-sandbox.lawvu.com/contract-apis/v1/contracts/recent
- Production APIhttps://api.lawvu.com/contract-apis/v1/contracts/recent
- Payload
- JavaScript
- Node.js
- C#
- Python
No request payloadResponse
[
{
"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-15T20:30:00Z"
},
{
"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:00Z"
},
{
"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-10T15:30:00Z"
}
]- Sandbox APIhttps://api-sandbox.lawvu.com/contract-apis/v1/contracts/entities
- Production APIhttps://api.lawvu.com/contract-apis/v1/contracts/entities
- Payload
- JavaScript
- Node.js
- C#
- Python
No request payloadResponse
[
{
"id": 1,
"name": "Entity 1"
},
{
"id": 2,
"name": "Entity 2"
}
]- Sandbox APIhttps://api-sandbox.lawvu.com/contract-apis/v1/contracts/externalid/{externalId}
- Production APIhttps://api.lawvu.com/contract-apis/v1/contracts/externalid/{externalId}
- Payload
- JavaScript
- Node.js
- C#
- Python
No request payloadBody Array []
- application/json-patch+json
- application/json
- text/json
- application/*+json
The update request (in jsonpatch format)
- Sandbox APIhttps://api-sandbox.lawvu.com/contract-apis/v1/contracts/{contractId}
- Production APIhttps://api.lawvu.com/contract-apis/v1/contracts/{contractId}
- Payload
- JavaScript
- Node.js
- C#
- Python
[ { "value": "123", "path": "ExternalId", "op": "replace" } ]
- Sandbox APIhttps://api-sandbox.lawvu.com/contract-apis/v1/contracts/{contractId}
- Production APIhttps://api.lawvu.com/contract-apis/v1/contracts/{contractId}
- Payload
- JavaScript
- Node.js
- C#
- Python
No request payloadResponse
No response example- Sandbox APIhttps://api-sandbox.lawvu.com/contract-apis/v1/contracts/{contractId}/fields
- Production APIhttps://api.lawvu.com/contract-apis/v1/contracts/{contractId}/fields
- Payload
- JavaScript
- Node.js
- C#
- Python
No request payloadResponse
{
"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
}
}Body Array []
- application/json-patch+json
- application/json
- text/json
- application/*+json
The update request (in jsonpatch format)
- Sandbox APIhttps://api-sandbox.lawvu.com/contract-apis/v1/contracts/{contractId}/fields
- Production APIhttps://api.lawvu.com/contract-apis/v1/contracts/{contractId}/fields
- Payload
- JavaScript
- Node.js
- C#
- Python
{ "value": "new value", "path": "/field_string", "op": "replace" }
Body
- application/json-patch+json
- application/json
- text/json
- application/*+json
Details of the contract to be created
Optionally set an ID from an external system. Uniqueness is enforced for your organisation
Assigns a team to the contract. This can be required [ref: contractTemplate: TeamRequired]
- Sandbox APIhttps://api-sandbox.lawvu.com/contract-apis/v1/contracts/wizard
- Production APIhttps://api.lawvu.com/contract-apis/v1/contracts/wizard
- Payload
- JavaScript
- Node.js
- C#
- Python
{ "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 }