Create Term

POST {{baseUrl}}/framework/v1/term/create?framework={{frameworkId}}&category={{categoryCode}}

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

KeyDatatypeRequiredDescription
frameworkstring
categorystring

Request Body

{"request"=>{"term"=>{"code"=>"{{termCode}}", "name"=>"{{termName}}"}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

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"]}}