POST api/userJourneys
Creates a user journey.
Request Information
URI Parameters
None.
Body Parameters
The user journey model to create with.
UserJourneyDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required |
|
| DisplayName | string |
Required |
|
| CreationDate | date |
None. |
|
| TenantId | globally unique identifier |
None. |
|
| Type | UserJourneyTypeDto |
None. |
|
| SortIndex | integer |
None. |
|
| UserJourneyProperties | Collection of UserJourneyPropertyDto |
None. |
|
| ModuleSettings | Collection of ModuleSettingDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "26a11075-8c8d-487a-b95a-5826218355fc",
"Name": "sample string 2",
"DisplayName": "sample string 3",
"CreationDate": "2025-12-06T04:46:50.8676653+00:00",
"TenantId": "d78b06ac-14a0-4dab-a2ec-b0aed3513f98",
"Type": 0,
"SortIndex": 6,
"UserJourneyProperties": [
{
"Id": "2dbf1de5-b11c-47bc-a582-341f5d4df562",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-06T04:46:50.8676653+00:00",
"UserJourneyId": "638bf2b4-4a99-4bce-b12b-69021ff7ed89"
},
{
"Id": "2dbf1de5-b11c-47bc-a582-341f5d4df562",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-06T04:46:50.8676653+00:00",
"UserJourneyId": "638bf2b4-4a99-4bce-b12b-69021ff7ed89"
}
],
"ModuleSettings": [
{
"Id": "f490fd6c-dd3a-445b-af5f-aa0815bc2aa9",
"Name": "sample string 2",
"Url": "sample string 3",
"DisplayName": "sample string 4",
"ServiceType": 0,
"CreationDate": "2025-12-06T04:46:50.8676653+00:00",
"TenantId": "29f89d20-3567-46e6-92ab-baf9a906243b",
"UserJourneyId": "d8ad116e-51da-445c-a49f-b42ae32aaefe",
"Bypassable": true,
"DefaultValue": "sample string 9",
"SortIndex": 10,
"ModuleSettingProperties": [
{
"Id": "aeda394e-751a-4ad0-9cc9-06a80a795e59",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-06T04:46:50.8676653+00:00",
"ModuleSettingId": "00ea185d-a4fd-4a93-a170-20811d78f8fd"
},
{
"Id": "aeda394e-751a-4ad0-9cc9-06a80a795e59",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-06T04:46:50.8676653+00:00",
"ModuleSettingId": "00ea185d-a4fd-4a93-a170-20811d78f8fd"
}
]
},
{
"Id": "f490fd6c-dd3a-445b-af5f-aa0815bc2aa9",
"Name": "sample string 2",
"Url": "sample string 3",
"DisplayName": "sample string 4",
"ServiceType": 0,
"CreationDate": "2025-12-06T04:46:50.8676653+00:00",
"TenantId": "29f89d20-3567-46e6-92ab-baf9a906243b",
"UserJourneyId": "d8ad116e-51da-445c-a49f-b42ae32aaefe",
"Bypassable": true,
"DefaultValue": "sample string 9",
"SortIndex": 10,
"ModuleSettingProperties": [
{
"Id": "aeda394e-751a-4ad0-9cc9-06a80a795e59",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-06T04:46:50.8676653+00:00",
"ModuleSettingId": "00ea185d-a4fd-4a93-a170-20811d78f8fd"
},
{
"Id": "aeda394e-751a-4ad0-9cc9-06a80a795e59",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-06T04:46:50.8676653+00:00",
"ModuleSettingId": "00ea185d-a4fd-4a93-a170-20811d78f8fd"
}
]
}
]
}
application/xml, text/xml
Sample:
<UserJourneyDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Settings.Models">
<CreationDate>2025-12-06T04:46:50.8676653+00:00</CreationDate>
<DisplayName>sample string 3</DisplayName>
<Id>26a11075-8c8d-487a-b95a-5826218355fc</Id>
<ModuleSettings>
<ModuleSettingDto>
<Bypassable>true</Bypassable>
<CreationDate>2025-12-06T04:46:50.8676653+00:00</CreationDate>
<DefaultValue>sample string 9</DefaultValue>
<DisplayName>sample string 4</DisplayName>
<Id>f490fd6c-dd3a-445b-af5f-aa0815bc2aa9</Id>
<ModuleSettingProperties>
<ModuleSettingPropertyDto>
<CreationDate>2025-12-06T04:46:50.8676653+00:00</CreationDate>
<Id>aeda394e-751a-4ad0-9cc9-06a80a795e59</Id>
<ModuleSettingId>00ea185d-a4fd-4a93-a170-20811d78f8fd</ModuleSettingId>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</ModuleSettingPropertyDto>
<ModuleSettingPropertyDto>
<CreationDate>2025-12-06T04:46:50.8676653+00:00</CreationDate>
<Id>aeda394e-751a-4ad0-9cc9-06a80a795e59</Id>
<ModuleSettingId>00ea185d-a4fd-4a93-a170-20811d78f8fd</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>29f89d20-3567-46e6-92ab-baf9a906243b</TenantId>
<Url>sample string 3</Url>
<UserJourneyId>d8ad116e-51da-445c-a49f-b42ae32aaefe</UserJourneyId>
</ModuleSettingDto>
<ModuleSettingDto>
<Bypassable>true</Bypassable>
<CreationDate>2025-12-06T04:46:50.8676653+00:00</CreationDate>
<DefaultValue>sample string 9</DefaultValue>
<DisplayName>sample string 4</DisplayName>
<Id>f490fd6c-dd3a-445b-af5f-aa0815bc2aa9</Id>
<ModuleSettingProperties>
<ModuleSettingPropertyDto>
<CreationDate>2025-12-06T04:46:50.8676653+00:00</CreationDate>
<Id>aeda394e-751a-4ad0-9cc9-06a80a795e59</Id>
<ModuleSettingId>00ea185d-a4fd-4a93-a170-20811d78f8fd</ModuleSettingId>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</ModuleSettingPropertyDto>
<ModuleSettingPropertyDto>
<CreationDate>2025-12-06T04:46:50.8676653+00:00</CreationDate>
<Id>aeda394e-751a-4ad0-9cc9-06a80a795e59</Id>
<ModuleSettingId>00ea185d-a4fd-4a93-a170-20811d78f8fd</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>29f89d20-3567-46e6-92ab-baf9a906243b</TenantId>
<Url>sample string 3</Url>
<UserJourneyId>d8ad116e-51da-445c-a49f-b42ae32aaefe</UserJourneyId>
</ModuleSettingDto>
</ModuleSettings>
<Name>sample string 2</Name>
<SortIndex>6</SortIndex>
<TenantId>d78b06ac-14a0-4dab-a2ec-b0aed3513f98</TenantId>
<Type>UserJourney</Type>
<UserJourneyProperties>
<UserJourneyPropertyDto>
<CreationDate>2025-12-06T04:46:50.8676653+00:00</CreationDate>
<Id>2dbf1de5-b11c-47bc-a582-341f5d4df562</Id>
<Name>sample string 2</Name>
<UserJourneyId>638bf2b4-4a99-4bce-b12b-69021ff7ed89</UserJourneyId>
<Value>sample string 3</Value>
</UserJourneyPropertyDto>
<UserJourneyPropertyDto>
<CreationDate>2025-12-06T04:46:50.8676653+00:00</CreationDate>
<Id>2dbf1de5-b11c-47bc-a582-341f5d4df562</Id>
<Name>sample string 2</Name>
<UserJourneyId>638bf2b4-4a99-4bce-b12b-69021ff7ed89</UserJourneyId>
<Value>sample string 3</Value>
</UserJourneyPropertyDto>
</UserJourneyProperties>
</UserJourneyDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"f1856980-6240-4ccc-ae02-4fc05646927c"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">f1856980-6240-4ccc-ae02-4fc05646927c</guid>