POST api/Theme/Save

Request Information

URI Parameters

None.

Body Parameters

SaveThemeRequest
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

None.

ConfigJson

string

None.

Activate

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "3366e29c-632d-466a-a6d3-5d09c0f314fa",
  "name": "sample string 1",
  "configJson": "sample string 2",
  "activate": true
}

application/xml, text/xml

Sample:
<SaveThemeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Request.Theme">
  <Activate>true</Activate>
  <ConfigJson>sample string 2</ConfigJson>
  <Id>3366e29c-632d-466a-a6d3-5d09c0f314fa</Id>
  <Name>sample string 1</Name>
</SaveThemeRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SaveThemeRequest'.

Response Information

Resource Description

ThemeProfileDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

None.

IsActive

boolean

None.

ConfigJson

string

None.

CreatedTime

date

None.

UpdatedTime

date

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "5f368ce4-7f97-4ec0-9246-d72779d6db7b",
  "name": "sample string 2",
  "isActive": true,
  "configJson": "sample string 4",
  "createdTime": "2026-11-27T01:55:33.4671826+07:00",
  "updatedTime": "2026-11-27T01:55:33.4671826+07:00"
}

application/xml, text/xml

Sample:
<ThemeProfileDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Response.Theme">
  <ConfigJson>sample string 4</ConfigJson>
  <CreatedTime>2026-11-27T01:55:33.4671826+07:00</CreatedTime>
  <Id>5f368ce4-7f97-4ec0-9246-d72779d6db7b</Id>
  <IsActive>true</IsActive>
  <Name>sample string 2</Name>
  <UpdatedTime>2026-11-27T01:55:33.4671826+07:00</UpdatedTime>
</ThemeProfileDto>