PropertyNewSaaSEventv1.0.0
Event represents when a property has been created in the SaaS platform (processed and inserted in theDB)
Details
This event is emitted after a property has been imported from our pipeline into the SaaS 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
PropertyNewSaaSEvent Schema (json)
{
"version": "0",
"id": "3f26fa39-536b-a329-cbc5-cb91af35610e",
"detail-type": "PropertyNewSaaSEvent",
"source": "flatsy.service.saas",
"account": "221760190323",
"time": "2023-04-12T14:44:37Z",
"region": "eu-west-3",
"resources": [],
"detail": {
"metadata": {
"application": "System",
"service": "flatsy.service.saas",
"actor": "System",
"actorID": "System",
"entity": "Unknown",
"correlationID": null,
"entityID": "Unknown"
},
"data": {
"property": {
"id": "4c4ed18d-e874-4b1a-ace6-82471892a0f0",
"created_at": "2023-06-12T15:20:55.037Z",
"updated_at": "2023-06-12T15:20:55.037Z",
"activated_at": "2023-06-12T15:20:55.037Z",
"url_id": "fakeurl",
"is_sale": false,
"is_pro": true,
"reference": "ref",
"additional_references": [],
"price": 200000.00,
"charges": 1250.30,
"number_of_rooms": 2,
"surface": 30.4,
"floor": 2,
"bedrooms": 1,
"access_code": "A1234",
"building": "",
"status": "available",
"agency": "4c4ed18d-e874-4b1a-ace6-82471892a0f1",
"address": {
"id": "4c4ed18d-e874-4b1a-ace6-82471892a0f1",
"created_at": "2023-06-12T14:20:55.037Z",
"updated_at": "2023-06-12T14:20:55.037Z",
"google_place_id": "RandomGooglePlaceId",
"street_number": "50",
"route": "rue d'aboukir",
"latitude": "48.8666958",
"longitude": "2.3460466",
"postal_code": "75002",
"locality": "Paris",
"administrative_area_level_2": "",
"administrative_area_level_1": "Île-De-France",
"country": ""
},
"viewing_settings":{
"id": "4c4ed18d-e874-4b1a-ace6-82471892a0f5",
"created_at": "2023-06-12T15:20:55.037Z",
"updated_at": "2023-06-12T15:20:55.037Z",
"duration": 15,
"standby_threshold": 10,
"max_leads": 1,
"max_forward": 14,
"anticipation_delay": 48,
"instructions": "",
"instructions_is_active": true,
"hide_full_address": true,
"set_asset_available_on_activation": true
},
"matching_references": [],
"ad_url": "",
"thumbnail": "",
"img_urls":[],
"allow_sharing": false,
"closure_reason": null,
"asset_type": "flat",
"mandate_number": null,
"lot_number": null
}
}
}
}
Edit this pageLast updated on 2023/11/3
