PUT api/triggers/{id}

Updates a trigger.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the trigger to update.

globally unique identifier

Required

Body Parameters

The trigger model to update with.

TriggerDto
NameDescriptionTypeAdditional 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": "0903bc16-0d50-4a03-8ac6-b93490da80bc",
  "CreationDate": "2025-12-11T20:16:34.8231018+00:00",
  "CreatorUserId": "88172c98-314c-4918-a7bd-59eae7ec60b4",
  "Status": 0,
  "Result": "sample string 4",
  "TenantId": "b6d2c392-61b5-4c6d-81ef-db06840d29e8",
  "TriggerTypeId": "8fe9b675-af2a-47a0-ac79-4ecef749ebe9",
  "Properties": [
    {
      "Id": "a1b4fffa-6f2e-4747-b66e-0060d924eed5",
      "Name": "sample string 2",
      "Value": "sample string 3",
      "CreationDate": "2025-12-11T20:16:34.8231018+00:00",
      "TriggerId": "c3d04904-54b2-405b-94b3-cafa825aaf0f",
      "PropertyTypeId": "05399d90-1f49-4d1c-87cf-7038e31e7e44"
    },
    {
      "Id": "a1b4fffa-6f2e-4747-b66e-0060d924eed5",
      "Name": "sample string 2",
      "Value": "sample string 3",
      "CreationDate": "2025-12-11T20:16:34.8231018+00:00",
      "TriggerId": "c3d04904-54b2-405b-94b3-cafa825aaf0f",
      "PropertyTypeId": "05399d90-1f49-4d1c-87cf-7038e31e7e44"
    }
  ]
}

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:16:34.8231018+00:00</CreationDate>
  <CreatorUserId>88172c98-314c-4918-a7bd-59eae7ec60b4</CreatorUserId>
  <Id>0903bc16-0d50-4a03-8ac6-b93490da80bc</Id>
  <Properties>
    <TriggerPropertyDto>
      <CreationDate>2025-12-11T20:16:34.8231018+00:00</CreationDate>
      <Id>a1b4fffa-6f2e-4747-b66e-0060d924eed5</Id>
      <Name>sample string 2</Name>
      <PropertyTypeId>05399d90-1f49-4d1c-87cf-7038e31e7e44</PropertyTypeId>
      <TriggerId>c3d04904-54b2-405b-94b3-cafa825aaf0f</TriggerId>
      <Value>sample string 3</Value>
    </TriggerPropertyDto>
    <TriggerPropertyDto>
      <CreationDate>2025-12-11T20:16:34.8231018+00:00</CreationDate>
      <Id>a1b4fffa-6f2e-4747-b66e-0060d924eed5</Id>
      <Name>sample string 2</Name>
      <PropertyTypeId>05399d90-1f49-4d1c-87cf-7038e31e7e44</PropertyTypeId>
      <TriggerId>c3d04904-54b2-405b-94b3-cafa825aaf0f</TriggerId>
      <Value>sample string 3</Value>
    </TriggerPropertyDto>
  </Properties>
  <Result>sample string 4</Result>
  <Status>Pending</Status>
  <TenantId>b6d2c392-61b5-4c6d-81ef-db06840d29e8</TenantId>
  <TriggerTypeId>8fe9b675-af2a-47a0-ac79-4ecef749ebe9</TriggerTypeId>
</TriggerDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.