POST api/FeatureToggle/CreateFeatureToggle
Request Information
URI Parameters
None.
Body Parameters
FeatureToggleDto| Name | Description | Type | Additional 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": "de2e172d-ce40-4e1d-8791-ba158adfdf5e",
"Code": "sample string 2",
"Active": true,
"Description": "sample string 4",
"DeletedDate": "2026-05-02T16:04:52.3615714+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>2026-05-02T16:04:52.3615714+00:00</DeletedDate> <Description>sample string 4</Description> <Id>de2e172d-ce40-4e1d-8791-ba158adfdf5e</Id> </FeatureToggleDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
FeatureToggleDto| Name | Description | Type | Additional 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": "b975501f-28fd-47cb-bc1f-ac98bc144739",
"Code": "sample string 2",
"Active": true,
"Description": "sample string 4",
"DeletedDate": "2026-05-02T16:04:52.3615714+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>2026-05-02T16:04:52.3615714+00:00</DeletedDate> <Description>sample string 4</Description> <Id>b975501f-28fd-47cb-bc1f-ac98bc144739</Id> </FeatureToggleDto>