Activity Actions REST Endpoints

Core/Activities/Activity Actions
The activity actions resource is used to perform various actions on activities such as start activity, delay activity, move activity, complete activity, and so on.
Cancel an activity
Method: post
Path: /rest/ofscCore/v1/activities/{activityId}/custom-actions/cancel
Complete an activity
Method: post
Path: /rest/ofscCore/v1/activities/{activityId}/custom-actions/complete
Delay an activity
Method: post
Path: /rest/ofscCore/v1/activities/{activityId}/custom-actions/delay
Delete an activity
Method: delete
Path: /rest/ofscCore/v1/activities/{activityId}
Move an activity
Method: post
Path: /rest/ofscCore/v1/activities/{activityId}/custom-actions/move
Reopen an activity
Method: post
Path: /rest/ofscCore/v1/activities/{activityId}/custom-actions/reopen
Start an activity
Method: post
Path: /rest/ofscCore/v1/activities/{activityId}/custom-actions/start
Start prework
Method: post
Path: /rest/ofscCore/v1/activities/{activityId}/custom-actions/startPrework
Suspend an activity
Method: post
Path: /rest/ofscCore/v1/activities/{activityId}/custom-actions/suspend
Update the activity status to notdone
Method: post
Path: /rest/ofscCore/v1/activities/{activityId}/custom-actions/notDone