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": "e540db7f-9f3c-4613-933d-7bdf08cd1b8a",
"CreationDate": "2025-12-11T20:15:13.2554143+00:00",
"CreatorUserId": "4fa52e99-8935-48ff-a1e4-84d2e019fe64",
"Status": 0,
"Result": "sample string 4",
"TenantId": "c23444f8-a7c1-4e32-ace8-adf9169723f9",
"TriggerTypeId": "71a4212f-87fa-4444-86ea-14b5d0f67227",
"Properties": [
{
"Id": "8d451206-dfbe-4433-bcaa-fb0c0719a3fe",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-11T20:15:13.2554143+00:00",
"TriggerId": "e30e780f-4990-424d-b178-d65ac8db2059",
"PropertyTypeId": "c1771f4d-325e-44f2-9338-0048d052aa51"
},
{
"Id": "8d451206-dfbe-4433-bcaa-fb0c0719a3fe",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-11T20:15:13.2554143+00:00",
"TriggerId": "e30e780f-4990-424d-b178-d65ac8db2059",
"PropertyTypeId": "c1771f4d-325e-44f2-9338-0048d052aa51"
}
]
}
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>2025-12-11T20:15:13.2554143+00:00</CreationDate>
<CreatorUserId>4fa52e99-8935-48ff-a1e4-84d2e019fe64</CreatorUserId>
<Id>e540db7f-9f3c-4613-933d-7bdf08cd1b8a</Id>
<Properties>
<TriggerPropertyDto>
<CreationDate>2025-12-11T20:15:13.2554143+00:00</CreationDate>
<Id>8d451206-dfbe-4433-bcaa-fb0c0719a3fe</Id>
<Name>sample string 2</Name>
<PropertyTypeId>c1771f4d-325e-44f2-9338-0048d052aa51</PropertyTypeId>
<TriggerId>e30e780f-4990-424d-b178-d65ac8db2059</TriggerId>
<Value>sample string 3</Value>
</TriggerPropertyDto>
<TriggerPropertyDto>
<CreationDate>2025-12-11T20:15:13.2554143+00:00</CreationDate>
<Id>8d451206-dfbe-4433-bcaa-fb0c0719a3fe</Id>
<Name>sample string 2</Name>
<PropertyTypeId>c1771f4d-325e-44f2-9338-0048d052aa51</PropertyTypeId>
<TriggerId>e30e780f-4990-424d-b178-d65ac8db2059</TriggerId>
<Value>sample string 3</Value>
</TriggerPropertyDto>
</Properties>
<Result>sample string 4</Result>
<Status>Pending</Status>
<TenantId>c23444f8-a7c1-4e32-ace8-adf9169723f9</TenantId>
<TriggerTypeId>71a4212f-87fa-4444-86ea-14b5d0f67227</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.