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": "d89bd41c-0f7a-43de-ae6c-630fe7bed76d",
"Name": "sample string 2",
"Url": "sample string 3",
"DisplayName": "sample string 4",
"ServiceType": 0,
"CreationDate": "2025-12-06T03:11:24.1318175+00:00",
"TenantId": "a3f3879b-5ae7-4755-8f84-c482a2d61404",
"UserJourneyId": "8494160b-a8d7-4115-801f-f01d125cf13a",
"Bypassable": true,
"DefaultValue": "sample string 9",
"SortIndex": 10,
"ModuleSettingProperties": [
{
"Id": "80e10de8-470f-4795-a7a1-82bd645faafc",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-06T03:11:24.1318175+00:00",
"ModuleSettingId": "2de28252-caf3-4c20-b51a-0a4eec988576"
},
{
"Id": "80e10de8-470f-4795-a7a1-82bd645faafc",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-06T03:11:24.1318175+00:00",
"ModuleSettingId": "2de28252-caf3-4c20-b51a-0a4eec988576"
}
]
}
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>2025-12-06T03:11:24.1318175+00:00</CreationDate>
<DefaultValue>sample string 9</DefaultValue>
<DisplayName>sample string 4</DisplayName>
<Id>d89bd41c-0f7a-43de-ae6c-630fe7bed76d</Id>
<ModuleSettingProperties>
<ModuleSettingPropertyDto>
<CreationDate>2025-12-06T03:11:24.1318175+00:00</CreationDate>
<Id>80e10de8-470f-4795-a7a1-82bd645faafc</Id>
<ModuleSettingId>2de28252-caf3-4c20-b51a-0a4eec988576</ModuleSettingId>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</ModuleSettingPropertyDto>
<ModuleSettingPropertyDto>
<CreationDate>2025-12-06T03:11:24.1318175+00:00</CreationDate>
<Id>80e10de8-470f-4795-a7a1-82bd645faafc</Id>
<ModuleSettingId>2de28252-caf3-4c20-b51a-0a4eec988576</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>a3f3879b-5ae7-4755-8f84-c482a2d61404</TenantId>
<Url>sample string 3</Url>
<UserJourneyId>8494160b-a8d7-4115-801f-f01d125cf13a</UserJourneyId>
</ModuleSettingDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"24e88a4f-c2c1-42f0-b04a-af9f21199b34"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">24e88a4f-c2c1-42f0-b04a-af9f21199b34</guid>