Gå til indhold

Hændelser for ejendomme

Webhook-hændelser for ejendomme i Ajour. 6 hændelser.

Hver hændelse sendes som en HTTP POST med JSON. Se Webhooks for opsætning, signering og levering.

Hændelse Beskrivelse
property/changed-access-holders Sendes, når ejendommen får nye adkomsthavere.
property/changed-basic-data Sendes, når ejendommens anvendelse ændres i BBR.
property/changed-buildings-protection-status Sendes, når fredningsstatus ændres for en bygning på ejendommen.
property/changed-hosted-companies Sendes, når en virksomhed flytter ind på eller ud af adressen.
property/changed-property-liabilities Sendes, når der tinglyses en ny hæftelse på ejendommen.
property/statstidende-message Sendes, når der kommer en meddelelse om ejendommen i Statstidende.

property/changed-access-holders

Sendes, når ejendommen får nye adkomsthavere.

event: property.updated · data.field: access_holders

{
"event": "property.updated",
"event_id": "req_634ff9e44xCujS9i",
"data": {
"field": "access_holders",
"date": "2022-10-01",
"item": {
"id": "4c4f404a-5289-453e-8347-89944a468186",
"slug": "property",
"url": "/api/v2/property/4c4f404a-5289-453e-8347-89944a468186",
"address_1": "Østre Havnegade 12, 1. th",
"address_2": "",
"zip": "9000",
"city": "Aalborg",
"country": "DK"
},
"added": [
{
"item": {
"id": 36732261,
"slug": "company",
"url": "/api/v2/company/36732261",
"name": "SNT ApS"
},
"total_purchase_price": 1350000,
"currency": "DKK",
"method_of_transfer": "Almindelig fri handel",
"ownership_percentage": "100%",
"acquisition_date": "2018-02-15"
}
],
"deleted": [
{
"item": {
"id": 4005995718,
"slug": "person",
"url": "/api/v2/person/4005995718",
"name": "Kasper Ulrich"
}
}
]
}
}

Felter i kroppen

Vis alle 31 felter
Felt Type Beskrivelse
event string fx property.updated
event_id string fx req_634ff9e44xCujS9i
data object
data.field string access_holders
data.date string (date) fx 2022-10-01
data.item object
data.item.id string fx 4c4f404a-5289-453e-8347-89944a468186
data.item.slug string standard property
data.item.url string fx /api/v2/property/4c4f404a-5289-453e-8347-89944a468186
data.item.address_1 string fx Østre Havnegade 12, 1. th
data.item.address_2 string
data.item.zip string fx 9000
data.item.city string fx Aalborg
data.item.country string fx DK
data.added array<object>
data.added[].item object
data.added[].item.id integer fx 36732261
data.added[].item.slug string standard company
data.added[].item.url string fx /api/v2/company/36732261
data.added[].item.name string fx SNT ApS
data.added[].total_purchase_price ineteger fx 1350000
data.added[].currency string fx DKK
data.added[].method_of_transfer string fx Almindelig fri handel
data.added[].ownership_percentage string fx 100%
data.added[].acquisition_date string (date) fx 2018-02-15
data.deleted array<object>
data.deleted[].item object
data.deleted[].item.id integer fx 4005995718
data.deleted[].item.slug string standard person
data.deleted[].item.url string fx /api/v2/person/4005995718
data.deleted[].item.name string fx Kasper Ulrich

property/changed-basic-data

Sendes, når ejendommens anvendelse ændres i BBR.

event: property.updated · data.field: unit_usage_code

