PUT api/SubscriptionActionTypes/{id}
Updates a subscription action type.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the subscription action type to update. |
globally unique identifier |
Required |
Body Parameters
The subscription action type model to update with.
SubscriptionActionTypeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 512 |
|
| Description | string |
None. |
|
| CreationDate | date |
Required |
|
| CreatorUserId | globally unique identifier |
Required |
|
| IsDeleted | boolean |
None. |
|
| PropertyTypes | Collection of SubscriptionActionPropertyTypeDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "2734f794-18f7-48d3-ad9f-5bd4891b83e0",
"Name": "sample string 2",
"Description": "sample string 3",
"CreationDate": "2026-01-10T18:55:45.1451189+00:00",
"CreatorUserId": "8204ab84-4f07-4b2d-af7a-1022aeebc746",
"IsDeleted": true,
"PropertyTypes": [
{
"Id": "c8011ef3-d429-4fee-b7bb-c4173c7d1fb3",
"Name": "sample string 2",
"CreationDate": "2026-01-10T18:55:45.1451189+00:00",
"CreatorUserId": "691aaf98-4c5c-4f44-960c-001703074bc9",
"Description": "sample string 5",
"DataType": 0,
"IsRequired": true,
"IsDeleted": true,
"ActionTypeId": "3872ba88-1a46-46b4-b3c4-53e47f1c3483",
"Options": [
{
"Id": "4119c477-53d6-4ce1-9032-7acbe1e48b7a",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T18:55:45.1451189+00:00",
"PropertyTypeId": "77f41ed5-6106-44d4-bb37-dcca2bc236b8"
},
{
"Id": "4119c477-53d6-4ce1-9032-7acbe1e48b7a",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T18:55:45.1451189+00:00",
"PropertyTypeId": "77f41ed5-6106-44d4-bb37-dcca2bc236b8"
}
]
},
{
"Id": "c8011ef3-d429-4fee-b7bb-c4173c7d1fb3",
"Name": "sample string 2",
"CreationDate": "2026-01-10T18:55:45.1451189+00:00",
"CreatorUserId": "691aaf98-4c5c-4f44-960c-001703074bc9",
"Description": "sample string 5",
"DataType": 0,
"IsRequired": true,
"IsDeleted": true,
"ActionTypeId": "3872ba88-1a46-46b4-b3c4-53e47f1c3483",
"Options": [
{
"Id": "4119c477-53d6-4ce1-9032-7acbe1e48b7a",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T18:55:45.1451189+00:00",
"PropertyTypeId": "77f41ed5-6106-44d4-bb37-dcca2bc236b8"
},
{
"Id": "4119c477-53d6-4ce1-9032-7acbe1e48b7a",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T18:55:45.1451189+00:00",
"PropertyTypeId": "77f41ed5-6106-44d4-bb37-dcca2bc236b8"
}
]
}
]
}
application/xml, text/xml
Sample:
<SubscriptionActionTypeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Notification.Models">
<CreationDate>2026-01-10T18:55:45.1451189+00:00</CreationDate>
<CreatorUserId>8204ab84-4f07-4b2d-af7a-1022aeebc746</CreatorUserId>
<Description>sample string 3</Description>
<Id>2734f794-18f7-48d3-ad9f-5bd4891b83e0</Id>
<IsDeleted>true</IsDeleted>
<Name>sample string 2</Name>
<PropertyTypes>
<SubscriptionActionPropertyTypeDto>
<ActionTypeId>3872ba88-1a46-46b4-b3c4-53e47f1c3483</ActionTypeId>
<CreationDate>2026-01-10T18:55:45.1451189+00:00</CreationDate>
<CreatorUserId>691aaf98-4c5c-4f44-960c-001703074bc9</CreatorUserId>
<DataType>Bool</DataType>
<Description>sample string 5</Description>
<Id>c8011ef3-d429-4fee-b7bb-c4173c7d1fb3</Id>
<IsDeleted>true</IsDeleted>
<IsRequired>true</IsRequired>
<Name>sample string 2</Name>
<Options>
<SubscriptionActionPropertyOptionDto>
<CreationDate>2026-01-10T18:55:45.1451189+00:00</CreationDate>
<Id>4119c477-53d6-4ce1-9032-7acbe1e48b7a</Id>
<Name>sample string 2</Name>
<PropertyTypeId>77f41ed5-6106-44d4-bb37-dcca2bc236b8</PropertyTypeId>
<Value>sample string 3</Value>
</SubscriptionActionPropertyOptionDto>
<SubscriptionActionPropertyOptionDto>
<CreationDate>2026-01-10T18:55:45.1451189+00:00</CreationDate>
<Id>4119c477-53d6-4ce1-9032-7acbe1e48b7a</Id>
<Name>sample string 2</Name>
<PropertyTypeId>77f41ed5-6106-44d4-bb37-dcca2bc236b8</PropertyTypeId>
<Value>sample string 3</Value>
</SubscriptionActionPropertyOptionDto>
</Options>
</SubscriptionActionPropertyTypeDto>
<SubscriptionActionPropertyTypeDto>
<ActionTypeId>3872ba88-1a46-46b4-b3c4-53e47f1c3483</ActionTypeId>
<CreationDate>2026-01-10T18:55:45.1451189+00:00</CreationDate>
<CreatorUserId>691aaf98-4c5c-4f44-960c-001703074bc9</CreatorUserId>
<DataType>Bool</DataType>
<Description>sample string 5</Description>
<Id>c8011ef3-d429-4fee-b7bb-c4173c7d1fb3</Id>
<IsDeleted>true</IsDeleted>
<IsRequired>true</IsRequired>
<Name>sample string 2</Name>
<Options>
<SubscriptionActionPropertyOptionDto>
<CreationDate>2026-01-10T18:55:45.1451189+00:00</CreationDate>
<Id>4119c477-53d6-4ce1-9032-7acbe1e48b7a</Id>
<Name>sample string 2</Name>
<PropertyTypeId>77f41ed5-6106-44d4-bb37-dcca2bc236b8</PropertyTypeId>
<Value>sample string 3</Value>
</SubscriptionActionPropertyOptionDto>
<SubscriptionActionPropertyOptionDto>
<CreationDate>2026-01-10T18:55:45.1451189+00:00</CreationDate>
<Id>4119c477-53d6-4ce1-9032-7acbe1e48b7a</Id>
<Name>sample string 2</Name>
<PropertyTypeId>77f41ed5-6106-44d4-bb37-dcca2bc236b8</PropertyTypeId>
<Value>sample string 3</Value>
</SubscriptionActionPropertyOptionDto>
</Options>
</SubscriptionActionPropertyTypeDto>
</PropertyTypes>
</SubscriptionActionTypeDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.