So im trying to call the Admin API and calling CreateActionsOnPlayersInSegmentTask. One of the parameters is PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskParameter which takes a SegmentId and a ActionId. What i want to know is where do you create/setup an action to be performed on the segment.
Currently you can set up a Scheduled task via the browser and run a task on a segment and create a list of Actions to perform on the segment. When i try to automate this process in code, Im not sure where im supposed to get the Action Id from. I tried using the id of a preconfigured Task i created, but that returns a error InvalidTaskSchedule.
Can someone please point me in the right direction for where you get the ActionId from.
Thanks