PUT api/userJourneys/{id}

Updates a user journey.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the user journey to update.

globally unique identifier

Required

Body Parameters

The user journey model to update with.

UserJourneyDto
NameDescriptionTypeAdditional 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": "7d630abf-5b52-4ef7-8676-432d893b5c48",
  "Name": "sample string 2",
  "DisplayName": "sample string 3",
  "CreationDate": "2025-12-06T04:47:05.0846971+00:00",
  "TenantId": "24a21178-de25-497a-bf8b-f55ab127889c",
  "Type": 0,
  "SortIndex": 6,
  "UserJourneyProperties": [
    {
      "Id": "f9160356-82d3-4342-b0cd-8b56d0b75b3f",
      "Name": "sample string 2",
      "Value": "sample string 3",
      "CreationDate": "2025-12-06T04:47:05.0846971+00:00",
      "UserJourneyId": "861f4469-a578-4e3b-9758-e361d61f8113"
    },
    {
      "Id": "f9160356-82d3-4342-b0cd-8b56d0b75b3f",
      "Name": "sample string 2",
      "Value": "sample string 3",
      "CreationDate": "2025-12-06T04:47:05.0846971+00:00",
      "UserJourneyId": "861f4469-a578-4e3b-9758-e361d61f8113"
    }
  ],
  "ModuleSettings": [
    {
      "Id": "4a4e7f0e-da58-4f91-a594-e0ef7b30ea78",
      "Name": "sample string 2",
      "Url": "sample string 3",
      "DisplayName": "sample string 4",
      "ServiceType": 0,
      "CreationDate": "2025-12-06T04:47:05.0846971+00:00",
      "TenantId": "5096d082-cc29-449b-8bf9-2c97a217ce48",
      "UserJourneyId": "caae1a2e-4240-4a2a-a276-80a8aa28bec5",
      "Bypassable": true,
      "DefaultValue": "sample string 9",
      "SortIndex": 10,
      "ModuleSettingProperties": [
        {
          "Id": "10f156e1-7e4a-42f6-b83f-7bb56f9794fc",
          "Name": "sample string 2",
          "Value": "sample string 3",
          "CreationDate": "2025-12-06T04:47:05.0846971+00:00",
          "ModuleSettingId": "0167d975-af89-4a7d-8350-24af5f4f6ab3"
        },
        {
          "Id": "10f156e1-7e4a-42f6-b83f-7bb56f9794fc",
          "Name": "sample string 2",
          "Value": "sample string 3",
          "CreationDate": "2025-12-06T04:47:05.0846971+00:00",
          "ModuleSettingId": "0167d975-af89-4a7d-8350-24af5f4f6ab3"
        }
      ]
    },
    {
      "Id": "4a4e7f0e-da58-4f91-a594-e0ef7b30ea78",
      "Name": "sample string 2",
      "Url": "sample string 3",
      "DisplayName": "sample string 4",
      "ServiceType": 0,
      "CreationDate": "2025-12-06T04:47:05.0846971+00:00",
      "TenantId": "5096d082-cc29-449b-8bf9-2c97a217ce48",
      "UserJourneyId": "caae1a2e-4240-4a2a-a276-80a8aa28bec5",
      "Bypassable": true,
      "DefaultValue": "sample string 9",
      "SortIndex": 10,
      "ModuleSettingProperties": [
        {
          "Id": "10f156e1-7e4a-42f6-b83f-7bb56f9794fc",
          "Name": "sample string 2",
          "Value": "sample string 3",
          "CreationDate": "2025-12-06T04:47:05.0846971+00:00",
          "ModuleSettingId": "0167d975-af89-4a7d-8350-24af5f4f6ab3"
        },
        {
          "Id": "10f156e1-7e4a-42f6-b83f-7bb56f9794fc",
          "Name": "sample string 2",
          "Value": "sample string 3",
          "CreationDate": "2025-12-06T04:47:05.0846971+00:00",
          "ModuleSettingId": "0167d975-af89-4a7d-8350-24af5f4f6ab3"
        }
      ]
    }
  ]
}

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:47:05.0846971+00:00</CreationDate>
  <DisplayName>sample string 3</DisplayName>
  <Id>7d630abf-5b52-4ef7-8676-432d893b5c48</Id>
  <ModuleSettings>
    <ModuleSettingDto>
      <Bypassable>true</Bypassable>
      <CreationDate>2025-12-06T04:47:05.0846971+00:00</CreationDate>
      <DefaultValue>sample string 9</DefaultValue>
      <DisplayName>sample string 4</DisplayName>
      <Id>4a4e7f0e-da58-4f91-a594-e0ef7b30ea78</Id>
      <ModuleSettingProperties>
        <ModuleSettingPropertyDto>
          <CreationDate>2025-12-06T04:47:05.0846971+00:00</CreationDate>
          <Id>10f156e1-7e4a-42f6-b83f-7bb56f9794fc</Id>
          <ModuleSettingId>0167d975-af89-4a7d-8350-24af5f4f6ab3</ModuleSettingId>
          <Name>sample string 2</Name>
          <Value>sample string 3</Value>
        </ModuleSettingPropertyDto>
        <ModuleSettingPropertyDto>
          <CreationDate>2025-12-06T04:47:05.0846971+00:00</CreationDate>
          <Id>10f156e1-7e4a-42f6-b83f-7bb56f9794fc</Id>
          <ModuleSettingId>0167d975-af89-4a7d-8350-24af5f4f6ab3</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>5096d082-cc29-449b-8bf9-2c97a217ce48</TenantId>
      <Url>sample string 3</Url>
      <UserJourneyId>caae1a2e-4240-4a2a-a276-80a8aa28bec5</UserJourneyId>
    </ModuleSettingDto>
    <ModuleSettingDto>
      <Bypassable>true</Bypassable>
      <CreationDate>2025-12-06T04:47:05.0846971+00:00</CreationDate>
      <DefaultValue>sample string 9</DefaultValue>
      <DisplayName>sample string 4</DisplayName>
      <Id>4a4e7f0e-da58-4f91-a594-e0ef7b30ea78</Id>
      <ModuleSettingProperties>
        <ModuleSettingPropertyDto>
          <CreationDate>2025-12-06T04:47:05.0846971+00:00</CreationDate>
          <Id>10f156e1-7e4a-42f6-b83f-7bb56f9794fc</Id>
          <ModuleSettingId>0167d975-af89-4a7d-8350-24af5f4f6ab3</ModuleSettingId>
          <Name>sample string 2</Name>
          <Value>sample string 3</Value>
        </ModuleSettingPropertyDto>
        <ModuleSettingPropertyDto>
          <CreationDate>2025-12-06T04:47:05.0846971+00:00</CreationDate>
          <Id>10f156e1-7e4a-42f6-b83f-7bb56f9794fc</Id>
          <ModuleSettingId>0167d975-af89-4a7d-8350-24af5f4f6ab3</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>5096d082-cc29-449b-8bf9-2c97a217ce48</TenantId>
      <Url>sample string 3</Url>
      <UserJourneyId>caae1a2e-4240-4a2a-a276-80a8aa28bec5</UserJourneyId>
    </ModuleSettingDto>
  </ModuleSettings>
  <Name>sample string 2</Name>
  <SortIndex>6</SortIndex>
  <TenantId>24a21178-de25-497a-bf8b-f55ab127889c</TenantId>
  <Type>UserJourney</Type>
  <UserJourneyProperties>
    <UserJourneyPropertyDto>
      <CreationDate>2025-12-06T04:47:05.0846971+00:00</CreationDate>
      <Id>f9160356-82d3-4342-b0cd-8b56d0b75b3f</Id>
      <Name>sample string 2</Name>
      <UserJourneyId>861f4469-a578-4e3b-9758-e361d61f8113</UserJourneyId>
      <Value>sample string 3</Value>
    </UserJourneyPropertyDto>
    <UserJourneyPropertyDto>
      <CreationDate>2025-12-06T04:47:05.0846971+00:00</CreationDate>
      <Id>f9160356-82d3-4342-b0cd-8b56d0b75b3f</Id>
      <Name>sample string 2</Name>
      <UserJourneyId>861f4469-a578-4e3b-9758-e361d61f8113</UserJourneyId>
      <Value>sample string 3</Value>
    </UserJourneyPropertyDto>
  </UserJourneyProperties>
</UserJourneyDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.