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": "03336bf0-556a-4fef-908a-4b314dc6568c",
"Name": "sample string 2",
"Description": "sample string 3",
"CreationDate": "2025-12-11T20:16:35.3089829+00:00",
"CreatorUserId": "2b097ba5-8984-49d2-81f8-826b2959c714",
"IsDeleted": true,
"PropertyTypes": [
{
"Id": "d201e27c-e762-4d1b-9ac1-f10acaaabc8b",
"Name": "sample string 2",
"CreationDate": "2025-12-11T20:16:35.3089829+00:00",
"CreatorUserId": "dbcef578-6210-4f8e-9994-a3797ccd9e39",
"Description": "sample string 5",
"DataType": 0,
"IsRequired": true,
"IsDeleted": true,
"ActionTypeId": "4b58d3f9-2e9c-49f1-8ec7-e79737ff96a8",
"Options": [
{
"Id": "3f2550a1-32af-47d2-b1bc-5b859474d1cc",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-11T20:16:35.3089829+00:00",
"PropertyTypeId": "ed15cbcf-e4bf-4327-b0c3-92c27c4ff8f8"
},
{
"Id": "3f2550a1-32af-47d2-b1bc-5b859474d1cc",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-11T20:16:35.3089829+00:00",
"PropertyTypeId": "ed15cbcf-e4bf-4327-b0c3-92c27c4ff8f8"
}
]
},
{
"Id": "d201e27c-e762-4d1b-9ac1-f10acaaabc8b",
"Name": "sample string 2",
"CreationDate": "2025-12-11T20:16:35.3089829+00:00",
"CreatorUserId": "dbcef578-6210-4f8e-9994-a3797ccd9e39",
"Description": "sample string 5",
"DataType": 0,
"IsRequired": true,
"IsDeleted": true,
"ActionTypeId": "4b58d3f9-2e9c-49f1-8ec7-e79737ff96a8",
"Options": [
{
"Id": "3f2550a1-32af-47d2-b1bc-5b859474d1cc",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-11T20:16:35.3089829+00:00",
"PropertyTypeId": "ed15cbcf-e4bf-4327-b0c3-92c27c4ff8f8"
},
{
"Id": "3f2550a1-32af-47d2-b1bc-5b859474d1cc",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-11T20:16:35.3089829+00:00",
"PropertyTypeId": "ed15cbcf-e4bf-4327-b0c3-92c27c4ff8f8"
}
]
}
]
}
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>2025-12-11T20:16:35.3089829+00:00</CreationDate>
<CreatorUserId>2b097ba5-8984-49d2-81f8-826b2959c714</CreatorUserId>
<Description>sample string 3</Description>
<Id>03336bf0-556a-4fef-908a-4b314dc6568c</Id>
<IsDeleted>true</IsDeleted>
<Name>sample string 2</Name>
<PropertyTypes>
<SubscriptionActionPropertyTypeDto>
<ActionTypeId>4b58d3f9-2e9c-49f1-8ec7-e79737ff96a8</ActionTypeId>
<CreationDate>2025-12-11T20:16:35.3089829+00:00</CreationDate>
<CreatorUserId>dbcef578-6210-4f8e-9994-a3797ccd9e39</CreatorUserId>
<DataType>Bool</DataType>
<Description>sample string 5</Description>
<Id>d201e27c-e762-4d1b-9ac1-f10acaaabc8b</Id>
<IsDeleted>true</IsDeleted>
<IsRequired>true</IsRequired>
<Name>sample string 2</Name>
<Options>
<SubscriptionActionPropertyOptionDto>
<CreationDate>2025-12-11T20:16:35.3089829+00:00</CreationDate>
<Id>3f2550a1-32af-47d2-b1bc-5b859474d1cc</Id>
<Name>sample string 2</Name>
<PropertyTypeId>ed15cbcf-e4bf-4327-b0c3-92c27c4ff8f8</PropertyTypeId>
<Value>sample string 3</Value>
</SubscriptionActionPropertyOptionDto>
<SubscriptionActionPropertyOptionDto>
<CreationDate>2025-12-11T20:16:35.3089829+00:00</CreationDate>
<Id>3f2550a1-32af-47d2-b1bc-5b859474d1cc</Id>
<Name>sample string 2</Name>
<PropertyTypeId>ed15cbcf-e4bf-4327-b0c3-92c27c4ff8f8</PropertyTypeId>
<Value>sample string 3</Value>
</SubscriptionActionPropertyOptionDto>
</Options>
</SubscriptionActionPropertyTypeDto>
<SubscriptionActionPropertyTypeDto>
<ActionTypeId>4b58d3f9-2e9c-49f1-8ec7-e79737ff96a8</ActionTypeId>
<CreationDate>2025-12-11T20:16:35.3089829+00:00</CreationDate>
<CreatorUserId>dbcef578-6210-4f8e-9994-a3797ccd9e39</CreatorUserId>
<DataType>Bool</DataType>
<Description>sample string 5</Description>
<Id>d201e27c-e762-4d1b-9ac1-f10acaaabc8b</Id>
<IsDeleted>true</IsDeleted>
<IsRequired>true</IsRequired>
<Name>sample string 2</Name>
<Options>
<SubscriptionActionPropertyOptionDto>
<CreationDate>2025-12-11T20:16:35.3089829+00:00</CreationDate>
<Id>3f2550a1-32af-47d2-b1bc-5b859474d1cc</Id>
<Name>sample string 2</Name>
<PropertyTypeId>ed15cbcf-e4bf-4327-b0c3-92c27c4ff8f8</PropertyTypeId>
<Value>sample string 3</Value>
</SubscriptionActionPropertyOptionDto>
<SubscriptionActionPropertyOptionDto>
<CreationDate>2025-12-11T20:16:35.3089829+00:00</CreationDate>
<Id>3f2550a1-32af-47d2-b1bc-5b859474d1cc</Id>
<Name>sample string 2</Name>
<PropertyTypeId>ed15cbcf-e4bf-4327-b0c3-92c27c4ff8f8</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.