Create an action in an action group
POST/api/v1/ActionGroup/Action
Adds a new action to the end of an existing action group and updates the group modified details. If you send no parameters, the action gets the template's default parameter values. When the template needs a paired action and you include pairedAction, the paired action is created as well.
Permission required: Administrator role or the application role.
Values for classification: 0 = PreSession, 1 = Session, 2 = PostSession, 3 = Internal, 4 = Any.
Caution: This call takes effect immediately and changes the steps that run in later sessions for the activity that uses the action group.
Request
Responses
- 201
- 401
- 403
- 500
The action was created. The body is the new action and the Location value points to it.
The request is not signed in.
The signed-in account does not have the required role.
The request failed, for example because the action group does not exist, or a paired action is needed and the action group does not belong to an activity.