PUT api/triggertypes/{id}
Updates a trigger type.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the trigger type to update. |
globally unique identifier |
Required |
Body Parameters
The trigger type model to update with.
TriggerTypeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 512 |
|
| Description | string |
None. |
|
| CreationDate | date |
None. |
|
| CreatorUserId | globally unique identifier |
None. |
|
| RetentionPeriod | integer |
None. |
|
| IsDeleted | boolean |
None. |
|
| CategoryId | globally unique identifier |
None. |
|
| PropertyTypes | Collection of TriggerPropertyTypeDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "ad810931-b66c-4556-9146-81ebed7954f5",
"Name": "sample string 2",
"Description": "sample string 3",
"CreationDate": "2026-01-10T18:55:46.0986938+00:00",
"CreatorUserId": "9fe716c3-3703-47df-ab59-41a3ff33f1ba",
"RetentionPeriod": 1,
"IsDeleted": true,
"CategoryId": "decc7727-5386-4110-95ff-f965febd6bcc",
"PropertyTypes": [
{
"Id": "3efc5728-b922-4c48-9dd0-f82e566ba8ea",
"Name": "sample string 2",
"CreationDate": "2026-01-10T18:55:46.0986938+00:00",
"CreatorUserId": "32f9468e-3824-4735-b72f-26fabfb8a87a",
"Description": "sample string 5",
"DataType": 0,
"IsRequired": true,
"IsDeleted": true,
"TriggerTypeId": "441235b5-73b9-4a74-8aab-9fa27f3848fa"
},
{
"Id": "3efc5728-b922-4c48-9dd0-f82e566ba8ea",
"Name": "sample string 2",
"CreationDate": "2026-01-10T18:55:46.0986938+00:00",
"CreatorUserId": "32f9468e-3824-4735-b72f-26fabfb8a87a",
"Description": "sample string 5",
"DataType": 0,
"IsRequired": true,
"IsDeleted": true,
"TriggerTypeId": "441235b5-73b9-4a74-8aab-9fa27f3848fa"
}
]
}
application/xml, text/xml
Sample:
<TriggerTypeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Notification.Models">
<CategoryId>decc7727-5386-4110-95ff-f965febd6bcc</CategoryId>
<CreationDate>2026-01-10T18:55:46.0986938+00:00</CreationDate>
<CreatorUserId>9fe716c3-3703-47df-ab59-41a3ff33f1ba</CreatorUserId>
<Description>sample string 3</Description>
<Id>ad810931-b66c-4556-9146-81ebed7954f5</Id>
<IsDeleted>true</IsDeleted>
<Name>sample string 2</Name>
<PropertyTypes>
<TriggerPropertyTypeDto>
<CreationDate>2026-01-10T18:55:46.0986938+00:00</CreationDate>
<CreatorUserId>32f9468e-3824-4735-b72f-26fabfb8a87a</CreatorUserId>
<DataType>Bool</DataType>
<Description>sample string 5</Description>
<Id>3efc5728-b922-4c48-9dd0-f82e566ba8ea</Id>
<IsDeleted>true</IsDeleted>
<IsRequired>true</IsRequired>
<Name>sample string 2</Name>
<TriggerTypeId>441235b5-73b9-4a74-8aab-9fa27f3848fa</TriggerTypeId>
</TriggerPropertyTypeDto>
<TriggerPropertyTypeDto>
<CreationDate>2026-01-10T18:55:46.0986938+00:00</CreationDate>
<CreatorUserId>32f9468e-3824-4735-b72f-26fabfb8a87a</CreatorUserId>
<DataType>Bool</DataType>
<Description>sample string 5</Description>
<Id>3efc5728-b922-4c48-9dd0-f82e566ba8ea</Id>
<IsDeleted>true</IsDeleted>
<IsRequired>true</IsRequired>
<Name>sample string 2</Name>
<TriggerTypeId>441235b5-73b9-4a74-8aab-9fa27f3848fa</TriggerTypeId>
</TriggerPropertyTypeDto>
</PropertyTypes>
<RetentionPeriod>1</RetentionPeriod>
</TriggerTypeDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.