PropertyNewEventv1.0.0
Event represents when a property has been created in the Legacy Stack (processed and inserted in theDB)
Details
This event is emitted after a property has been imported from our pipeline into the Legacy (v1) platform and inserted in the DB.
It is consumed by the Property Service which enriches it before emitting a PropertySubmitted event.
Consumer / Producer Diagram
Event Example
PropertyNewEvent Schema (json)
{
"version": "0",
"id": "3f26fa39-536b-a329-cbc5-cb91af35610e",
"detail-type": "PropertyNewEvent",
"source": "flatsy.service.legacy",
"account": "221760190323",
"time": "2023-04-12T14:44:37Z",
"region": "eu-west-3",
"resources": [],
"detail": {
"metadata": {
"application": "System",
"service": "flatsy.service.legacy",
"actor": "System",
"actorID": "System",
"entity": "Unknown",
"correlationID": null,
"entityID": "Unknown"
},
"data": {
"property": {
"id": "980c677b-6b70-4c75-a5af-fcbaa6bc9d28",
"userId": "dd08b7ef-d0af-45cb-92dd-6d7156ba8985",
"data": {
"rentSell": "property.basics.rentsell.rent",
"price": 392.49,
"propertyStatus": "property.basics.status.available",
"propertyStatusUpdatedAt": "2023-04-12T14:44:37.167682Z",
"address": {
"address": "1 Pl. des Arcades",
"zip": "31620",
"city": "Bouloc",
"countryCode": "FR",
"latitude": 43.78305839999999,
"longitude": 1.4034517
},
"doorRef": "C124",
"picHandles": [],
"fields": {
"surface": 65,
"numRooms": 3,
"numBedrooms": 2,
"monthlyCharges": 62.55,
"floor": 2,
"cave": false,
"keeper": false,
"parking": true
},
"visitAvailabilities": [
{
"start": "2023-04-16T07:00",
"end": "2023-04-16T21:00",
"isWeeklyRecurring": true
},
{
"start": "2023-04-10T07:00",
"end": "2023-04-10T21:00",
"isWeeklyRecurring": true
},
{
"start": "2023-04-11T07:00",
"end": "2023-04-11T21:00",
"isWeeklyRecurring": true
},
{
"start": "2023-04-12T07:00",
"end": "2023-04-12T21:00",
"isWeeklyRecurring": true
},
{
"start": "2023-04-13T07:00",
"end": "2023-04-13T21:00",
"isWeeklyRecurring": true
},
{
"start": "2023-04-14T07:00",
"end": "2023-04-14T21:00",
"isWeeklyRecurring": true
},
{
"start": "2023-04-15T07:00",
"end": "2023-04-15T21:00",
"isWeeklyRecurring": true
},
{
"start": "2023-04-10T07:00",
"end": "2023-04-10T08:00",
"isWeeklyRecurring": false
}
],
"externalRef": "PELISSIERES C124"
},
"createdAt": "2023-04-12T14:44:37.167697Z",
"updatedAt": "2023-04-12T14:44:37.167697Z",
"ownerContact": {
"name": "Mesolia 31",
"phone": "0667386479",
"email": "mhaas@mesolia.fr",
"pictureUrl": "https://cdn.filestackcontent.com/oIDfIxJ6QHKhpJ1ToLQP?policy=eyJoYW5kbGUiOiJvSURmSXhKNlFIS2hwSjFUb0xRUCIsImNhbGwiOlsicmVhZCJdLCJleHBpcnkiOjQ3NzM3MzU4NDd9&signature=fda45de0d753030e5a491ad218e9931d0425275ca7fdb0750ce17e762d3d87df",
"displayAddress": "7 Boulevard de la Gare, 31500 Toulouse",
"phone2": "0561249640",
"businessHours": "<p>Bailleur Social MESOLIA agence de Toulouse</p><p>Patrimoine sur Toulouse et sa métropole</p><p><br></p><p>Horaires agence : 9h-17h du lundi au vendredi </p><p><br></p><p>Contact clés et visites : </p><p><span style=\"caret-color: rgb(0, 0, 255); text-size-adjust: auto;\">Chargées de commercialisation </span></p><p><span style=\"caret-color: rgb(0, 0, 255); text-size-adjust: auto;\">Helene : 06 07 25 14 54</span></p><p><span style=\"caret-color: rgb(0, 0, 255);\">Manon : 07 87 05 46 38</span></p><p><span style=\"text-size-adjust: auto; caret-color: rgb(0, 0, 255);\"></span></p><p><span style=\"caret-color: rgb(0, 0, 255);\">Naouel : 06 72 67 21 30</span></p><p><br></p><p>contact Responsable :</p><p>Sylvie Sidoine </p><p>Responsable gestion locative de Toulouse</p><p><span style=\"caret-color: rgb(0, 0, 255); text-size-adjust: auto;\">06.08.70.51.75</span></p><p><br></p><p><br></p><p><span style=\"caret-color: rgb(0, 0, 255); text-size-adjust: auto;\"><br></span></p>"
},
"inCharge": "Manon",
"weight": 1,
"buildingId": "dd08b7ef-d0af-45cb-92dd-6d7156ba898543.78311.4035",
"clusterId": "dd08b7ef-d0af-45cb-92dd-6d7156ba898543.78311.40353"
},
"method": "client",
"_type": "flatsy.model.PropertyNewEvent",
"dtype": "PropertyNewEvent"
}
}
}
Edit this pageLast updated on 2023/11/3
