Update Object Category

PATCH {{baseUrl}}/object/category/v1/update/:ObjectCategory_Id

This API is associated with updating object category on the Sunbird Platform . - /Update/ endpoint executes the Update Object Category request based on parameters provided as metadata in the request body. - The endpoint for Update Object Category is /object/category/v1/update/{ObjectCategory_Id} - It points to taxonomy-service - /object/category/v4/update/{ObjectCategory_Id} - {...}refers to a section of review endpoint URL path that needs to be replaced by appropriate Id. - It is mandatory to provide values for parameters marked with *. - Mandatory fields cannot be null or empty.

Request Body

{"request"=>{"objectCategory"=>{"description"=>"Updated description"}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"id":"api.object.category.update","ver":"4.0","ts":"2020-12-10T20:26:07ZZ","params":{"resmsgid":"80aa9310-b749-411c-a13b-8d9f25af389f","msgid":null,"err":null,"status":"successful","errmsg":null},"responseCode":"OK","result":{"identifier":"obj-cat:classroom-teaching-video"}}