categoryChild_create

POST /orgs/{oid}/categories/{cid}/subcategories

Creates a sub-category under an existing category.

Refer to category for all the mandatory and optional attributes.

Warning

Only administrators have the ability to create and manage categories

Security Summary

  • Requires Authentication: true
  • Entitlements Required: categories_administrate

URI Parameters

  • oid (required): the id of the org
  • cid (required): the id of the parent category

HTTP Request Body Parameters

A category object

Example Request

curl "https://uforge.example.com/api/orgs/{oid}/categories/{cid}/subcategories" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml" --data-binary "@representation.xml"

Example of representation.xml content (the request body):

<ns0:category xmlns:ns0="http://www.usharesoft.com/uforge">
        <name>Category Example</name>
        <type>PROJECT</type>
</ns0:category>