What is this parameter <Action> in post method body of apply fixlet API

I understand that Action1 can be get from get fixlet API …but exaclty not understanding why and what is this parameter??

Picture reference:
https://developer.bigfix.com/rest-api/api/action.html

Action1 is the ID of the action within the fixlet - you can have multiple actions within one fixlet/task, so whem executing it you need a way to specify which one you are using. In most cases, you may only have one (I certainly rarely create fixlets with multiple) but it is always a possibility, hence the need for that parameter:

ok thanks for the help @ageorgiev

but if there are multple actions … for suppose 3 actions ids are there …then we have to tigger post api 3 times with indiviudal action ID in order to apply one fixlet??

Or is there any we can run all the action script in a fixlets with one post api trigger?

@JasonWalker…ur thoughts please

There is a way to submit “multi action group” but unfortunately doesn’t seem the documentation has an example of that: https://developer.bigfix.com/rest-api/api/action.html. Maybe someone else has an example for you they can share here.

Within a single task/Fixlet, you generally only want to run one of the named actions. These are the actions with different behaviors you can choose from the Take Action dialog.
Often, an application update requires the application to be stopped on the endpoint; a default action might attempt the upgrade and fail if the application is running, or an Action2 might forcibly kill the open process before attempting an upgrade.