PUT api/triggers/{id}
Updates a trigger.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the trigger to update. |
globally unique identifier |
Required |
Body Parameters
The trigger model to update with.
TriggerDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CreationDate | date |
None. |
|
| CreatorUserId | globally unique identifier |
None. |
|
| Status | TriggerStatusDto |
None. |
|
| Result | string |
None. |
|
| TenantId | globally unique identifier |
None. |
|
| TriggerTypeId | globally unique identifier |
Required |
|
| Properties | Collection of TriggerPropertyDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "b0df4975-4f50-4ff6-b060-722814fe9cad",
"CreationDate": "2026-01-10T18:54:22.6523081+00:00",
"CreatorUserId": "f0ec7d1a-f4c0-4944-af8f-6113a3bcbaa5",
"Status": 0,
"Result": "sample string 4",
"TenantId": "34f714b6-595c-4475-81ab-7d034ca0266d",
"TriggerTypeId": "f2b9f569-8f6c-4e19-b7ae-449fd69a03ee",
"Properties": [
{
"Id": "ba0a578d-89fa-4a6e-a7fe-9a5c80270ae7",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T18:54:22.6523081+00:00",
"TriggerId": "9bb91516-748a-4802-a897-20010844005b",
"PropertyTypeId": "44986ea3-1e8e-46e2-8132-49f991bb5f57"
},
{
"Id": "ba0a578d-89fa-4a6e-a7fe-9a5c80270ae7",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T18:54:22.6523081+00:00",
"TriggerId": "9bb91516-748a-4802-a897-20010844005b",
"PropertyTypeId": "44986ea3-1e8e-46e2-8132-49f991bb5f57"
}
]
}
application/xml, text/xml
Sample:
<TriggerDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Notification.Models">
<CreationDate>2026-01-10T18:54:22.6523081+00:00</CreationDate>
<CreatorUserId>f0ec7d1a-f4c0-4944-af8f-6113a3bcbaa5</CreatorUserId>
<Id>b0df4975-4f50-4ff6-b060-722814fe9cad</Id>
<Properties>
<TriggerPropertyDto>
<CreationDate>2026-01-10T18:54:22.6523081+00:00</CreationDate>
<Id>ba0a578d-89fa-4a6e-a7fe-9a5c80270ae7</Id>
<Name>sample string 2</Name>
<PropertyTypeId>44986ea3-1e8e-46e2-8132-49f991bb5f57</PropertyTypeId>
<TriggerId>9bb91516-748a-4802-a897-20010844005b</TriggerId>
<Value>sample string 3</Value>
</TriggerPropertyDto>
<TriggerPropertyDto>
<CreationDate>2026-01-10T18:54:22.6523081+00:00</CreationDate>
<Id>ba0a578d-89fa-4a6e-a7fe-9a5c80270ae7</Id>
<Name>sample string 2</Name>
<PropertyTypeId>44986ea3-1e8e-46e2-8132-49f991bb5f57</PropertyTypeId>
<TriggerId>9bb91516-748a-4802-a897-20010844005b</TriggerId>
<Value>sample string 3</Value>
</TriggerPropertyDto>
</Properties>
<Result>sample string 4</Result>
<Status>Pending</Status>
<TenantId>34f714b6-595c-4475-81ab-7d034ca0266d</TenantId>
<TriggerTypeId>f2b9f569-8f6c-4e19-b7ae-449fd69a03ee</TriggerTypeId>
</TriggerDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.