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

# <a id="SuperOffice_WebApi_Data_ErpSyncActorTypeMapping" /> Class ErpSyncActorTypeMapping

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

Carrier object for ErpSyncActorTypeMapping.
Mapping information for one Actor, contains array of field mappings (ERP \<-> SuperOffice)

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

#### Inheritance

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

Default constructor - defaults any enum props to 0.

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

## Properties

### <a id="SuperOffice_WebApi_Data_ErpSyncActorTypeMapping_ActorTypeCrm" /> ActorTypeCrm

The actor type (CRM side)
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public CrmActorType? ActorTypeCrm { get; set; }
```

#### Property Value

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

#### See Also

[ErpSyncActorTypeMapping](SuperOffice.WebApi.Data.ErpSyncActorTypeMapping.md).[ActorTypeCrm\_String](SuperOffice.WebApi.Data.ErpSyncActorTypeMapping.md#SuperOffice_WebApi_Data_ErpSyncActorTypeMapping_ActorTypeCrm_String)

### <a id="SuperOffice_WebApi_Data_ErpSyncActorTypeMapping_ActorTypeCrm_String" /> ActorTypeCrm\_String

The actor type (CRM side)
Raw string enum value.

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

#### Property Value

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

#### See Also

[ErpSyncActorTypeMapping](SuperOffice.WebApi.Data.ErpSyncActorTypeMapping.md).[ActorTypeCrm](SuperOffice.WebApi.Data.ErpSyncActorTypeMapping.md#SuperOffice_WebApi_Data_ErpSyncActorTypeMapping_ActorTypeCrm)

### <a id="SuperOffice_WebApi_Data_ErpSyncActorTypeMapping_ActorTypeErp" /> ActorTypeErp

The actor type (ERP side)
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public ErpActorType? ActorTypeErp { get; set; }
```

#### Property Value

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

#### See Also

[ErpSyncActorTypeMapping](SuperOffice.WebApi.Data.ErpSyncActorTypeMapping.md).[ActorTypeErp\_String](SuperOffice.WebApi.Data.ErpSyncActorTypeMapping.md#SuperOffice_WebApi_Data_ErpSyncActorTypeMapping_ActorTypeErp_String)

### <a id="SuperOffice_WebApi_Data_ErpSyncActorTypeMapping_ActorTypeErp_String" /> ActorTypeErp\_String

The actor type (ERP side)
Raw string enum value.

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

#### Property Value

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

#### See Also

[ErpSyncActorTypeMapping](SuperOffice.WebApi.Data.ErpSyncActorTypeMapping.md).[ActorTypeErp](SuperOffice.WebApi.Data.ErpSyncActorTypeMapping.md#SuperOffice_WebApi_Data_ErpSyncActorTypeMapping_ActorTypeErp)

### <a id="SuperOffice_WebApi_Data_ErpSyncActorTypeMapping_ErpConnectionId" /> ErpConnectionId

Primary key

```csharp theme={null}
public virtual int ErpConnectionId { get; set; }
```

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_ErpSyncActorTypeMapping_FieldMappings" /> FieldMappings

Array of individual field mappings; explicitly map to empty CrmFieldKey to indicate non-sync

```csharp theme={null}
public virtual ErpSyncFieldMapping[] FieldMappings { get; set; }
```

#### Property Value

[ErpSyncFieldMapping](SuperOffice.WebApi.Data.ErpSyncFieldMapping.md)\[]

### <a id="SuperOffice_WebApi_Data_ErpSyncActorTypeMapping_IsActive" /> IsActive

Is this sync mapping active

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

#### Property Value

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

## See Also

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


## Related topics

- [SuperOffice.WebApi.Data.ErpSync SaveActorTypeMappingRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.ErpSync_SaveActorTypeMappingRequest.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)
- [SuperOffice.WebApi.Data.ErpSync GetActorTypeMappingRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.ErpSync_GetActorTypeMappingRequest.md)
- [SuperOffice.WebApi.Data.ErpSyncActorSummary](/en/api/reference/webapi/SuperOffice.WebApi.Data.ErpSyncActorSummary.md)
- [SuperOffice.WebApi.Data.ErpSync GetCrmActorTypeRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.ErpSync_GetCrmActorTypeRequest.md)
