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": "90a7ebb1-ab35-4086-a8cc-5aeeaee8cd24",
"Name": "sample string 2",
"Description": "sample string 3",
"CreationDate": "2026-01-10T00:45:17.5682389+00:00",
"CreatorUserId": "b064fe1d-25a6-432d-a487-8aaa8f4c4fe3",
"IsDeleted": true,
"PropertyTypes": [
{
"Id": "4c60e78d-c1f5-4b4f-b931-4e760dacd743",
"Name": "sample string 2",
"CreationDate": "2026-01-10T00:45:17.5682389+00:00",
"CreatorUserId": "5a16ce92-26e4-4f18-b0f6-616f63b4c8a4",
"Description": "sample string 5",
"DataType": 0,
"IsRequired": true,
"IsDeleted": true,
"ActionTypeId": "cfca2336-009a-4486-8781-3ae80f309d73",
"Options": [
{
"Id": "3aa45101-bdbc-4f5d-9ed5-e3994e9b15d6",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T00:45:17.5682389+00:00",
"PropertyTypeId": "3dbeae5e-800e-4be6-a63b-e008057fdaf6"
},
{
"Id": "3aa45101-bdbc-4f5d-9ed5-e3994e9b15d6",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T00:45:17.5682389+00:00",
"PropertyTypeId": "3dbeae5e-800e-4be6-a63b-e008057fdaf6"
}
]
},
{
"Id": "4c60e78d-c1f5-4b4f-b931-4e760dacd743",
"Name": "sample string 2",
"CreationDate": "2026-01-10T00:45:17.5682389+00:00",
"CreatorUserId": "5a16ce92-26e4-4f18-b0f6-616f63b4c8a4",
"Description": "sample string 5",
"DataType": 0,
"IsRequired": true,
"IsDeleted": true,
"ActionTypeId": "cfca2336-009a-4486-8781-3ae80f309d73",
"Options": [
{
"Id": "3aa45101-bdbc-4f5d-9ed5-e3994e9b15d6",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T00:45:17.5682389+00:00",
"PropertyTypeId": "3dbeae5e-800e-4be6-a63b-e008057fdaf6"
},
{
"Id": "3aa45101-bdbc-4f5d-9ed5-e3994e9b15d6",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T00:45:17.5682389+00:00",
"PropertyTypeId": "3dbeae5e-800e-4be6-a63b-e008057fdaf6"
}
]
}
]
}
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-10T00:45:17.5682389+00:00</CreationDate>
<CreatorUserId>b064fe1d-25a6-432d-a487-8aaa8f4c4fe3</CreatorUserId>
<Description>sample string 3</Description>
<Id>90a7ebb1-ab35-4086-a8cc-5aeeaee8cd24</Id>
<IsDeleted>true</IsDeleted>
<Name>sample string 2</Name>
<PropertyTypes>
<SubscriptionActionPropertyTypeDto>
<ActionTypeId>cfca2336-009a-4486-8781-3ae80f309d73</ActionTypeId>
<CreationDate>2026-01-10T00:45:17.5682389+00:00</CreationDate>
<CreatorUserId>5a16ce92-26e4-4f18-b0f6-616f63b4c8a4</CreatorUserId>
<DataType>Bool</DataType>
<Description>sample string 5</Description>
<Id>4c60e78d-c1f5-4b4f-b931-4e760dacd743</Id>
<IsDeleted>true</IsDeleted>
<IsRequired>true</IsRequired>
<Name>sample string 2</Name>
<Options>
<SubscriptionActionPropertyOptionDto>
<CreationDate>2026-01-10T00:45:17.5682389+00:00</CreationDate>
<Id>3aa45101-bdbc-4f5d-9ed5-e3994e9b15d6</Id>
<Name>sample string 2</Name>
<PropertyTypeId>3dbeae5e-800e-4be6-a63b-e008057fdaf6</PropertyTypeId>
<Value>sample string 3</Value>
</SubscriptionActionPropertyOptionDto>
<SubscriptionActionPropertyOptionDto>
<CreationDate>2026-01-10T00:45:17.5682389+00:00</CreationDate>
<Id>3aa45101-bdbc-4f5d-9ed5-e3994e9b15d6</Id>
<Name>sample string 2</Name>
<PropertyTypeId>3dbeae5e-800e-4be6-a63b-e008057fdaf6</PropertyTypeId>
<Value>sample string 3</Value>
</SubscriptionActionPropertyOptionDto>
</Options>
</SubscriptionActionPropertyTypeDto>
<SubscriptionActionPropertyTypeDto>
<ActionTypeId>cfca2336-009a-4486-8781-3ae80f309d73</ActionTypeId>
<CreationDate>2026-01-10T00:45:17.5682389+00:00</CreationDate>
<CreatorUserId>5a16ce92-26e4-4f18-b0f6-616f63b4c8a4</CreatorUserId>
<DataType>Bool</DataType>
<Description>sample string 5</Description>
<Id>4c60e78d-c1f5-4b4f-b931-4e760dacd743</Id>
<IsDeleted>true</IsDeleted>
<IsRequired>true</IsRequired>
<Name>sample string 2</Name>
<Options>
<SubscriptionActionPropertyOptionDto>
<CreationDate>2026-01-10T00:45:17.5682389+00:00</CreationDate>
<Id>3aa45101-bdbc-4f5d-9ed5-e3994e9b15d6</Id>
<Name>sample string 2</Name>
<PropertyTypeId>3dbeae5e-800e-4be6-a63b-e008057fdaf6</PropertyTypeId>
<Value>sample string 3</Value>
</SubscriptionActionPropertyOptionDto>
<SubscriptionActionPropertyOptionDto>
<CreationDate>2026-01-10T00:45:17.5682389+00:00</CreationDate>
<Id>3aa45101-bdbc-4f5d-9ed5-e3994e9b15d6</Id>
<Name>sample string 2</Name>
<PropertyTypeId>3dbeae5e-800e-4be6-a63b-e008057fdaf6</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.