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": "eed59e8c-e1ed-406e-a163-c19e03e6f5b0",
"CreationDate": "2026-01-10T10:22:02.4177868+00:00",
"CreatorUserId": "1e0e0f82-5ab5-423d-9007-5f7ae26dc32b",
"Status": 0,
"Result": "sample string 4",
"TenantId": "4b93be5e-fbad-47dd-8aaa-906e80ea94f9",
"TriggerTypeId": "8729952c-4ca8-47f5-8fc0-34757077d7fa",
"Properties": [
{
"Id": "3e70c5ac-1e78-431a-898e-4912b62b875b",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T10:22:02.4177868+00:00",
"TriggerId": "1046154b-d09e-4907-b8c0-b14b51b0eba8",
"PropertyTypeId": "7fe2c4cc-a8ea-4da1-b643-e3b6c1c1fa72"
},
{
"Id": "3e70c5ac-1e78-431a-898e-4912b62b875b",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T10:22:02.4177868+00:00",
"TriggerId": "1046154b-d09e-4907-b8c0-b14b51b0eba8",
"PropertyTypeId": "7fe2c4cc-a8ea-4da1-b643-e3b6c1c1fa72"
}
]
}
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-10T10:22:02.4177868+00:00</CreationDate>
<CreatorUserId>1e0e0f82-5ab5-423d-9007-5f7ae26dc32b</CreatorUserId>
<Id>eed59e8c-e1ed-406e-a163-c19e03e6f5b0</Id>
<Properties>
<TriggerPropertyDto>
<CreationDate>2026-01-10T10:22:02.4177868+00:00</CreationDate>
<Id>3e70c5ac-1e78-431a-898e-4912b62b875b</Id>
<Name>sample string 2</Name>
<PropertyTypeId>7fe2c4cc-a8ea-4da1-b643-e3b6c1c1fa72</PropertyTypeId>
<TriggerId>1046154b-d09e-4907-b8c0-b14b51b0eba8</TriggerId>
<Value>sample string 3</Value>
</TriggerPropertyDto>
<TriggerPropertyDto>
<CreationDate>2026-01-10T10:22:02.4177868+00:00</CreationDate>
<Id>3e70c5ac-1e78-431a-898e-4912b62b875b</Id>
<Name>sample string 2</Name>
<PropertyTypeId>7fe2c4cc-a8ea-4da1-b643-e3b6c1c1fa72</PropertyTypeId>
<TriggerId>1046154b-d09e-4907-b8c0-b14b51b0eba8</TriggerId>
<Value>sample string 3</Value>
</TriggerPropertyDto>
</Properties>
<Result>sample string 4</Result>
<Status>Pending</Status>
<TenantId>4b93be5e-fbad-47dd-8aaa-906e80ea94f9</TenantId>
<TriggerTypeId>8729952c-4ca8-47f5-8fc0-34757077d7fa</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.