Save content type
Creates or updates content type.
Request
URI
PUT
https://{api_host}/api/provider/contenttypes/{id}
COPY
Path Parameters
string
id
Required
The id of content type
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
204
Content type updated successfully
Operation doesn't return any data structure
On This Page
Provider Content Type Operations
DELETE
Delete content type
PUT
Save content type
POST
Save content type