CreateAction Method

Description

Creates a new action.

HTTP Request

POST https://api.skeddly.com/api/Actions/

Body

The body is a JSON structure with the following properties.

actionType

Type of action to create.

Type: string

Valid Values: One of the codes listed in the Action Types table.

Required: Yes

comments

User notes for the action.

Type: string

Required: No

isEnabled

True to indicate that the action is executable. False otherwise.

Type: boolean

Required: No

Default: false

isTriggerBySns

True to indicate that the action should be triggerable by an SNS topic.

Type: boolean

Required: No

Default: false

name

Name of the action.

Type: string

Required: Yes

parameters

Additional action parameters specific to the action type.

Type: ActionParameters object.

Required: Yes

projectId

The ID of the project in which to create the action.

Type: string

Required: Recommended for future compatability

Default Value: The account's default project.

schedule

Schedule for the action.

Type: ActionSchedule object

Required: Yes

tags

Tags for the action.

Type: array of string

Required: No

Returns

An Action object.

Sample Request

Sample Response

Last updated