GET api/v1/Actions

Will return all actions

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Array of ReadActionDto

Collection of ReadActionDto
NameDescriptionTypeAdditional information
Id

Id of action

integer

Required

LastModified

Time action was last modified

date

Required

Name

Name of the action, always unique

string

Required

Description

Description of actioon

string

None.

Priority

Priority of action, lower priority actions get in queue first

integer

Required

TriggerOnDatabaseInsert

Action is triggered on insert to database

boolean

Required

TriggerOnDatabaseUpdate

Action is triggered on database update

boolean

Required

TriggerOnDatabaseDelete

Action is triggered on database delete

boolean

Required

TriggerManually

Action is triggered manually via API

boolean

Required

CommandTask

Command task that will be created for this action - implementation of action

string

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "LastModified": "2024-11-21T06:20:56.5347709+00:00",
    "Name": "sample string 3",
    "Description": "sample string 4",
    "Priority": 5,
    "TriggerOnDatabaseInsert": true,
    "TriggerOnDatabaseUpdate": true,
    "TriggerOnDatabaseDelete": true,
    "TriggerManually": true,
    "CommandTask": "sample string 10"
  },
  {
    "Id": 1,
    "LastModified": "2024-11-21T06:20:56.5347709+00:00",
    "Name": "sample string 3",
    "Description": "sample string 4",
    "Priority": 5,
    "TriggerOnDatabaseInsert": true,
    "TriggerOnDatabaseUpdate": true,
    "TriggerOnDatabaseDelete": true,
    "TriggerManually": true,
    "CommandTask": "sample string 10"
  }
]