PropertyStatusChangedEvent
v1.0.0

Event represents when the status of a Property has been changed in the Legacy Stack

Details

This event is emitted when the status of a Property has been changed in the Legacy (v1) platform.

It is consumed by the Property Service to emit a PropertyUpdated event.

Consumer / Producer Diagram

Event Example

PropertyStatusChangedEvent Schema (json)
{
  "version": "0",
  "id": "96d3f952-cde9-d0f2-041b-7988a858cb5b",
  "detail-type": "PropertyStatusChangedEvent",
  "source": "flatsy.service.legacy",
  "account": "221760190323",
  "time": "2023-11-06T16:11:06Z",
  "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": "c619771b-c575-498a-98e7-5346241f76ef",
        "userId": "eb2b5570-8415-46f9-9c83-57c395cc60a2",
        "data": {
          "rentSell": "property.basics.rentsell.rent",
          "criterias": {
            "prequalification": {
              "name": "PLI (catégorie 140-180) - Paris et limitrophes - Taux d'effort appliqué",
              "explain": "<h4>PLI - Zone Paris et communes limitrophes</h4><ul><li>Le <b>taux d'effort</b> ne doit pas dépasser <b>33%</b></li><li>La <b>typologie</b> doit être adaptée au <b>ménage (+1/-1)</b></li><li>Les plafonds <b>PLI 2022</b> sont appliqués</li><li>Les candidats doivent être <b>français ou résidents permanents</b></li><br><li>Les <b>CDI en période d'essai</b> ne seront pas acceptés</li><li>Les <b>CDD avec une durée restante de moins de 8 mois</b> ne seront pas acceptés</li><li>Les <b>indépendants en activité depuis moins de 2 ans</b> ne seront pas acceptés</li></ul>",
              "actionLogement": false,
              "resource": "PLI",
              "zone": "Abis",
              "ratio": 3.3,
              "warning": "prequalification.social.warning",
              "_type": "flatsy.model.prequalification.LogementSocial",
              "dtype": "LogementSocial"
            }
          },
          "price": 1104.42,
          "propertyStatus": "property.basics.status.available",
          "propertyStatusUpdatedAt": "2023-11-06T16:10:49.552150Z",
          "address": {
            "address": "296 Av. Napoléon Bonaparte",
            "zip": "92500",
            "city": "Rueil-Malmaison",
            "countryCode": "FR",
            "latitude": 48.8730962,
            "longitude": 2.1616525
          },
          "memo": "Référence ARAVIS 03117 00002 00001 00043\r
Yvon - clé Num 17 (porte anti squatte)\r
codes : grille A1975 puis 1ere entrée immeuble à gauche A2993 puis SAS clé 1984clé - 4eme étage porte tout au fond à gauche.\r
chambre 1 > environ 12m2\r
chambre 2 > environ 8 m2\r
Arriver en avance pour ouvrir volets et aérer. si besoin, pour louer un parking supplémentaire dans la résidence faut compter entre 50/70€ selon la place.",
          "picHandles": [],
          "fields": {
            "surface": 62.6,
            "numRooms": 3,
            "numBedrooms": 2,
            "deposit": 1066.04,
            "monthlyCharges": 220.43,
            "floor": 4,
            "heating": "COLLECTIF",
            "cave": false,
            "keeper": true,
            "parking": true,
            "furnished": false
          },
          "visitAvailabilities": [
            {
              "start": "2022-09-18T07:00",
              "end": "2022-09-18T21:00",
              "isWeeklyRecurring": true
            },
            {
              "start": "2022-09-17T07:00",
              "end": "2022-09-17T21:00",
              "isWeeklyRecurring": true
            },
            {
              "start": "2022-09-16T07:00",
              "end": "2022-09-16T21:00",
              "isWeeklyRecurring": true
            },
            {
              "start": "2022-09-15T07:00",
              "end": "2022-09-15T21:00",
              "isWeeklyRecurring": true
            },
            {
              "start": "2022-09-14T07:00",
              "end": "2022-09-14T21:00",
              "isWeeklyRecurring": true
            },
            {
              "start": "2022-09-13T07:00",
              "end": "2022-09-13T21:00",
              "isWeeklyRecurring": true
            },
            {
              "start": "2022-09-12T07:00",
              "end": "2022-09-12T21:00",
              "isWeeklyRecurring": true
            }
          ],
          "externalRef": "03117-00043",
          "tenantPhone": "0603801952"
        },
        "createdAt": "2022-09-13T08:08:29.610563Z",
        "updatedAt": "2023-11-06T16:10:49.555977Z",
        "ownerContact": {
          "name": "Hauts de Seine Habitat",
          "phone": "+33176400425",
          "email": "hdshabitat@flatsy.fr",
          "pictureUrl": "https://cdn.filestackcontent.com/YNe46ITrRm6n57KOeNoH?policy=eyJoYW5kbGUiOiJZTmU0NklUclJtNm41N0tPZU5vSCIsImNhbGwiOlsicmVhZCJdLCJleHBpcnkiOjQ3ODcwNTAwODJ9&signature=8097c70aee945ead70162d3054d65cd573840b5d23c03064f8ccddeef632d250",
          "displayAddress": "45 Rue Paul Vaillant Couturier, 92300 Levallois-Perret",
          "phone2": "07 62 19 93 30",
          "businessHours": "<p><b>Présentation de l'agence </b>: Bailleur Social pour des biens dans le 92, ont sélectionné Flatsy après un appel d'offres</p><p><b>Clés : </b>Généralement à&nbsp;récupérer auprès des chefs de secteur, ou à l'agence, à voir avec Eleonore directement en fonction des biens et des zones.</p><p><b>Contact principal :&nbsp;</b><span style=\"font-size: 0.92rem;\">Eléonore Nakache Responsable Commercialisation 07 62 19 93 30, eleonore.nakache@hdshabitat.fr</span></p><p><b>Horaires d'ouverture :</b>\r
Du lundi au vendredi: 8h30 - 18h30, fermé samedi.</p><p><b>Autres</b> :\r
Ne pas proposer d'autres logements\r
Ne pas se positionner sur les logements, 1 logement = 1 candidat</p><p><span style=\"color: rgb(51, 71, 91); font-family: &quot;Lexend Deca&quot;, Helvetica, Arial, sans-serif; font-size: 14px;\"><br></span></p><p><span style=\"color: rgb(51, 71, 91); font-family: &quot;Lexend Deca&quot;, Helvetica, Arial, sans-serif; font-size: 14px;\"><b>DEMANDE CLIENT </b></span></p><p><span style=\"color: rgb(51, 71, 91); font-family: &quot;Lexend Deca&quot;, Helvetica, Arial, sans-serif; font-size: 14px;\">Pouvez-vous s'il vous plait vérifier l'intérêt des candidats, indiquer s'ils souhaitent déposer leur dossier ?</span></p>"
        },
        "lastViewingAt": "2023-10-28T13:30:00Z",
        "firstViewingAt": "2022-09-15T16:30:00Z",
        "initialStaffedAt": "2022-09-13T08:13:06.070932Z",
        "inCharge": "Rueil-Malmaison",
        "weight": 1,
        "buildingId": "eb2b5570-8415-46f9-9c83-57c395cc60a248.87312.1617",
        "clusterId": "eb2b5570-8415-46f9-9c83-57c395cc60a248.87312.16173"
      },
      "oldStatus": "property.basics.status.standby",
      "_type": "flatsy.model.PropertyStatusChangedEvent",
      "dtype": "PropertyStatusChangedEvent"
    }
  }
}
Edit this pageLast updated on 2023/11/8