Terms
List terms
Changed onList all terms
get/terms
Request
- Base URLhttp://localhost/app4legal/api/v2/money
- AuthOAuth 2PasswordToken URLhttp://localhost/app4legal/api/v2/core/login
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
namestring
Search terms by name
filtersobject
Filter terms by the above query parameters. <br /> <b>Example:</b> { "name[eq]" : "15 Days" } which will search for terms with name = "15 Days".
sort[asc]'name'
Sort terms in ascending order
sort[desc]'name'
Sort terms in descending order
pageinteger
The particular page to return
per_pageinteger
The number of items to return per page Default: 50 Limit: 200
Response
Successful operation
Example response
{
"message": "success.",
"terms": [
{
"id": 1,
"name": "15 Days",
"number_of_days": 15,
"label": "15 Days"
}
],
"page_context": {
"page": 1,
"per_page": 50,
"total": 1,
"count": 1
}
}Changes
- info
api operation id
getListremoved and replaced with17b5fccd98c5606ca6e73e6d624cff07 - info
the endpoint scheme security
passportwas added to the API - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info