POST api/triggers/many
Creates multiple triggers.
Request Information
URI Parameters
None.
Body Parameters
The list of trigger models to create with.
Collection of 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": "9eb53ba2-71b7-430e-a5b2-5af399082d6b",
"CreationDate": "2026-01-10T18:54:23.2333511+00:00",
"CreatorUserId": "1effde8d-4423-4795-8261-da99daa65ea5",
"Status": 0,
"Result": "sample string 4",
"TenantId": "ba1b2ac4-72cc-47ab-91fa-2c6341668991",
"TriggerTypeId": "ca656cd5-e7cd-499c-9145-215de837b150",
"Properties": [
{
"Id": "f92ffedd-984f-4661-bde4-ad1164e6aaaa",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T18:54:23.2333511+00:00",
"TriggerId": "4909b5f2-1efc-4970-b6e6-939975ebcc09",
"PropertyTypeId": "8f4270cf-8537-4d80-8261-69e8bc73e86c"
},
{
"Id": "f92ffedd-984f-4661-bde4-ad1164e6aaaa",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T18:54:23.2333511+00:00",
"TriggerId": "4909b5f2-1efc-4970-b6e6-939975ebcc09",
"PropertyTypeId": "8f4270cf-8537-4d80-8261-69e8bc73e86c"
}
]
},
{
"Id": "9eb53ba2-71b7-430e-a5b2-5af399082d6b",
"CreationDate": "2026-01-10T18:54:23.2333511+00:00",
"CreatorUserId": "1effde8d-4423-4795-8261-da99daa65ea5",
"Status": 0,
"Result": "sample string 4",
"TenantId": "ba1b2ac4-72cc-47ab-91fa-2c6341668991",
"TriggerTypeId": "ca656cd5-e7cd-499c-9145-215de837b150",
"Properties": [
{
"Id": "f92ffedd-984f-4661-bde4-ad1164e6aaaa",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T18:54:23.2333511+00:00",
"TriggerId": "4909b5f2-1efc-4970-b6e6-939975ebcc09",
"PropertyTypeId": "8f4270cf-8537-4d80-8261-69e8bc73e86c"
},
{
"Id": "f92ffedd-984f-4661-bde4-ad1164e6aaaa",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T18:54:23.2333511+00:00",
"TriggerId": "4909b5f2-1efc-4970-b6e6-939975ebcc09",
"PropertyTypeId": "8f4270cf-8537-4d80-8261-69e8bc73e86c"
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfTriggerDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Notification.Models">
<TriggerDto>
<CreationDate>2026-01-10T18:54:23.2333511+00:00</CreationDate>
<CreatorUserId>1effde8d-4423-4795-8261-da99daa65ea5</CreatorUserId>
<Id>9eb53ba2-71b7-430e-a5b2-5af399082d6b</Id>
<Properties>
<TriggerPropertyDto>
<CreationDate>2026-01-10T18:54:23.2333511+00:00</CreationDate>
<Id>f92ffedd-984f-4661-bde4-ad1164e6aaaa</Id>
<Name>sample string 2</Name>
<PropertyTypeId>8f4270cf-8537-4d80-8261-69e8bc73e86c</PropertyTypeId>
<TriggerId>4909b5f2-1efc-4970-b6e6-939975ebcc09</TriggerId>
<Value>sample string 3</Value>
</TriggerPropertyDto>
<TriggerPropertyDto>
<CreationDate>2026-01-10T18:54:23.2333511+00:00</CreationDate>
<Id>f92ffedd-984f-4661-bde4-ad1164e6aaaa</Id>
<Name>sample string 2</Name>
<PropertyTypeId>8f4270cf-8537-4d80-8261-69e8bc73e86c</PropertyTypeId>
<TriggerId>4909b5f2-1efc-4970-b6e6-939975ebcc09</TriggerId>
<Value>sample string 3</Value>
</TriggerPropertyDto>
</Properties>
<Result>sample string 4</Result>
<Status>Pending</Status>
<TenantId>ba1b2ac4-72cc-47ab-91fa-2c6341668991</TenantId>
<TriggerTypeId>ca656cd5-e7cd-499c-9145-215de837b150</TriggerTypeId>
</TriggerDto>
<TriggerDto>
<CreationDate>2026-01-10T18:54:23.2333511+00:00</CreationDate>
<CreatorUserId>1effde8d-4423-4795-8261-da99daa65ea5</CreatorUserId>
<Id>9eb53ba2-71b7-430e-a5b2-5af399082d6b</Id>
<Properties>
<TriggerPropertyDto>
<CreationDate>2026-01-10T18:54:23.2333511+00:00</CreationDate>
<Id>f92ffedd-984f-4661-bde4-ad1164e6aaaa</Id>
<Name>sample string 2</Name>
<PropertyTypeId>8f4270cf-8537-4d80-8261-69e8bc73e86c</PropertyTypeId>
<TriggerId>4909b5f2-1efc-4970-b6e6-939975ebcc09</TriggerId>
<Value>sample string 3</Value>
</TriggerPropertyDto>
<TriggerPropertyDto>
<CreationDate>2026-01-10T18:54:23.2333511+00:00</CreationDate>
<Id>f92ffedd-984f-4661-bde4-ad1164e6aaaa</Id>
<Name>sample string 2</Name>
<PropertyTypeId>8f4270cf-8537-4d80-8261-69e8bc73e86c</PropertyTypeId>
<TriggerId>4909b5f2-1efc-4970-b6e6-939975ebcc09</TriggerId>
<Value>sample string 3</Value>
</TriggerPropertyDto>
</Properties>
<Result>sample string 4</Result>
<Status>Pending</Status>
<TenantId>ba1b2ac4-72cc-47ab-91fa-2c6341668991</TenantId>
<TriggerTypeId>ca656cd5-e7cd-499c-9145-215de837b150</TriggerTypeId>
</TriggerDto>
</ArrayOfTriggerDto>
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.