Hey there :)
I've been trying to create and update ScheduledTasks of type "ActionsOnPlayerSegment", but could not figure out how to use the API in any meaningful way. Specifically I've been looking at
Both do not seem to have a way to specify the tasks actions. The ActionsOnPlayersInSegmentTaskParameter only has an "ActionId", but I could not figure out a way to use that.
Is there any way to create or update an action with a certain ActionId? If not, how is it possible to create/modify actions for a task via the API? (I'm aware it can be done in the webinterface, but that's not what this is about.). In this specific case, what we need to do is change the parameters of a cloudscript-action that is executed on a player segment.