API documentation for LegalOn services
LegalOn API (0.9.0)
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/departments
Response
application/json
{ "departments": [ { … } ], "total_size": 150, "next_page_token": "eyJvZmZz...", "prev_page_token": "eyJvZmZz..." }
- 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/departments
Response
application/json
{ "department_id": "76088fa5-1ce5-3ca9-303a-8466c48581ba", "display_name": "Legal Department" }
- 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/departments/{department_id}
Response
application/json
{ "department_id": "76088fa5-1ce5-3ca9-303a-8466c48581ba", "display_name": "Legal Department" }