Create Category

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

This API is associated with creating a category under a framework - The endpoint for Create Category is /framework/v1/category/create - It points to knowledge-mw-service - /v1/framework/category/create - The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.

Request Params

KeyDatatypeRequiredDescription
frameworkstring

Request Body

{"request"=>{"category"=>{"name"=>"{{categoryName}}", "code"=>"{{categoryCode}}"}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"id":"api.category.create","ver":"1.0","ts":"2020-12-14T19:32:01.754Z","params":{"resmsgid":"0a10dba0-3e43-11eb-9ff3-67c41480f6aa","msgid":"0a05df20-3e43-11eb-9ff3-67c41480f6aa","status":"successful","err":null,"errmsg":null},"responseCode":"OK","result":{"node_id":"dummy_framework_medium","versionKey":"1607974321700"}}