ApplicationCreatedv2.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
- Is generally triggered after an ApplicationSubmitted event.
- Is generally followed by a "ApplicationCreatedDocumentFirstToApplicant" Notification being generated in the Notification Service through the Dispatch Service.
Consumer / Producer Diagram
Event Example
ApplicationCreated Schema (json)
{
"version": "0",
"id": "d1af9e6c-04f9-2681-2565-5a2b8b1ca31e",
"detail-type": "ApplicationCreated",
"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",
"entityID": "b52f9c9a-5268-4348-a689-667de1073227",
"correlationID": null,
"version": "2.0"
},
"data": {
"application": {
"id": "b52f9c9a-5268-4348-a689-667de1073227",
"applicantToken": "3kjUM9HnGBEp61xxFtYguMIW0mpshQS841a350A4hfg",
"customerToken": "mf_FK5EZWUMXYBAgviO5rixKHZWReiZWkK4-OhujS8Q",
"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
},
"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": "",
"entrance": null,
"unit": null,
"placeName": null,
"floorNumber": 0,
"showAddress": true,
"zoneABC": null,
"zone123": null
},
"spaces": {
"residential": { "livingSpace": 49.8 },
"commercial": null
},
"structure": {
"rooms": { "numberOfBedRooms": 1, "numberOfRooms": 2 }
},
"prices": {
"buy": null,
"rent": {
"baseRent": { "amount": 816.83 },
"operatingCosts": { "amount": 60 },
"total": { "amount": 876.83 }
},
"business": null
},
"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": {
"accessCode": null,
"instructions": {
"fr": "codes portillon et 1ère porte B7895A\r
2ème porte B9043A"
}
}
},
"lead": {
"email": "hanifajnr@gmail.com",
"firstName": null,
"lastName": null,
"phoneNumber": "0663889322"
},
"agent": {
"id": "f284bdf0-d613-4012-9eed-3ccbd7888480",
"name": "Kerrouchi Karim",
"profilePictureURL": "https://cdn.filestackcontent.com/PSJMrQ7NS9KMy3yJ1DDD?policy=eyJjYWxsIjpbInJlYWQiXSwiaGFuZGxlIjoiUFNKTXJRN05TOUtNeTN5SjFEREQiLCJleHBpcnkiOjQ3MzQ5Mjc5NDh9&signature=d986c68020049acad983f938d991c54eac6c90375c64d902365c0097b7534d7f"
},
"booking": null,
"v1TokenID": "5048b1c4-801f-47bf-9f69-df638c6feb03",
"qualificationRule": {
"name": "Mapping RU",
"ratio": 3.3,
"frenchGovernmentZone": null,
"guarantorAndApplicantSolventRequired": false,
"situationGuarantorNeeded": [],
"rules": [],
"revenueRatioIncludeBenefits": true
},
"state": "PROSPECT",
"rentForm": {
"availabilityMonths": null,
"householdType": null,
"coupleUnion": null,
"householdAdults": null,
"householdChildren": null
},
"saleForm": null,
"proForm": null,
"createdBy": null,
"createdByPlatform": null,
"step": "",
"completion": 0,
"createdAt": "2023-04-13T09:26:44.387911+00:00",
"updatedAt": null,
"applicants": {},
"uploads": {},
"rentform_refusal_reasons": null,
"zipName": null
}
}
}
}
Edit this pageLast updated on 2023/11/3
