VisitNewConfirmedEvent
v1.0.0

Event represents when a Flatguide or an Ops has created and confirmed a new commercial visit's date and time.

Details

This event is emitted after a Flatguide or an Ops has created and confirmed a new commercial visit's date and time.

Consumer / Producer Diagram

Event Example

VisitNewConfirmedEvent Schema (json)
{
  "version": "0",
  "id": "3e151b8c-cf2b-afc7-e28a-5beb3c9857ca",
  "detail-type": "VisitNewConfirmedEvent",
  "source": "flatsy.service.legacy",
  "account": "221760190323",
  "time": "2023-04-21T09:15:09Z",
  "region": "eu-west-3",
  "resources": [],
  "detail": {
    "metadata": {
      "application": "System",
      "service": "flatsy.service.legacy",
      "actor": "System",
      "actorID": "System",
      "entity": "Unknown",
      "correlationID": null,
      "entityID": "Unknown"
    },
    "data": {
      "visit": {
        "id": "7b3e68df-99a5-46f1-a841-a2f120e07877",
        "date": "2023-04-21T11:30:00Z",
        "createdAt": "2023-04-21T09:15:04.947001Z",
        "flatguideId": "662bffd8-db5e-4b4c-ad38-3838f2c43dfc",
        "propertyVisits": [],
        "visitorVisits": [
          {
            "visitId": "7b3e68df-99a5-46f1-a841-a2f120e07877",
            "askedPropertyId": "2fa1aab4-23d1-463a-b503-7412c02aaca1",
            "status": "visit.status.confirmed",
            "initialDate": "2023-04-21T11:15:00Z",
            "visitor": {
              "email": "matezotuazungua@gmail.com",
              "firstName": "Tuazungua",
              "lastName": "MATEZO",
              "phone": "+33605831530",
              "fields": {
                "files": {},
                "menage": "2",
                "salary": 1800,
                "visale": "false",
                "salaryRef": 18234,
                "citizenship": "true",
                "jobContract": "CDI confirmé"
              }
            },
            "statusUpdatedAt": "2023-04-21T09:15:03.246522Z",
            "creator": "ByAgent"
          }
        ],
        "propertySummary": {
          "id": "2fa1aab4-23d1-463a-b503-7412c02aaca1",
          "displayAddress": "19 Av. Francis de Pressensé, 69008 Lyon",
          "ownerPictureUrl": "https://cdn.filestackcontent.com/sIFe5b5uQzaL7ZRLzuYC?policy=eyJoYW5kbGUiOiJzSUZlNWI1dVF6YUw3WlJMenVZQyIsImNhbGwiOlsicmVhZCJdLCJleHBpcnkiOjQ4Mjc2NTk0MTV9&signature=5b1d687a90fe903f4abb2d22b711b438254c83d7021885a3e0fb53ebe92045cc",
          "latitude": 45.7305965,
          "longitude": 4.8619031,
          "externalRef": "82391641",
          "doorNumber": "219",
          "rentSell": "property.basics.rentsell.rent"
        },
        "durationMinutes": 15,
        "previousId": "945cc5b8-8e66-433a-8521-683a4ddf1850"
      },
      "visitor": {
        "email": "matezotuazungua@gmail.com",
        "firstName": "Tuazungua",
        "lastName": "MATEZO",
        "phone": "+33605831530",
        "fields": {
          "files": {},
          "menage": "2",
          "salary": 1800,
          "visale": "false",
          "salaryRef": 18234,
          "citizenship": "true",
          "jobContract": "CDI confirmé"
        }
      },
      "isReschedule": true,
      "owner": {
        "id": "0cd93938-cfde-42fa-b355-124718b5a690",
        "data": {
          "profile": "Business",
          "basicData": {
            "loginInfo": {
              "providerID": "credentials",
              "providerKey": "E.VINCENT@alliade.com"
            },
            "fullName": "Alliade Habitat - A01 Agence Lyon Centre",
            "shortName": "Alliade",
            "email": "E.VINCENT@alliade.com",
            "phone": "+33472892222",
            "address": {
              "address": "173 Av. Jean Jaurès, 69007 Lyon",
              "zip": "69007",
              "city": "Lyon",
              "countryCode": "FR",
              "latitude": 45.73825679999999,
              "longitude": 4.8380396
            },
            "photoURL": "https://cdn.filestackcontent.com/sIFe5b5uQzaL7ZRLzuYC?policy=eyJoYW5kbGUiOiJzSUZlNWI1dVF6YUw3WlJMenVZQyIsImNhbGwiOlsicmVhZCJdLCJleHBpcnkiOjQ4Mjc2NTk0MTV9&signature=5b1d687a90fe903f4abb2d22b711b438254c83d7021885a3e0fb53ebe92045cc"
          },
          "businessData": {
            "businessOptions": {
              "widgets": ["GRAPH", "OWNER_DEFAULT", "FLATGUIDES"],
              "muteErrors": false,
              "emailPrefix": "alliade",
              "visitorDataRetentionDays": 365
            },
            "importOptions": {
              "externalIds": ["ag696272"],
              "autoImportFormat": "ubiflow",
              "unavailableOnImport": true,
              "makeAvailableOnApiSave": false,
              "sharingAllowed": true,
              "saveCollaboratorFromUbiflow": false,
              "defaultKeyState": "key.state.client",
              "defaultKeyComment": "Les clés seront à aller chercher et à redéposer à l'agence au 173 avenue Jean Jaurès 69007 Lyon"
            },
            "phone2": "06 73 25 28 00",
            "businessHours": "<p><strong>Présentation de l'agence :&nbsp;</strong>Alliade Habitat est un bailleur social qui commercialise des logements intermédiaires<br><b><u>CONSIGNE</u> </b>: les logements seront loués en l'état (pas de travaux d'embellissement possibles)<br><br></p><p><strong>Clés :</strong>&nbsp;<b>appeler Elodie Vincent</b> pour convenir d'un rdv de remise des clés&nbsp;<br>Les clés seront&nbsp; à aller chercher et à redéposer à l'agence au <b>173 avenue Jean Jaurès 69007 Lyon<br><br></b></p><p><strong>Point de contact pour les agents de visite :</strong>&nbsp;<br>Elodie Vincent responsable d'agence<br>e.vincent@alliade.com 06 73 25 28 00<br><br></p><p><strong>Horaires d'agence :</strong>&nbsp;<br>Du lundi au jeudi 8h30-12h30 et 13h30-17h<br>Le vendredi 8h30-16h</p><p>Fermés le weekend<br><br></p><p><strong>Dossier :</strong>&nbsp;Les candidats devront envoyer leur dossier au complet en ligne (géré par Flatsy).<br>Seuls les dossiers complets suite à la visite seront étudiés.</p>",
            "billingName": "Alliade Habitat Direction des Territoires",
            "billingAddress": {
              "address": "173 Av. Jean Jaurès",
              "zip": "69007",
              "city": "Lyon",
              "countryCode": "FR"
            },
            "billingEmail": "factures.fournisseurs@alliade.com",
            "csm": {
              "email": "charlotte.vitaly@flatsy.fr",
              "firstName": "Charlotte",
              "lastName": "Vitaly",
              "phone": "06 44 64 15 85",
              "photo": "https://flatsy-assets.s3.eu-west-1.amazonaws.com/charlotte.jpeg"
            }
          },
          "trackingData": {
            "signInCount": 27,
            "lastSignInAt": "2023-01-18T16:13:36.403216Z",
            "lastSeenAt": "2023-04-21T07:57:52.776678Z",
            "createdAt": "2023-01-18T16:13:36.403217Z",
            "updatedAt": "2023-04-13T15:03:50.140930Z"
          }
        }
      },
      "noFile": false,
      "agentForced": false,
      "previousId": "945cc5b8-8e66-433a-8521-683a4ddf1850",
      "_type": "flatsy.model.VisitNewConfirmedEvent",
      "dtype": "VisitNewConfirmedEvent"
    }
  }
}
Edit this pageLast updated on 2023/11/3