GET api/FeatureToggle/GetFeatureToggles

Returns all Feature Toggles

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of 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": "4afb41e2-8afb-45b9-b940-cf436eda7024",
    "Code": "sample string 2",
    "Active": true,
    "Description": "sample string 4",
    "DeletedDate": "2024-11-21T07:19:17.4984921+00:00"
  },
  {
    "Id": "4afb41e2-8afb-45b9-b940-cf436eda7024",
    "Code": "sample string 2",
    "Active": true,
    "Description": "sample string 4",
    "DeletedDate": "2024-11-21T07:19:17.4984921+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfFeatureToggleDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KT.BGip.Visualisation.RPMI.Models.RepoDtos">
  <FeatureToggleDto>
    <Active>true</Active>
    <Code>sample string 2</Code>
    <DeletedDate>2024-11-21T07:19:17.4984921+00:00</DeletedDate>
    <Description>sample string 4</Description>
    <Id>4afb41e2-8afb-45b9-b940-cf436eda7024</Id>
  </FeatureToggleDto>
  <FeatureToggleDto>
    <Active>true</Active>
    <Code>sample string 2</Code>
    <DeletedDate>2024-11-21T07:19:17.4984921+00:00</DeletedDate>
    <Description>sample string 4</Description>
    <Id>4afb41e2-8afb-45b9-b940-cf436eda7024</Id>
  </FeatureToggleDto>
</ArrayOfFeatureToggleDto>