PropertyUpdatedv1.0.0
Event represents when a property has been created in the Legacy Stack (processed and inserted in theDB)
You are currently viewing an old version of this event (1.0.0).Read latest version →
Details
This event is emitted aftrr a legacy property has been enriched and needs to be updated in the Property Service.
It is consumed by the Property Service through a POST /property call for property creation.
Consumer / Producer Diagram
Event Example
PropertyUpdated Schema (json)
{
"version": "0",
"id": "afe7c242-5e26-710a-6bfa-3366eaeafca4",
"detail-type": "PropertyUpdated",
"source": "flatsy.service.property",
"account": "221760190323",
"time": "2023-04-13T07:10:41Z",
"region": "eu-west-3",
"resources": [],
"detail": {
"metadata": {
"application": "System",
"service": "flatsy.service.property",
"actor": "System",
"actorID": "System",
"entity": "Property",
"entityID": "b5a27985-4e04-4882-9265-f5d7e6e7e61d",
"correlationID": null
},
"data": {
"property": {
"id": "b5a27985-4e04-4882-9265-f5d7e6e7e61d",
"transactionType": "transaction.type.rental",
"status": "property.status.available",
"creationMethod": "creation.method.manual",
"isPremium": false,
"distanceToNearestEpicenter": 5.1,
"longitude": "2.62788140000000014",
"latitude": "48.52037410000001216",
"externalRef": "DES11750040-935",
"customerID": "6c4dcf66-892b-4b4c-84ef-40c37573fa07",
"streetNumber": null,
"route": null,
"streetAddress": "177 Rue du Caporal Félix Poussineau",
"postalCode": "77190",
"countryCode": "FR",
"locality": "Dammarie-les-Lys",
"epicenterID": "65bd026c-0668-4381-9e09-0eeb98839e8a",
"zoneCode": "FR-IDF",
"firstStaffedAt": "2023-01-12T16:26:41.981789Z",
"createdAt": "2022-11-17T07:30:09.171569Z",
"updatedAt": "2023-04-13T07:10:07.347156Z"
},
"previous": {
"id": "b5a27985-4e04-4882-9265-f5d7e6e7e61d",
"transactionType": "transaction.type.rental",
"status": "property.status.available",
"creationMethod": "creation.method.manual",
"isPremium": false,
"distanceToNearestEpicenter": 5.1,
"longitude": "2.62788140000000014",
"latitude": "48.52037410000001216",
"externalRef": "DES11750040-935",
"customerID": "6c4dcf66-892b-4b4c-84ef-40c37573fa07",
"streetNumber": null,
"route": null,
"streetAddress": "177 Rue du Caporal Félix Poussineau",
"postalCode": "77190",
"countryCode": "FR",
"locality": "Dammarie-les-Lys",
"epicenterID": "65bd026c-0668-4381-9e09-0eeb98839e8a",
"zoneCode": "FR-IDF",
"firstStaffedAt": "2023-01-12T16:26:41.981789Z",
"createdAt": "2022-11-17T07:30:09.171569Z",
"updatedAt": "2023-04-13T07:05:06.553931Z"
}
}
}
}
Edit this pageLast updated on 2023/11/3
