Add Child Category

Add Child Category

Endpoint for adding child categories.

Request
URI
POST
https:///vco/api/categories/{id}
COPY
Path Parameters
string
Required

Request Body
category-context of type(s) application/json
Optional
{
    "type": "string",
    "name": "string",
    "description": "string"
}
string
type
Optional

type

string
name
Optional

name

string
description
Optional

description

Responses
200

The request is successful

Returns category of type(s) application/json
{
    "href": "string",
    "relations": {
        "total": "integer",
        "start": "integer",
        "link": [
            {
                "attribute": [
                    {
                        "displayValue": "string",
                        "value": "string",
                        "name": "string"
                    }
                ],
                "href": "string",
                "type": "string",
                "rel": "string"
            }
        ]
    },
    "id": "string",
    "name": "string",
    "description": "string",
    "path": "string",
    "type": "string"
}
string
href
Optional

href

relations
Optional

relations

string
id
Optional

id

string
name
Optional

name

string
description
Optional

description

string
path
Optional

path

string
type
Optional

type


400

Category name must be specified

Operation doesn't return any data structure

401

User is not authorized

Operation doesn't return any data structure

404

Cannot find a category with the specified ID

Operation doesn't return any data structure