{
"event": "property.updated",
"event_id": "req_634ff9e44xCujS9i",
"data": {
"field": "unit_usage_code",
"date": "2022-10-01",
"item": {
"id": "4c4f404a-5289-453e-8347-89944a468186",
"slug": "property",
"url": "/api/v2/property/4c4f404a-5289-453e-8347-89944a468186",
"address_1": "Østre Havnegade 12, 1. th",
"address_2": "",
"zip": "9000",
"city": "Aalborg",
"country": "DK"
},
"property_basic_data": {
"ownership_state": {
"code": 20,
"text": "Alment boligselskab"
},
"property_type": {
"code": "E",
"text": "Andet"
},
"unit_usage": {
"code": 590,
"text": "Anden enhed til fritidsformål"
},
"total_area": 241,
"area_for_residence": 241,
"area_for_business": null,
"number_of_rooms": 7,
"number_of_toilets": 2,
"number_of_bathrooms": 1,
"kitchen_facilities": {
"code": "E",
"text": "AEget køkken med afløb"
}
},
"original_property_basic_data": {
"ownership_state": {
"code": 20,
"text": "Alment boligselskab"
},
"property_type": {
"code": "E",
"text": "Andet"
},
"unit_usage": {
"code": 590,
"text": "Anden enhed til fritidsformål"
},
"total_area": 241,
"area_for_residence": 241,
"area_for_business": null,
"number_of_rooms": 7,
"number_of_toilets": 2,
"number_of_bathrooms": 1,
"kitchen_facilities": {
"code": "E",
"text": "AEget køkken med afløb"
}
}
}
}

Felter i kroppen

Vis alle 52 felter
Felt Type Beskrivelse
event string fx property.updated
event_id string fx req_634ff9e44xCujS9i
data object
data.field string unit_usage_code
data.date string (date) fx 2022-10-01
data.item object
data.item.id string fx 4c4f404a-5289-453e-8347-89944a468186
data.item.slug string standard property
data.item.url string fx /api/v2/property/4c4f404a-5289-453e-8347-89944a468186
data.item.address_1 string fx Østre Havnegade 12, 1. th
data.item.address_2 string
data.item.zip string fx 9000
data.item.city string fx Aalborg
data.item.country string fx DK
data.property_basic_data object
data.property_basic_data.ownership_state object
data.property_basic_data.ownership_state.code integer fx 20
data.property_basic_data.ownership_state.text string fx Alment boligselskab
data.property_basic_data.property_type object
data.property_basic_data.property_type.code string fx E
data.property_basic_data.property_type.text string fx Andet
data.property_basic_data.unit_usage object
data.property_basic_data.unit_usage.code integer fx 590
data.property_basic_data.unit_usage.text string fx Anden enhed til fritidsformål
data.property_basic_data.total_area integer fx 241
data.property_basic_data.area_for_residence integer fx 241
data.property_basic_data.area_for_business integer
data.property_basic_data.number_of_rooms integer fx 7
data.property_basic_data.number_of_toilets integer fx 2
data.property_basic_data.number_of_bathrooms integer fx 1
data.property_basic_data.kitchen_facilities object
data.property_basic_data.kitchen_facilities.code string fx E
data.property_basic_data.kitchen_facilities.text string fx AEget køkken med afløb
data.original_property_basic_data object
data.original_property_basic_data.ownership_state object
data.original_property_basic_data.ownership_state.code integer fx 20
data.original_property_basic_data.ownership_state.text string fx Alment boligselskab
data.original_property_basic_data.property_type object
data.original_property_basic_data.property_type.code string fx E
data.original_property_basic_data.property_type.text string fx Andet
data.original_property_basic_data.unit_usage object
data.original_property_basic_data.unit_usage.code integer fx 590
data.original_property_basic_data.unit_usage.text string fx Anden enhed til fritidsformål
data.original_property_basic_data.total_area integer fx 241
data.original_property_basic_data.area_for_residence integer fx 241
data.original_property_basic_data.area_for_business integer
data.original_property_basic_data.number_of_rooms integer fx 7
data.original_property_basic_data.number_of_toilets integer fx 2
data.original_property_basic_data.number_of_bathrooms integer fx 1
data.original_property_basic_data.kitchen_facilities object
data.original_property_basic_data.kitchen_facilities.code string fx E
data.original_property_basic_data.kitchen_facilities.text string fx AEget køkken med afløb

property/changed-buildings-protection-status

