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": "d0accc11-843f-406a-b663-5d469ef53594",
"Name": "sample string 2",
"Enabled": true,
"CreationDate": "2026-01-11T20:29:23.4875502+00:00",
"TenantId": "b0a81cf2-686d-4c06-a5b8-c7bdc820b385",
"SecurityGroupId": "78f8f16c-98fa-4f09-be0b-dbf5cf2e7422",
"FeatureProperties": [
{
"Id": "4706b3bf-2d79-47cb-8add-c21de9dc46db",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-11T20:29:23.4875502+00:00",
"FeatureId": "dc0a848f-2a69-4c4e-a861-24d38f722387"
},
{
"Id": "4706b3bf-2d79-47cb-8add-c21de9dc46db",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-11T20:29:23.4875502+00:00",
"FeatureId": "dc0a848f-2a69-4c4e-a861-24d38f722387"
}
]
}
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>2026-01-11T20:29:23.4875502+00:00</CreationDate>
<Enabled>true</Enabled>
<FeatureProperties>
<FeaturePropertyDto>
<CreationDate>2026-01-11T20:29:23.4875502+00:00</CreationDate>
<FeatureId>dc0a848f-2a69-4c4e-a861-24d38f722387</FeatureId>
<Id>4706b3bf-2d79-47cb-8add-c21de9dc46db</Id>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</FeaturePropertyDto>
<FeaturePropertyDto>
<CreationDate>2026-01-11T20:29:23.4875502+00:00</CreationDate>
<FeatureId>dc0a848f-2a69-4c4e-a861-24d38f722387</FeatureId>
<Id>4706b3bf-2d79-47cb-8add-c21de9dc46db</Id>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</FeaturePropertyDto>
</FeatureProperties>
<Id>d0accc11-843f-406a-b663-5d469ef53594</Id>
<Name>sample string 2</Name>
<SecurityGroupId>78f8f16c-98fa-4f09-be0b-dbf5cf2e7422</SecurityGroupId>
<TenantId>b0a81cf2-686d-4c06-a5b8-c7bdc820b385</TenantId>
</FeatureDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"f586417b-a605-4b77-b20e-9448aacc4881"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">f586417b-a605-4b77-b20e-9448aacc4881</guid>