> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Data.CommandAction

# <a id="SuperOffice_WebApi_Data_CommandAction" /> Enum CommandAction

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Command action

```csharp theme={null}
public enum CommandAction
```

## Fields

`Implicit = 0`

0: Command should be implicitly executed.

`Ok = 3`

3: The client must display a dialog with Ok-button

`OkCancel = 2`

2: The client must display a dialog with buttons Ok and Cancel.

`YesNo = 1`

1: The client must display a dialog with buttons Yes and No.


## Related topics

- [SuperOffice.WebApi.Data.CommandActionResult](/en/api/reference/webapi/SuperOffice.WebApi.Data.CommandActionResult.md)
- [SuperOffice.WebApi.Data.CustomCommand](/en/api/reference/webapi/SuperOffice.WebApi.Data.CustomCommand.md)
- [SuperOffice.WebApi.Agents.IUserAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IUserAgent.md)
- [SuperOffice.WebApi.Agents.UserAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.UserAgent.md)
- [SuperOffice.WebApi.Data.CommandResult](/en/api/reference/webapi/SuperOffice.WebApi.Data.CommandResult.md)
- [SuperOffice.WebApi.Agents.DocumentAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.DocumentAgent.md)
