Last updated

Building Change

Building Change webhook triggers:

  • Building created
  • Building updated

Summary

The follow table explains the fields

FieldDescription
idUnique identifier for the building record.
nameThe full name of the building (e.g., "Residential Building (GBP)").
latitudeThe latitude coordinate of the building location (nullable if not specified).
longitudeThe longitude coordinate of the building location (nullable if not specified).
shortNameA short or alternative name for the building (nullable if not specified).

Address Details

FieldDescription
address.addressLine1The first line of the building's address (e.g., "Demo street 34").
address.addressLine2The second line of the building's address (nullable if not specified).
address.addressLine3The third line of the building's address (nullable if not specified).
address.cityThe city in which the building is located (e.g., "Munich").
address.postcodeThe postcode for the building's address (e.g., "80531231").
address.countryThe country of the building's address (e.g., "Germany").
address.isoCountry2ISO 3166-1 alpha-2 code of the country (e.g., "DE").

Descriptions

FieldDescription
houseRulesRules associated with the building (nullable if not specified).
shortDescriptionA short description of the building, available in multiple languages (e.g., English, French, German).
longDescriptionA detailed description of the building, available in multiple languages.
directionsDirections to the building, available in multiple languages.

Custom Fields

FieldDescription
customFields.nameThe name of the custom field (e.g., "test Ui 1", "idNumber", "building level custom field").
customFields.typeThe data type of the custom field (e.g., "TEXT", "DATE").
customFields.valueThe value of the custom field (e.g., "test properties id operates correctly", "100", "2022-09-15").
customFields.dataAdditional data associated with the custom field (nullable if not specified).
customFields.replaceIndicates whether the custom field value should replace existing data (true or false).

Example

{
      "id":2,
      "name":"Residential Building (GBP)",
      "latitude":null,
      "longitude":null,
      "shortName":null,
      "address":{
        "addressLine1":"Demo street 34",
        "addressLine2":null,
        "addressLine3":null,
        "city":"Munich",
        "postcode":"80531231",
        "country":"Germany",
        "isoCountry2":"DE"
      },
      "houseRules":null,
      "shortDescription":[{
        "En":"Lorem ipsum dolor sit amet, consectetur adipiscing elit."
      },{
        "Fr":""
      },{
        "De":""
      }],
      "longDescription":[{
        "En":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. orem ipsum dolor sit amet, consectetur adipiscing elit."
      },{
        "Fr":""
      },{
        "De":""
      }],
      "directions":[{
        "En":"Lorem ipsum dolor sit amet, consectetur adipiscing elit."
      },{
        "Fr":""
      },{
        "De":""
      }],
      "customFields":[{
        "name":"test Ui 1",
        "type":"TEXT",
        "value":"test properties id operates correctly",
        "data":null,
        "replace":false
      },{
        "name":"idNumber",
        "type":"TEXT",
        "value":"100",
        "data":null,
        "replace":false
      },{
        "name":"building level custom field",
        "type":"DATE",
        "value":"2022-09-15",
        "data":null,
        "replace":false
      }]
    }
}