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

# <a id="SuperOffice_WebApi_Data_EventData" /> Class EventData

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

Carrier object for EventData.
EventData containing data related to event handlers

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

#### Inheritance

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

Default constructor - defaults any enum props to 0.

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

## Properties

### <a id="SuperOffice_WebApi_Data_EventData_BlockExecution" /> BlockExecution

Whether the context should stop what it is doing, e.g. saving a sale

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_EventData_CgiContent" /> CgiContent

The Cgi content/body, sent by some events

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_EventData_CgiVariables" /> CgiVariables

Cgi variables sent by some events

```csharp theme={null}
public virtual StringDictionary CgiVariables { get; set; }
```

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_EventData_Exception" /> Exception

String containing error message from handler system if it failed

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_EventData_Headers" /> Headers

Incoming headers if sent by the context which the script is executed from

```csharp theme={null}
public virtual StringDictionary Headers { get; set; }
```

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_EventData_InputValues" /> InputValues

Environment values sent to the event handler

```csharp theme={null}
public virtual StringDictionary InputValues { get; set; }
```

#### Property Value

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

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

A message to be presented to the user

```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_EventData_NavigateTo" /> NavigateTo

Where the context should naviate afterwards

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_EventData_OutputValues" /> OutputValues

Values sent back to the environment from the event handler

```csharp theme={null}
public virtual StringDictionary OutputValues { get; set; }
```

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_EventData_ParserValues" /> ParserValues

Parser values sent to the event handler

```csharp theme={null}
public virtual StringDictionary ParserValues { get; set; }
```

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_EventData_ShowDialog" /> ShowDialog

JSON structure of dialog to show

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_EventData_StateValues" /> StateValues

Values kept between event handlers

```csharp theme={null}
public virtual StringDictionary StateValues { get; set; }
```

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_EventData_TraceExecution" /> TraceExecution

If true, then the execution will be traced

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_EventData_Type" /> Type

The type of event we are triggered by
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public EventHandlerType? Type { get; set; }
```

#### Property Value

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

#### See Also

[EventData](SuperOffice.WebApi.Data.EventData.md).[Type\_String](SuperOffice.WebApi.Data.EventData.md#SuperOffice_WebApi_Data_EventData_Type_String)

### <a id="SuperOffice_WebApi_Data_EventData_Type_String" /> Type\_String

The type of event we are triggered by
Raw string enum value.

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

#### Property Value

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

#### See Also

[EventData](SuperOffice.WebApi.Data.EventData.md).[Type](SuperOffice.WebApi.Data.EventData.md#SuperOffice_WebApi_Data_EventData_Type)

## See Also

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


## Related topics

- [SuperOffice.WebApi.Agents.ICustomerServiceAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ICustomerServiceAgent.md)
- [SuperOffice.WebApi.Agents.CustomerServiceAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.CustomerServiceAgent.md)
- [SuperOffice.WebApi.Data.CRMScriptRunResult](/en/api/reference/webapi/SuperOffice.WebApi.Data.CRMScriptRunResult.md)
- [SuperOffice.WebApi.Agents.ICRMScriptAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ICRMScriptAgent.md)
- [SuperOffice.WebApi.Agents.CRMScriptAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.CRMScriptAgent.md)
- [SuperOffice.WebApi.Data.CRMScript ExecuteScriptAsEventRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.CRMScript_ExecuteScriptAsEventRequest.md)
