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

# <a id="SuperOffice_WebApi_Data_PluginResponse" /> Class PluginResponse

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

Carrier object for PluginResponse.
PluginResponse exists to be able to respond with more than just a true/false, but also an explanation. Such an explanation can be displayed on for instance a disabled “Place Order” button.

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

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[PluginResponse](SuperOffice.WebApi.Data.PluginResponse.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_PluginResponse__ctor" /> PluginResponse()

Default constructor - defaults any enum props to 0.

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

## Properties

### <a id="SuperOffice_WebApi_Data_PluginResponse_Changes" /> Changes

Tablename/recordid of data changed by this method, that the client may need to reload

```csharp theme={null}
public virtual ChangedData Changes { get; set; }
```

#### Property Value

[ChangedData](SuperOffice.WebApi.Data.ChangedData.md)

### <a id="SuperOffice_WebApi_Data_PluginResponse_ErrorCode" /> ErrorCode

An error code, if available.

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_PluginResponse_IsOk" /> IsOk

Answer to the question / An indication if the operation went well. Equivalent to Status != Error

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_PluginResponse_Status" /> Status

QuoteStatus = Ok / OkWithInfo / Warn / Error. Error implies IsOk = false.
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public QuoteStatus? Status { get; set; }
```

#### Property Value

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

#### See Also

[PluginResponse](SuperOffice.WebApi.Data.PluginResponse.md).[Status\_String](SuperOffice.WebApi.Data.PluginResponse.md#SuperOffice_WebApi_Data_PluginResponse_Status_String)

### <a id="SuperOffice_WebApi_Data_PluginResponse_Status_String" /> Status\_String

QuoteStatus = Ok / OkWithInfo / Warn / Error. Error implies IsOk = false.
Raw string enum value.

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

#### Property Value

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

#### See Also

[PluginResponse](SuperOffice.WebApi.Data.PluginResponse.md).[Status](SuperOffice.WebApi.Data.PluginResponse.md#SuperOffice_WebApi_Data_PluginResponse_Status)

### <a id="SuperOffice_WebApi_Data_PluginResponse_TechExplanation" /> TechExplanation

Always in English

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_PluginResponse_UserExplanation" /> UserExplanation

A localized explanation to the answer. Text here is displayed to the user.

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

#### Property Value

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

## See Also

[QuoteAgent](SuperOffice.WebApi.Agents.QuoteAgent.md)


## Related topics

- [SuperOffice.WebApi.Data.ApproveRejectResponse](/en/api/reference/webapi/SuperOffice.WebApi.Data.ApproveRejectResponse.md)
- [SuperOffice.WebApi.Data.QuoteConnection](/en/api/reference/webapi/SuperOffice.WebApi.Data.QuoteConnection.md)
- [SuperOffice.WebApi.Agents.QuoteAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.QuoteAgent.md)
- [SuperOffice.WebApi.Agents.IQuoteAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IQuoteAgent.md)
- [SuperOffice.WebApi.Agents.ErpSyncAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ErpSyncAgent.md)
- [SuperOffice.WebApi.Agents.IErpSyncAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IErpSyncAgent.md)
