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": "d38bc24f-2d4d-4143-b245-48e4e04c413c",
"CreationDate": "2026-01-11T04:34:39.502586+00:00",
"CreatorUserId": "80bc3b04-0031-41a7-a0a7-c467698706e9",
"Status": 0,
"Result": "sample string 4",
"TenantId": "8fdd05bc-d2c6-433e-9505-db40d0e2c312",
"TriggerTypeId": "d923a05e-aeb8-4e71-95ab-36b29f0956ad",
"Properties": [
{
"Id": "e007fcd5-7506-4612-b1bd-26826d942c62",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-11T04:34:39.502586+00:00",
"TriggerId": "3a47bd57-498d-48b7-91e7-5d89009c0433",
"PropertyTypeId": "69338ad0-5bfa-4497-a5f1-0743227634d7"
},
{
"Id": "e007fcd5-7506-4612-b1bd-26826d942c62",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-11T04:34:39.502586+00:00",
"TriggerId": "3a47bd57-498d-48b7-91e7-5d89009c0433",
"PropertyTypeId": "69338ad0-5bfa-4497-a5f1-0743227634d7"
}
]
}
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-11T04:34:39.502586+00:00</CreationDate>
<CreatorUserId>80bc3b04-0031-41a7-a0a7-c467698706e9</CreatorUserId>
<Id>d38bc24f-2d4d-4143-b245-48e4e04c413c</Id>
<Properties>
<TriggerPropertyDto>
<CreationDate>2026-01-11T04:34:39.502586+00:00</CreationDate>
<Id>e007fcd5-7506-4612-b1bd-26826d942c62</Id>
<Name>sample string 2</Name>
<PropertyTypeId>69338ad0-5bfa-4497-a5f1-0743227634d7</PropertyTypeId>
<TriggerId>3a47bd57-498d-48b7-91e7-5d89009c0433</TriggerId>
<Value>sample string 3</Value>
</TriggerPropertyDto>
<TriggerPropertyDto>
<CreationDate>2026-01-11T04:34:39.502586+00:00</CreationDate>
<Id>e007fcd5-7506-4612-b1bd-26826d942c62</Id>
<Name>sample string 2</Name>
<PropertyTypeId>69338ad0-5bfa-4497-a5f1-0743227634d7</PropertyTypeId>
<TriggerId>3a47bd57-498d-48b7-91e7-5d89009c0433</TriggerId>
<Value>sample string 3</Value>
</TriggerPropertyDto>
</Properties>
<Result>sample string 4</Result>
<Status>Pending</Status>
<TenantId>8fdd05bc-d2c6-433e-9505-db40d0e2c312</TenantId>
<TriggerTypeId>d923a05e-aeb8-4e71-95ab-36b29f0956ad</TriggerTypeId>
</TriggerDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.