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: postPath:
/rest/ofscCore/v1/activities/{activityId}/custom-actions/cancel
- Change activity status from enroute to pending
- Method: postPath:
/rest/ofscCore/v1/activities/{activityId}/custom-actions/stopTravel
- Complete an activity
- Method: postPath:
/rest/ofscCore/v1/activities/{activityId}/custom-actions/complete
- Delay an activity
- Method: postPath:
/rest/ofscCore/v1/activities/{activityId}/custom-actions/delay
- Delete an activity
- Method: deletePath:
/rest/ofscCore/v1/activities/{activityId}
- Move an activity
- Method: postPath:
/rest/ofscCore/v1/activities/{activityId}/custom-actions/move
- Reopen an activity
- Method: postPath:
/rest/ofscCore/v1/activities/{activityId}/custom-actions/reopen
- Start an activity
- Method: postPath:
/rest/ofscCore/v1/activities/{activityId}/custom-actions/start
- Start prework
- Method: postPath:
/rest/ofscCore/v1/activities/{activityId}/custom-actions/startPrework
- Suspend an activity
- Method: postPath:
/rest/ofscCore/v1/activities/{activityId}/custom-actions/suspend
- Update the activity status to enroute
- Method: postPath:
/rest/ofscCore/v1/activities/{activityId}/custom-actions/enroute
- Update the activity status to notdone
- Method: postPath:
/rest/ofscCore/v1/activities/{activityId}/custom-actions/notDone