POST api/moduleSettings
Creates a module setting.
Request Information
URI Parameters
None.
Body Parameters
The module setting model to create with.
ModuleSettingDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required |
|
| Url | string |
Required |
|
| DisplayName | string |
Required |
|
| ServiceType | ModuleSettingServiceTypeDto |
None. |
|
| CreationDate | date |
None. |
|
| TenantId | globally unique identifier |
None. |
|
| UserJourneyId | globally unique identifier |
None. |
|
| Bypassable | boolean |
None. |
|
| DefaultValue | string |
None. |
|
| SortIndex | integer |
None. |
|
| ModuleSettingProperties | Collection of ModuleSettingPropertyDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "8245f01c-40e5-464c-8d1a-e5d04f97f266",
"Name": "sample string 2",
"Url": "sample string 3",
"DisplayName": "sample string 4",
"ServiceType": 0,
"CreationDate": "2026-01-11T20:19:10.4438312+00:00",
"TenantId": "2b3a134b-8a45-40c3-ab70-08201479f1b6",
"UserJourneyId": "28c7352f-85af-429c-acb6-f168e5cc314e",
"Bypassable": true,
"DefaultValue": "sample string 9",
"SortIndex": 10,
"ModuleSettingProperties": [
{
"Id": "7dddc8b7-cb5c-49c7-ba1c-e5bceddea31d",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-11T20:19:10.4438312+00:00",
"ModuleSettingId": "9455b6e1-4b89-4fe1-9a40-48ca37ecbd0d"
},
{
"Id": "7dddc8b7-cb5c-49c7-ba1c-e5bceddea31d",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-11T20:19:10.4438312+00:00",
"ModuleSettingId": "9455b6e1-4b89-4fe1-9a40-48ca37ecbd0d"
}
]
}
application/xml, text/xml
Sample:
<ModuleSettingDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Settings.Models">
<Bypassable>true</Bypassable>
<CreationDate>2026-01-11T20:19:10.4438312+00:00</CreationDate>
<DefaultValue>sample string 9</DefaultValue>
<DisplayName>sample string 4</DisplayName>
<Id>8245f01c-40e5-464c-8d1a-e5d04f97f266</Id>
<ModuleSettingProperties>
<ModuleSettingPropertyDto>
<CreationDate>2026-01-11T20:19:10.4438312+00:00</CreationDate>
<Id>7dddc8b7-cb5c-49c7-ba1c-e5bceddea31d</Id>
<ModuleSettingId>9455b6e1-4b89-4fe1-9a40-48ca37ecbd0d</ModuleSettingId>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</ModuleSettingPropertyDto>
<ModuleSettingPropertyDto>
<CreationDate>2026-01-11T20:19:10.4438312+00:00</CreationDate>
<Id>7dddc8b7-cb5c-49c7-ba1c-e5bceddea31d</Id>
<ModuleSettingId>9455b6e1-4b89-4fe1-9a40-48ca37ecbd0d</ModuleSettingId>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</ModuleSettingPropertyDto>
</ModuleSettingProperties>
<Name>sample string 2</Name>
<ServiceType>None</ServiceType>
<SortIndex>10</SortIndex>
<TenantId>2b3a134b-8a45-40c3-ab70-08201479f1b6</TenantId>
<Url>sample string 3</Url>
<UserJourneyId>28c7352f-85af-429c-acb6-f168e5cc314e</UserJourneyId>
</ModuleSettingDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"c8405e61-0586-41cc-b73c-700a9999e5e4"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">c8405e61-0586-41cc-b73c-700a9999e5e4</guid>