ApplicationSubmitted
vZ.0.0

Event represents when an application has been created in the Legacy Stack, enriched and ready to be created in the Application Service

Details

This event is emitted after a recently created legacy application has been enriched and is ready to be inserted in the Application Service.

It is consumed by the Application Service through a POST /application call for Application creation.

Related Events

Consumer / Producer Diagram

Event Example

ApplicationSubmitted Schema (json)
{
  "version": "0",
  "id": "fc7c7824-6674-7890-f6a0-c605be635b7a",
  "detail-type": "ApplicationSubmitted",
  "source": "flatsy.service.application",
  "account": "221760190323",
  "time": "2023-04-13T09:26:44Z",
  "region": "eu-west-3",
  "resources": [],
  "detail": {
    "metadata": {
      "application": "System",
      "service": "flatsy.service.application",
      "actor": "System",
      "actorID": "System",
      "entity": "Application",
      "correlationID": "b9bac9ac-d0c3-121d-182c-bb1a04b1429e"
    },
    "data": {
      "lead": {
        "firstName": null,
        "lastName": null,
        "email": "hanifajnr@gmail.com",
        "phoneNumber": "0663889322"
      },
      "property": {
        "id": "bd848a61-fdf9-463a-bae8-542f4343fb76",
        "transactionType": "RENT",
        "estateType": "HOUSE",
        "location": {
          "countryCode": "FRA",
          "postalCode": "93100",
          "locality": "Montreuil",
          "route": "",
          "streetAddress": "29 Rue Lenain de Tillemont",
          "streetNumber": "",
          "floorNumber": 0,
          "showAddress": true
        },
        "spaces": { "residential": { "livingSpace": 49.8 } },
        "structure": { "rooms": { "numberOfBedRooms": 1, "numberOfRooms": 2 } },
        "prices": {
          "rent": {
            "baseRent": { "amount": 816.83 },
            "operatingCosts": { "amount": 60 }
          }
        },
        "media": {
          "pictures": [
            "https://media.immo-facile.com/office12/quadral_loc30092020/catalog/images/pr_p/5/2/1/9/0/8/9/7/52190897a.jpg?DATEMAJ=22/02/2023-17:55:02",
            "https://media.immo-facile.com/office12/quadral_loc30092020/catalog/images/pr_p/5/2/1/9/0/8/9/7/52190897b.jpg?DATEMAJ=22/02/2023-18:16:33",
            "https://media.immo-facile.com/office12/quadral_loc30092020/catalog/images/pr_p/5/2/1/9/0/8/9/7/52190897c.jpg?DATEMAJ=22/02/2023-18:16:39",
            "https://media.immo-facile.com/office12/quadral_loc30092020/catalog/images/pr_p/5/2/1/9/0/8/9/7/52190897d.jpg?DATEMAJ=22/02/2023-18:16:56",
            "https://media.immo-facile.com/office12/quadral_loc30092020/catalog/images/pr_p/5/2/1/9/0/8/9/7/52190897e.jpg?DATEMAJ=22/02/2023-18:17:04",
            "https://media.immo-facile.com/office12/quadral_loc30092020/catalog/images/pr_p/5/2/1/9/0/8/9/7/52190897f.jpg?DATEMAJ=22/02/2023-18:17:10"
          ]
        },
        "publication": {
          "reference": "A02",
          "additionalReferences": null,
          "portalUrl": "",
          "texts": {
            "description": {
              "fr": "QUARTIER BEL AIR A MONTREUIL -  AUCUN FRAIS D'AGENCE~~A louer appartement type F2 récent ~Proche de toutes commodités - A 5 minutes en bus du métro Mairie de Montreuil -  prestations de qualité - Grand séjour avec cuisine ouverte  -  1 chambre - salle de bain -  WC -  nombreux rangements - terrasse de 7.50 m² - Parking en sous sol - Location soumise à conditions<br/>Contact : Raoul PENARD  :  06 02 04 83 07 - mail : QPGESTLOC.IDF@quadral.fr"
            }
          }
        },
        "operations": {
          "instructions": {
            "fr": "codes portillon et 1ère porte B7895A\r
2ème porte B9043A"
          }
        }
      },
      "customer": {
        "id": "44552f55-6869-4395-b914-393a740d74c4",
        "name": "Quadral Property Paris",
        "hexaColor": "#2aa5df",
        "phoneNumber": "+33153324865",
        "email": "quadral-paris@quadral.com",
        "profilePictureURL": "https://cdn.filestackcontent.com/PSJMrQ7NS9KMy3yJ1DDD?policy=eyJjYWxsIjpbInJlYWQiXSwiaGFuZGxlIjoiUFNKTXJRN05TOUtNeTN5SjFEREQiLCJleHBpcnkiOjQ3MzQ5Mjc5NDh9&signature=d986c68020049acad983f938d991c54eac6c90375c64d902365c0097b7534d7f",
        "requiresApplicationDocumentsFirst": true
      },
      "agent": {
        "id": "f284bdf0-d613-4012-9eed-3ccbd7888480",
        "name": "Kerrouchi Karim",
        "profilePictureURL": "https://cdn.filestackcontent.com/PSJMrQ7NS9KMy3yJ1DDD?policy=eyJjYWxsIjpbInJlYWQiXSwiaGFuZGxlIjoiUFNKTXJRN05TOUtNeTN5SjFEREQiLCJleHBpcnkiOjQ3MzQ5Mjc5NDh9&signature=d986c68020049acad983f938d991c54eac6c90375c64d902365c0097b7534d7f"
      },
      "v1TokenID": "5048b1c4-801f-47bf-9f69-df638c6feb03",
      "qualificationRule": { "name": "Mapping RU", "ratio": 3.3 }
    }
  }
}
Edit this pageLast updated on 2023/11/3