POST api/features
Creates a feature.
Request Information
URI Parameters
None.
Body Parameters
The feature model to create with.
FeatureDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required |
|
| Enabled | boolean |
None. |
|
| CreationDate | date |
None. |
|
| TenantId | globally unique identifier |
None. |
|
| SecurityGroupId | globally unique identifier |
None. |
|
| FeatureProperties | Collection of FeaturePropertyDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "f9d27d39-7315-4fca-983b-30976957778c",
"Name": "sample string 2",
"Enabled": true,
"CreationDate": "2025-12-06T03:10:27.6882466+00:00",
"TenantId": "769a033a-ad96-417f-869e-f323eefb6817",
"SecurityGroupId": "fbcf837b-e697-44c9-8368-d60874b6dedf",
"FeatureProperties": [
{
"Id": "f12dc242-8abf-4c0b-828e-a331480f6635",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-06T03:10:27.6882466+00:00",
"FeatureId": "a9ddda2d-bb6e-4777-9e46-e699dbef247a"
},
{
"Id": "f12dc242-8abf-4c0b-828e-a331480f6635",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-06T03:10:27.6882466+00:00",
"FeatureId": "a9ddda2d-bb6e-4777-9e46-e699dbef247a"
}
]
}
application/xml, text/xml
Sample:
<FeatureDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Settings.Models">
<CreationDate>2025-12-06T03:10:27.6882466+00:00</CreationDate>
<Enabled>true</Enabled>
<FeatureProperties>
<FeaturePropertyDto>
<CreationDate>2025-12-06T03:10:27.6882466+00:00</CreationDate>
<FeatureId>a9ddda2d-bb6e-4777-9e46-e699dbef247a</FeatureId>
<Id>f12dc242-8abf-4c0b-828e-a331480f6635</Id>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</FeaturePropertyDto>
<FeaturePropertyDto>
<CreationDate>2025-12-06T03:10:27.6882466+00:00</CreationDate>
<FeatureId>a9ddda2d-bb6e-4777-9e46-e699dbef247a</FeatureId>
<Id>f12dc242-8abf-4c0b-828e-a331480f6635</Id>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</FeaturePropertyDto>
</FeatureProperties>
<Id>f9d27d39-7315-4fca-983b-30976957778c</Id>
<Name>sample string 2</Name>
<SecurityGroupId>fbcf837b-e697-44c9-8368-d60874b6dedf</SecurityGroupId>
<TenantId>769a033a-ad96-417f-869e-f323eefb6817</TenantId>
</FeatureDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"8d8de2ce-3ca4-4ed9-a581-e52329709836"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">8d8de2ce-3ca4-4ed9-a581-e52329709836</guid>