Sendes, når fredningsstatus ændres for en bygning på ejendommen.

event: property.updated · data.field: buildings_protection_status

{
"event": "property.updated",
"event_id": "req_634ff9e44xCujS9i",
"data": {
"field": "buildings_protection_status",
"date": "2022-10-01",
"item": {
"id": "4c4f404a-5289-453e-8347-89944a468186",
"slug": "property",
"url": "/api/v2/property/4c4f404a-5289-453e-8347-89944a468186",
"address_1": "Østre Havnegade 12, 1. th",
"address_2": "",
"zip": "9000",
"city": "Aalborg",
"country": "DK"
},
"buildings_protection_status": {
"building_number": 1,
"address": "Gl Hovedgade 3A",
"protection_status": {
"code": 8,
"text": "Bygningen bevaringsværdig"
},
"protection_confirm_url": null
},
"original_buildings_protection_status": {
"building_number": 1,
"address": "Gl Hovedgade 3A",
"protection_status": {
"code": 2,
"text": "Som 1, men med tinglyste bevaringsbestemmelser jf. lovens §15"
}
}
}
}

Felter i kroppen

Felt Type Beskrivelse
event string fx property.updated
event_id string fx req_634ff9e44xCujS9i
data object
data.field string buildings_protection_status
data.date string (date) fx 2022-10-01
data.item object
data.item.id string fx 4c4f404a-5289-453e-8347-89944a468186
data.item.slug string standard property
data.item.url string fx /api/v2/property/4c4f404a-5289-453e-8347-89944a468186
data.item.address_1 string fx Østre Havnegade 12, 1. th
data.item.address_2 string
data.item.zip string fx 9000
data.item.city string fx Aalborg
data.item.country string fx DK
data.buildings_protection_status object
data.buildings_protection_status.building_number integer fx 1
data.buildings_protection_status.address string fx Gl Hovedgade 3A
data.buildings_protection_status.protection_status object
data.buildings_protection_status.protection_status.code integer fx 8
data.buildings_protection_status.protection_status.text string fx Bygningen bevaringsværdig
data.buildings_protection_status.protection_confirm_url string
data.original_buildings_protection_status object
data.original_buildings_protection_status.building_number integer fx 1
data.original_buildings_protection_status.address string fx Gl Hovedgade 3A
data.original_buildings_protection_status.protection_status object
data.original_buildings_protection_status.protection_status.code integer fx 2
data.original_buildings_protection_status.protection_status.text string fx Som 1, men med tinglyste bevaringsbestemmelser jf. lovens §15

property/changed-hosted-companies

Sendes, når en virksomhed flytter ind på eller ud af adressen.

event: property.updated · data.field: hosted_companies

{
"event": "property.updated",
"event_id": "req_634ff9e44xCujS9i",
"data": {
"field": "hosted_companies",
"date": "2022-10-01",
"item": {
"id": "4c4f404a-5289-453e-8347-89944a468186",
"slug": "property",
"url": "/api/v2/property/4c4f404a-5289-453e-8347-89944a468186",
"address_1": "Østre Havnegade 12, 1. th",
"address_2": "",
"zip": "9000",
"city": "Aalborg",
"country": "DK"
},
"added": [
{
"id": 36732261,
"slug": "company",
"url": "/api/v2/company/36732261",
"name": "SNT ApS"
}
],
"deleted": [
{
"id": 36732261,
"slug": "company",
"url": "/api/v2/company/36732261",
"name": "SNT ApS"
}
]
}
}

Felter i kroppen

Felt Type Beskrivelse
event string fx property.updated
event_id string fx req_634ff9e44xCujS9i
data object
data.field string hosted_companies
data.date string (date) fx 2022-10-01
data.item object
data.item.id string fx 4c4f404a-5289-453e-8347-89944a468186
data.item.slug string standard property
data.item.url string fx /api/v2/property/4c4f404a-5289-453e-8347-89944a468186
data.item.address_1 string fx Østre Havnegade 12, 1. th
data.item.address_2 string
data.item.zip string fx 9000
data.item.city string fx Aalborg
data.item.country string fx DK
data.added array<object>
data.added[].id integer fx 36732261
data.added[].slug string standard company
data.added[].url string fx /api/v2/company/36732261
data.added[].name string fx SNT ApS
data.deleted array<object>
data.deleted[].id integer fx 36732261
data.deleted[].slug string standard company
data.deleted[].url string fx /api/v2/company/36732261
data.deleted[].name string fx SNT ApS

