Create Object Category Definition

POST {{baseUrl}}/object/category/definition/v1/create

This API is associated with creating Object Category Definition on the Sunbird Platform. - The endpoint for Create Object Category Definition is /object/category/definition/v1/create - It points to taxonomy-service - /object/category/definition/v4/create - It is mandatory to provide values for parameters marked with *. - Mandatory fields cannot be null or empty.

Request Body

{"request"=>{"objectCategoryDefinition"=>{"categoryId"=>"obj-cat:explanation-content-latestest", "targetObjectType"=>"Collection"}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"id":"api.object.category.definition.create","ver":"3.0","ts":"2020-12-10T20:24:45ZZ","params":{"resmsgid":"3be02c4b-3324-41a3-afd8-60f6be0584d2","msgid":null,"err":null,"status":"successful","errmsg":null},"responseCode":"OK","result":{"identifier":"obj-cat:explanation-content_content_all"}}