Terms
Create a Term
Changed onCreate a new Term record
post/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.
Request body
Example request
{
"name": "31 Days",
"fl1name": "31 Jours",
"fl2name": "31 يوم",
"number_of_days": 31
}Response
Term has been created successfully
Example response
{
"message": "term has been created.",
"term": {
"id": 11,
"name": "31 Days",
"fl1name": "31 Jours",
"fl2name": "31 يوم",
"number_of_days": 31,
"display_name": "31 Days"
}
}Changes
- info
endpoint added
- info