Save content type

Save content type

Creates or updates content type.

Request
URI
POST
https://{api_host}/content-management-service/api/provider/contenttypes
COPY
Request Body
ContentType of type(s) application/json
Optional
{
    "classId": "string",
    "name": "string",
    "description": "string",
    "serviceTypeId": "string",
    "id": "string"
}
string
classId
Optional

classId

string
name
Optional

name

string
description
Optional

description

string
serviceTypeId
Optional

serviceTypeId

string
id
Optional

id

Responses
201

Content type created successfully

Returns ContentType of type(s) */*
{
    "classId": "string",
    "name": "string",
    "description": "string",
    "serviceTypeId": "string",
    "id": "string"
}
string
classId
Optional

classId

string
name
Optional

name

string
description
Optional

description

string
serviceTypeId
Optional

serviceTypeId

string
id
Optional

id