property/changed-property-liabilities

Sendes, når der tinglyses en ny hæftelse på ejendommen.

event: property.updated · data.field: property_liabilities

{
"event": "property.updated",
"event_id": "req_63246e166IstnPKY",
"data": {
"field": "property_liabilities",
"date": "2022-10-01",
"item": {
"id": "4c4f404a-5289-453e-8347-89944a468186",
"slug": "property",
"url": "/api/v2/property/4c4f404a-5289-453e-8347-89944a468186",
"address_1": "Østre Havnegade 12, 1. th",
"address_2": "",
"zip": "9000",
"city": "Aalborg",
"country": "DK"
},
"added": [
{
"amount": 1123000,
"currency": "DKK",
"rate": 1.1
}
]
}
}

Felter i kroppen

Felt Type Beskrivelse
event string fx property.updated
event_id string Den samme ved hvert forsøg på denne hændelse. fx req_63246e166IstnPKY
data object
data.field string property_liabilities
data.date string (date) fx 2022-10-01
data.item object
data.item.id string fx 4c4f404a-5289-453e-8347-89944a468186
data.item.slug string standard property
data.item.url string fx /api/v2/property/4c4f404a-5289-453e-8347-89944a468186
data.item.address_1 string fx Østre Havnegade 12, 1. th
data.item.address_2 string
data.item.zip string fx 9000
data.item.city string fx Aalborg
data.item.country string fx DK
data.added array<object>
data.added[].amount number fx 1123000
data.added[].currency string fx DKK
data.added[].rate number Rentesats (%) fx 1.1

property/statstidende-message

Sendes, når der kommer en meddelelse om ejendommen i Statstidende.

event: property.updated · data.field: statstidende_message

{
"event": "property.updated",
"event_id": "req_63246e166IstnPKY",
"data": {
"field": "statstidende_message",
"date": "2024-01-09",
"item": {
"id": "4c4f404a-5289-453e-8347-89944a468186",
"slug": "property",
"url": "/api/v2/property/4c4f404a-5289-453e-8347-89944a468186",
"address_1": "Østre Havnegade 12, 1. th",
"address_2": "",
"zip": "9000",
"city": "Aalborg",
"country": "DK"
},
"message": {
"id": "S02012024-114",
"slug": "statstidende",
"url": null,
"type": "company",
"publication_date": "2024-01-04",
"judicial_district": "Retten på Frederiksberg",
"section": "Stævninger og indkaldelser",
"message_type": "Personer/firmaer"
}
}
}

Felter i kroppen

Felt Type Beskrivelse
event string fx property.updated
event_id string Den samme ved hvert forsøg på denne hændelse. fx req_63246e166IstnPKY
data object
data.field string statstidende_message
data.date string (date) fx 2024-01-09
data.item object
data.item.id string fx 4c4f404a-5289-453e-8347-89944a468186
data.item.slug string standard property
data.item.url string fx /api/v2/property/4c4f404a-5289-453e-8347-89944a468186
data.item.address_1 string fx Østre Havnegade 12, 1. th
data.item.address_2 string
data.item.zip string fx 9000
data.item.city string fx Aalborg
data.item.country string fx DK
data.message object
data.message.id string fx S02012024-114
data.message.slug string fx statstidende
data.message.url string standard null
data.message.type string company, property
data.message.publication_date string (date) fx 2024-01-04
data.message.judicial_district string fx Retten på Frederiksberg
data.message.section string fx Stævninger og indkaldelser
data.message.message_type string fx Personer/firmaer