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

# <a id="SuperOffice_WebApi_Data_StructuredAddress" /> Class StructuredAddress

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

Carrier object for StructuredAddress.
Address with structured fields (Address1, City, Zip) - does not vary its layout by country, unliked the formatted address.

```csharp theme={null}
public class StructuredAddress
```

#### Inheritance

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

#### Inherited Members

[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_StructuredAddress__ctor" /> StructuredAddress()

Default constructor - defaults any enum props to 0.

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

## Properties

### <a id="SuperOffice_WebApi_Data_StructuredAddress_Address1" /> Address1

Address line 1

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_StructuredAddress_Address2" /> Address2

Address line 2

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_StructuredAddress_Address3" /> Address3

Address line 3

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_StructuredAddress_AtypeIdx" /> AtypeIdx

Bit mask, combines address type (EAddressType) and owner type (EOwnerType)
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public AddressType? AtypeIdx { get; set; }
```

#### Property Value

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

#### See Also

[StructuredAddress](SuperOffice.WebApi.Data.StructuredAddress.md).[AtypeIdx\_String](SuperOffice.WebApi.Data.StructuredAddress.md#SuperOffice_WebApi_Data_StructuredAddress_AtypeIdx_String)

### <a id="SuperOffice_WebApi_Data_StructuredAddress_AtypeIdx_String" /> AtypeIdx\_String

Bit mask, combines address type (EAddressType) and owner type (EOwnerType)
Raw string enum value.

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

#### Property Value

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

#### See Also

[StructuredAddress](SuperOffice.WebApi.Data.StructuredAddress.md).[AtypeIdx](SuperOffice.WebApi.Data.StructuredAddress.md#SuperOffice_WebApi_Data_StructuredAddress_AtypeIdx)

### <a id="SuperOffice_WebApi_Data_StructuredAddress_City" /> City

City corresponding to zip code

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_StructuredAddress_County" /> County

County (not country)

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_StructuredAddress_Formatted" /> Formatted

Read-only formatted address multi-line string. e.g.: \<c>"Brugata 123,\n1234 OSLO\n"\</c> or \<c>"Bridgelane 123,\nWest Tooting,\nThe Shire ES2 W31\n"\</c>.

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_StructuredAddress_State" /> State

State

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_StructuredAddress_Zipcode" /> Zipcode

Zip code, alphanumeric

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

#### Property Value

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


## Related topics

- [SuperOffice.WebApi.Data.Address](/en/api/reference/webapi/SuperOffice.WebApi.Data.Address.md)
- [SuperOffice.WebApi.Data.AddressSyncData](/en/api/reference/webapi/SuperOffice.WebApi.Data.AddressSyncData.md)
- [SuperOffice.WebApi.Data.AddressType](/en/api/reference/webapi/SuperOffice.WebApi.Data.AddressType.md)
- [SuperOffice.WebApi.Data.EMailAddress](/en/api/reference/webapi/SuperOffice.WebApi.Data.EMailAddress.md)
- [SuperOffice.WebApi.Data.Person GetAddressRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Person_GetAddressRequest.md)
- [SuperOffice.WebApi.Data.Contact GetAddressRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Contact_GetAddressRequest.md)
