API documentation for LegalOn services
- Get contract custom attribute values
List contracts
Create a contract document
List contract custom attribute definitions
Update contract custom attribute values
Update contract management attributes
Get contract information
Delete a contract
Upload a new latest version
List contract versions
Update contract information
Delete a contract version
Link an existing non-contract file to a contract
Link another contract
Upload other file
Remove a related file link from a contract
Get contract custom attri...
LegalOn API (1.3.1)
Languages
Servers
The server URL is `{api_base_url}/rest/v1`.
You can construct the server URL using the value of `api_base_url` provided in the response when obtaining an access token.
https://{api_base_url_without_scheme}/rest/v1
- The server URL is `{api_base_url}/rest/v1`.
You can construct the server URL using the value of `api_base_url` provided in the response when obtaining an access token.
https://{api_base_url_without_scheme}/rest/v1/contracts/custom-attribute-definitions
- cURL
- JavaScript
- Python
- Java
- Go
curl -i -X GET \
'https://{api_base_url_without_scheme}/rest/v1/contracts/custom-attribute-definitions' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "custom_attribute_definitions": [ { … } ] }
- The server URL is `{api_base_url}/rest/v1`.
You can construct the server URL using the value of `api_base_url` provided in the response when obtaining an access token.
https://{api_base_url_without_scheme}/rest/v1/contracts/{document_id}/custom-attributes
- cURL
- JavaScript
- Python
- Java
- Go
curl -i -X GET \
'https://{api_base_url_without_scheme}/rest/v1/contracts/{document_id}/custom-attributes' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'- The server URL is `{api_base_url}/rest/v1`.
You can construct the server URL using the value of `api_base_url` provided in the response when obtaining an access token.
https://{api_base_url_without_scheme}/rest/v1/contracts/{document_id}/custom-attributes
- cURL
- JavaScript
- Python
- Java
- Go
curl -i -X PATCH \
'https://{api_base_url_without_scheme}/rest/v1/contracts/{document_id}/custom-attributes' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"custom_attributes": [
{
"setting_id": "a85785e9-b0c4-4f26-bdb1-2832c57d90d8",
"text_value": "string"
}
]
}'