POST api/SubscriptionActionTypes
Creates a subscription action type.
Request Information
URI Parameters
None.
Body Parameters
The subscription action type model to create 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": "14c7649c-0a3e-4720-a726-47bd8078ecc0",
"Name": "sample string 2",
"Description": "sample string 3",
"CreationDate": "2025-12-11T20:15:12.7544691+00:00",
"CreatorUserId": "de5eff87-75f1-415b-a5ee-cb98dfffe471",
"IsDeleted": true,
"PropertyTypes": [
{
"Id": "19f1039d-3d48-4dab-801d-64e89014aeb2",
"Name": "sample string 2",
"CreationDate": "2025-12-11T20:15:12.7544691+00:00",
"CreatorUserId": "a52c23b0-e5cf-4b2f-950f-e71cf269dd2b",
"Description": "sample string 5",
"DataType": 0,
"IsRequired": true,
"IsDeleted": true,
"ActionTypeId": "f7e99745-e4d6-4972-8082-e8e876b6aaab",
"Options": [
{
"Id": "8719484b-5286-4d16-915d-46729476f1f1",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-11T20:15:12.7544691+00:00",
"PropertyTypeId": "2bf03450-a2f9-456e-859e-b20af165bc06"
},
{
"Id": "8719484b-5286-4d16-915d-46729476f1f1",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-11T20:15:12.7544691+00:00",
"PropertyTypeId": "2bf03450-a2f9-456e-859e-b20af165bc06"
}
]
},
{
"Id": "19f1039d-3d48-4dab-801d-64e89014aeb2",
"Name": "sample string 2",
"CreationDate": "2025-12-11T20:15:12.7544691+00:00",
"CreatorUserId": "a52c23b0-e5cf-4b2f-950f-e71cf269dd2b",
"Description": "sample string 5",
"DataType": 0,
"IsRequired": true,
"IsDeleted": true,
"ActionTypeId": "f7e99745-e4d6-4972-8082-e8e876b6aaab",
"Options": [
{
"Id": "8719484b-5286-4d16-915d-46729476f1f1",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-11T20:15:12.7544691+00:00",
"PropertyTypeId": "2bf03450-a2f9-456e-859e-b20af165bc06"
},
{
"Id": "8719484b-5286-4d16-915d-46729476f1f1",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-11T20:15:12.7544691+00:00",
"PropertyTypeId": "2bf03450-a2f9-456e-859e-b20af165bc06"
}
]
}
]
}
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:15:12.7544691+00:00</CreationDate>
<CreatorUserId>de5eff87-75f1-415b-a5ee-cb98dfffe471</CreatorUserId>
<Description>sample string 3</Description>
<Id>14c7649c-0a3e-4720-a726-47bd8078ecc0</Id>
<IsDeleted>true</IsDeleted>
<Name>sample string 2</Name>
<PropertyTypes>
<SubscriptionActionPropertyTypeDto>
<ActionTypeId>f7e99745-e4d6-4972-8082-e8e876b6aaab</ActionTypeId>
<CreationDate>2025-12-11T20:15:12.7544691+00:00</CreationDate>
<CreatorUserId>a52c23b0-e5cf-4b2f-950f-e71cf269dd2b</CreatorUserId>
<DataType>Bool</DataType>
<Description>sample string 5</Description>
<Id>19f1039d-3d48-4dab-801d-64e89014aeb2</Id>
<IsDeleted>true</IsDeleted>
<IsRequired>true</IsRequired>
<Name>sample string 2</Name>
<Options>
<SubscriptionActionPropertyOptionDto>
<CreationDate>2025-12-11T20:15:12.7544691+00:00</CreationDate>
<Id>8719484b-5286-4d16-915d-46729476f1f1</Id>
<Name>sample string 2</Name>
<PropertyTypeId>2bf03450-a2f9-456e-859e-b20af165bc06</PropertyTypeId>
<Value>sample string 3</Value>
</SubscriptionActionPropertyOptionDto>
<SubscriptionActionPropertyOptionDto>
<CreationDate>2025-12-11T20:15:12.7544691+00:00</CreationDate>
<Id>8719484b-5286-4d16-915d-46729476f1f1</Id>
<Name>sample string 2</Name>
<PropertyTypeId>2bf03450-a2f9-456e-859e-b20af165bc06</PropertyTypeId>
<Value>sample string 3</Value>
</SubscriptionActionPropertyOptionDto>
</Options>
</SubscriptionActionPropertyTypeDto>
<SubscriptionActionPropertyTypeDto>
<ActionTypeId>f7e99745-e4d6-4972-8082-e8e876b6aaab</ActionTypeId>
<CreationDate>2025-12-11T20:15:12.7544691+00:00</CreationDate>
<CreatorUserId>a52c23b0-e5cf-4b2f-950f-e71cf269dd2b</CreatorUserId>
<DataType>Bool</DataType>
<Description>sample string 5</Description>
<Id>19f1039d-3d48-4dab-801d-64e89014aeb2</Id>
<IsDeleted>true</IsDeleted>
<IsRequired>true</IsRequired>
<Name>sample string 2</Name>
<Options>
<SubscriptionActionPropertyOptionDto>
<CreationDate>2025-12-11T20:15:12.7544691+00:00</CreationDate>
<Id>8719484b-5286-4d16-915d-46729476f1f1</Id>
<Name>sample string 2</Name>
<PropertyTypeId>2bf03450-a2f9-456e-859e-b20af165bc06</PropertyTypeId>
<Value>sample string 3</Value>
</SubscriptionActionPropertyOptionDto>
<SubscriptionActionPropertyOptionDto>
<CreationDate>2025-12-11T20:15:12.7544691+00:00</CreationDate>
<Id>8719484b-5286-4d16-915d-46729476f1f1</Id>
<Name>sample string 2</Name>
<PropertyTypeId>2bf03450-a2f9-456e-859e-b20af165bc06</PropertyTypeId>
<Value>sample string 3</Value>
</SubscriptionActionPropertyOptionDto>
</Options>
</SubscriptionActionPropertyTypeDto>
</PropertyTypes>
</SubscriptionActionTypeDto>
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.