PropertyCreated
v2.0.0

Event represents when a property has been created in the Property Service
You are currently viewing an old version of this event (1.0.0).Read latest version →

Details

This event is emitted after a property has been inserted in the Property Service.

It is consumed by the Property Service through a PATCH /property/calculate_nearest_epicenter call.

Consumer / Producer Diagram

Event Example

PropertyCreated Schema (json)
{
  "version": "0",
  "id": "13829069-e767-206a-4ca6-d887d524d5b4",
  "detail-type": "PropertyCreated",
  "source": "flatsy.service.property",
  "account": "221760190323",
  "time": "2023-04-13T06:38:59Z",
  "region": "eu-west-3",
  "resources": [],
  "detail": {
    "metadata": {
      "application": "System",
      "service": "flatsy.service.property",
      "actor": "System",
      "actorID": "System",
      "entity": "Property",
      "entityID": "7684a6f0-96d7-4475-915a-655b56464841",
      "correlationID": null
    },
    "data": {
      "property": {
        "id": "7684a6f0-96d7-4475-915a-655b56464841",
        "transactionType": "transaction.type.sale",
        "status": "property.status.available",
        "creationMethod": "creation.method.manual",
        "isPremium": true,
        "longitude": "-1.54001900000000003",
        "latitude": "47.22823660000000245",
        "externalRef": "f59056",
        "customerID": "f2bb4633-95ba-4e94-a53a-7986d7150a3d",
        "streetNumber": null,
        "route": null,
        "streetAddress": "5 Avenue Manon",
        "postalCode": "44000",
        "locality": "Nantes",
        "countryCode": "FR",
        "firstStaffedAt": null,
        "createdAt": "2023-04-13T06:38:56.552695Z",
        "updatedAt": "2023-04-13T06:38:56.552695Z"
      }
    }
  }
}
Edit this pageLast updated on 2023/11/14