POST api/FeatureToggle/CreateFeatureToggle

Create a Feature Toggle

Request Information

URI Parameters

None.

Body Parameters

FeatureToggleDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Code

string

Required

String length: inclusive between 0 and 250

Active

boolean

Required

Description

string

Required

String length: inclusive between 0 and 250

DeletedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "12f3676d-78eb-404f-81f6-712ed21360ba",
  "Code": "sample string 2",
  "Active": true,
  "Description": "sample string 4",
  "DeletedDate": "2025-07-12T08:11:03.6390617+00:00"
}

application/xml, text/xml

Sample:
<FeatureToggleDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KT.BGip.Visualisation.RPMI.Models.RepoDtos">
  <Active>true</Active>
  <Code>sample string 2</Code>
  <DeletedDate>2025-07-12T08:11:03.6390617+00:00</DeletedDate>
  <Description>sample string 4</Description>
  <Id>12f3676d-78eb-404f-81f6-712ed21360ba</Id>
</FeatureToggleDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

FeatureToggleDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Code

string

Required

String length: inclusive between 0 and 250

Active

boolean

Required

Description

string

Required

String length: inclusive between 0 and 250

DeletedDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "0ca40165-446c-4623-a404-9f5c6eb2b64b",
  "Code": "sample string 2",
  "Active": true,
  "Description": "sample string 4",
  "DeletedDate": "2025-07-12T08:11:03.6390617+00:00"
}

application/xml, text/xml

Sample:
<FeatureToggleDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KT.BGip.Visualisation.RPMI.Models.RepoDtos">
  <Active>true</Active>
  <Code>sample string 2</Code>
  <DeletedDate>2025-07-12T08:11:03.6390617+00:00</DeletedDate>
  <Description>sample string 4</Description>
  <Id>0ca40165-446c-4623-a404-9f5c6eb2b64b</Id>
</FeatureToggleDto>