POST api/SubscriptionActionRuns

Creates a subscription action.

Request Information

URI Parameters

None.

Body Parameters

The subscription action model to create with.

SubscriptionActionRunDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Result

string

None.

Status

SubscriptionActionStatusDto

None.

CreationDate

date

None.

CreatorUserId

globally unique identifier

None.

Duration

time interval

None.

ActionId

globally unique identifier

None.

TriggerId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "aa2b5d40-c08b-418c-981f-9f7167a00eae",
  "Result": "sample string 2",
  "Status": 0,
  "CreationDate": "2025-12-11T20:16:35.8102563+00:00",
  "CreatorUserId": "ec622f87-2480-4672-b004-4c57af13bea9",
  "Duration": "00:00:00.1234567",
  "ActionId": "c8d09076-467d-4bf8-ac32-e4ef6cc7737c",
  "TriggerId": "b7271c56-b1a5-4d19-9140-1b59788aa8a6"
}

application/xml, text/xml

Sample:
<SubscriptionActionRunDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Notification.Models">
  <ActionId>c8d09076-467d-4bf8-ac32-e4ef6cc7737c</ActionId>
  <CreationDate>2025-12-11T20:16:35.8102563+00:00</CreationDate>
  <CreatorUserId>ec622f87-2480-4672-b004-4c57af13bea9</CreatorUserId>
  <Duration>PT0.1234567S</Duration>
  <Id>aa2b5d40-c08b-418c-981f-9f7167a00eae</Id>
  <Result>sample string 2</Result>
  <Status>Pending</Status>
  <TriggerId>b7271c56-b1a5-4d19-9140-1b59788aa8a6</TriggerId>
</SubscriptionActionRunDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.