Create Term
POST {{baseUrl}}/framework/v1/term/create?framework=Ut enim offici&category=Ut enim offici
This API is associated with creating a term under a framework category
- The endpoint for Create Term is /framework/v1/term/create
- It points to knowledge-mw-service - /v1/framework/term/create
- The fields marked with an asterisk (*) are mandatory. They cannot be null or empty."
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
framework | string | (Required) Represents the framework in which the term is to be created | |
category | string | (Required) Represents the category in which the term is to be created |
Request Body
{"request"=>{"term"=>{"code"=>"english", "name"=>"English"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"api.term.create","ver":"1.0","ts":"2020-12-14T19:44:02.348Z","params":{"resmsgid":"b792c6c0-3e44-11eb-9ff3-67c41480f6aa","msgid":"b783f9b0-3e44-11eb-9ff3-67c41480f6aa","status":"successful","err":null,"errmsg":null},"responseCode":"OK","result":{"node_id":["dummy_framework_subject_english"]}}