Terms
Update a Term
Changed onUpdate an existing Term by its ID
put/terms/{id}
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.
Path parameters
idinteger required
Example:11
ID of the Term to update
Request body
Example request
{
"name": "11 Days",
"fl1name": "11 Jours",
"fl2name": "11 يوم",
"number_of_days": 11
}Response
Term has been updated successfully
Example response
{
"message": "term has been updated.",
"term": {
"id": 11,
"name": "11 Days",
"fl1name": "11 Jours",
"fl2name": "11 يوم",
"number_of_days": 11,
"display_name": "11 Days"
}
}Changes
- info
endpoint added
- info