Skip to content

Address

Address information for properties, projects, and buildings.

Location

docs/models/shared/Address.cs

Properties

Property Type Description Example
Street string Street address with number "Storgata 10"
ApartmentNumber string Apartment/unit number (Vitec: apartmentNumber) "H0301"
PublicApartmentNumber string Public-facing apartment number (Vitec: publicApartmentNumber) "H0301"
LocalAreaName string Local area name "Gimle", "Myrvang"
ZipCode string Postal/ZIP code "0155"
City string City name "Oslo"
Municipality string Municipality/commune "Oslo"
County string County/region "Oslo"
Country string Country name "Norway"
CountryCode string ISO country code "NO"
FullAddress string (computed) Full formatted address "Storgata 10, 0155 Oslo"

Usage Example

var address = new Address
{
    Street = "Storgata 10",
    ApartmentNumber = "H0301",
    PublicApartmentNumber = "H0301",
    LocalAreaName = "Gimle",
    ZipCode = "0155",
    City = "Oslo",
    Municipality = "Oslo",
    County = "Oslo",
    Country = "Norway",
    CountryCode = "NO"
};

// Get formatted address
string fullAddress = address.FullAddress; // "Storgata 10, 0155 Oslo"

Used By

  • Estate
  • Project
  • Building
  • Department

Download