> ## 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.CommandResult

# <a id="SuperOffice_WebApi_Data_CommandResult" /> Class CommandResult

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

Carrier object for CommandResult.
Generic carrier object for entity commands.

```csharp theme={null}
public class CommandResult : Carrier
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[CommandResult](SuperOffice.WebApi.Data.CommandResult.md)

#### Inherited Members

[Carrier.TableRight](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_TableRight),
[Carrier.FieldProperties](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_FieldProperties),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### <a id="SuperOffice_WebApi_Data_CommandResult__ctor" /> CommandResult()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public CommandResult()
```

## Properties

### <a id="SuperOffice_WebApi_Data_CommandResult_Message" /> Message

Message which should be displayed in GUI.

```csharp theme={null}
public virtual string Message { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_CommandResult_Result" /> Result

The result used in this action.
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public CommandActionResult? Result { get; set; }
```

#### Property Value

[CommandActionResult](SuperOffice.WebApi.Data.CommandActionResult.md)?

#### See Also

[CommandResult](SuperOffice.WebApi.Data.CommandResult.md).[Result\_String](SuperOffice.WebApi.Data.CommandResult.md#SuperOffice_WebApi_Data_CommandResult_Result_String)

### <a id="SuperOffice_WebApi_Data_CommandResult_Result_String" /> Result\_String

The result used in this action.
Raw string enum value.

```csharp theme={null}
[JsonProperty("Result")]
public string Result_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[CommandResult](SuperOffice.WebApi.Data.CommandResult.md).[Result](SuperOffice.WebApi.Data.CommandResult.md#SuperOffice_WebApi_Data_CommandResult_Result)

### <a id="SuperOffice_WebApi_Data_CommandResult_Success" /> Success

The command was successfully executed.

```csharp theme={null}
public virtual bool Success { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)


## Related topics

- [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.CommandActionResult](/en/api/reference/webapi/SuperOffice.WebApi.Data.CommandActionResult.md)
- [SuperOffice.WebApi.Data.CommandInfo](/en/api/reference/webapi/SuperOffice.WebApi.Data.CommandInfo.md)
- [SuperOffice.WebApi.Data.CommandAction](/en/api/reference/webapi/SuperOffice.WebApi.Data.CommandAction.md)
- [SuperOffice.WebApi.Data.CustomCommand](/en/api/reference/webapi/SuperOffice.WebApi.Data.CustomCommand.md)
