POST api/triggers
Creates a trigger.
Request Information
URI Parameters
None.
Body Parameters
The trigger model to create 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": "e23b6c49-22aa-4547-8628-964ac3c132c3",
"CreationDate": "2026-01-10T18:53:57.8947357+00:00",
"CreatorUserId": "0728f60d-99f8-4a33-9e03-b5bdbe21aa97",
"Status": 0,
"Result": "sample string 4",
"TenantId": "5172f7ae-8e3b-46dc-8be6-fe6791b5a398",
"TriggerTypeId": "bda9deac-7855-41e8-9cc0-bcb7ed32f5f3",
"Properties": [
{
"Id": "f73add60-176e-4252-8b27-1975e822abb3",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T18:53:57.8947357+00:00",
"TriggerId": "d6749559-13ed-4c41-ac3d-c74b1419cf35",
"PropertyTypeId": "c635507d-d718-4529-b7e4-336ff01c956e"
},
{
"Id": "f73add60-176e-4252-8b27-1975e822abb3",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T18:53:57.8947357+00:00",
"TriggerId": "d6749559-13ed-4c41-ac3d-c74b1419cf35",
"PropertyTypeId": "c635507d-d718-4529-b7e4-336ff01c956e"
}
]
}
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:53:57.8947357+00:00</CreationDate>
<CreatorUserId>0728f60d-99f8-4a33-9e03-b5bdbe21aa97</CreatorUserId>
<Id>e23b6c49-22aa-4547-8628-964ac3c132c3</Id>
<Properties>
<TriggerPropertyDto>
<CreationDate>2026-01-10T18:53:57.8947357+00:00</CreationDate>
<Id>f73add60-176e-4252-8b27-1975e822abb3</Id>
<Name>sample string 2</Name>
<PropertyTypeId>c635507d-d718-4529-b7e4-336ff01c956e</PropertyTypeId>
<TriggerId>d6749559-13ed-4c41-ac3d-c74b1419cf35</TriggerId>
<Value>sample string 3</Value>
</TriggerPropertyDto>
<TriggerPropertyDto>
<CreationDate>2026-01-10T18:53:57.8947357+00:00</CreationDate>
<Id>f73add60-176e-4252-8b27-1975e822abb3</Id>
<Name>sample string 2</Name>
<PropertyTypeId>c635507d-d718-4529-b7e4-336ff01c956e</PropertyTypeId>
<TriggerId>d6749559-13ed-4c41-ac3d-c74b1419cf35</TriggerId>
<Value>sample string 3</Value>
</TriggerPropertyDto>
</Properties>
<Result>sample string 4</Result>
<Status>Pending</Status>
<TenantId>5172f7ae-8e3b-46dc-8be6-fe6791b5a398</TenantId>
<TriggerTypeId>bda9deac-7855-41e8-9cc0-bcb7ed32f5f3</TriggerTypeId>
</TriggerDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.