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": "39915470-6884-405e-8d73-20fccafef3d5",
"Name": "sample string 2",
"Description": "sample string 3",
"CreationDate": "2026-01-10T00:45:18.5725595+00:00",
"CreatorUserId": "f11ad53e-8ff2-4568-97f1-aab7506527ad",
"RetentionPeriod": 1,
"IsDeleted": true,
"CategoryId": "de29d34f-7fd8-4d2a-9672-77dbc2c701ac",
"PropertyTypes": [
{
"Id": "078203a6-1ade-4104-8624-0c062133d840",
"Name": "sample string 2",
"CreationDate": "2026-01-10T00:45:18.5725595+00:00",
"CreatorUserId": "dc30952e-bc5c-4754-98a4-fd40035d74b5",
"Description": "sample string 5",
"DataType": 0,
"IsRequired": true,
"IsDeleted": true,
"TriggerTypeId": "a6b780ef-d2e5-4cd3-9945-dab3a981d6ee"
},
{
"Id": "078203a6-1ade-4104-8624-0c062133d840",
"Name": "sample string 2",
"CreationDate": "2026-01-10T00:45:18.5725595+00:00",
"CreatorUserId": "dc30952e-bc5c-4754-98a4-fd40035d74b5",
"Description": "sample string 5",
"DataType": 0,
"IsRequired": true,
"IsDeleted": true,
"TriggerTypeId": "a6b780ef-d2e5-4cd3-9945-dab3a981d6ee"
}
]
}
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>de29d34f-7fd8-4d2a-9672-77dbc2c701ac</CategoryId>
<CreationDate>2026-01-10T00:45:18.5725595+00:00</CreationDate>
<CreatorUserId>f11ad53e-8ff2-4568-97f1-aab7506527ad</CreatorUserId>
<Description>sample string 3</Description>
<Id>39915470-6884-405e-8d73-20fccafef3d5</Id>
<IsDeleted>true</IsDeleted>
<Name>sample string 2</Name>
<PropertyTypes>
<TriggerPropertyTypeDto>
<CreationDate>2026-01-10T00:45:18.5725595+00:00</CreationDate>
<CreatorUserId>dc30952e-bc5c-4754-98a4-fd40035d74b5</CreatorUserId>
<DataType>Bool</DataType>
<Description>sample string 5</Description>
<Id>078203a6-1ade-4104-8624-0c062133d840</Id>
<IsDeleted>true</IsDeleted>
<IsRequired>true</IsRequired>
<Name>sample string 2</Name>
<TriggerTypeId>a6b780ef-d2e5-4cd3-9945-dab3a981d6ee</TriggerTypeId>
</TriggerPropertyTypeDto>
<TriggerPropertyTypeDto>
<CreationDate>2026-01-10T00:45:18.5725595+00:00</CreationDate>
<CreatorUserId>dc30952e-bc5c-4754-98a4-fd40035d74b5</CreatorUserId>
<DataType>Bool</DataType>
<Description>sample string 5</Description>
<Id>078203a6-1ade-4104-8624-0c062133d840</Id>
<IsDeleted>true</IsDeleted>
<IsRequired>true</IsRequired>
<Name>sample string 2</Name>
<TriggerTypeId>a6b780ef-d2e5-4cd3-9945-dab3a981d6ee</TriggerTypeId>
</TriggerPropertyTypeDto>
</PropertyTypes>
<RetentionPeriod>1</RetentionPeriod>
</TriggerTypeDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.