Airbnb-Style Rental Marketplace Backend

EVENT GUIDE

airbnb-propertycatalog-service

Service for management of property listings, calendars, amenities, and localization for a short-term rental marketplace. Hosts can manage listings, availability, multi-language descriptions, policies, pricing, and attributes, served for global search and discovery...

Architectural Design Credit and Contact Information

The architectural design of this microservice is credited to . For inquiries, feedback, or further information regarding the architecture, please direct your communication to:

Email:

We encourage open communication and welcome any questions or discussions related to the architectural aspects of this microservice.

Documentation Scope

Welcome to the official documentation for the PropertyCatalog Service Event descriptions. This guide is dedicated to detailing how to subscribe to and listen for state changes within the PropertyCatalog Service, offering an exclusive focus on event subscription mechanisms.

Intended Audience

This documentation is aimed at developers and integrators looking to monitor PropertyCatalog Service state changes. It is especially relevant for those wishing to implement or enhance business logic based on interactions with PropertyCatalog objects.

Overview

This section provides detailed instructions on monitoring service events, covering payload structures and demonstrating typical use cases through examples.

Authentication and Authorization

Access to the PropertyCatalog service's events is facilitated through the project's Kafka server, which is not accessible to the public. Subscription to a Kafka topic requires being on the same network and possessing valid Kafka user credentials. This document presupposes that readers have existing access to the Kafka server.

Additionally, the service offers a public subscription option via REST for real-time data management in frontend applications, secured through REST API authentication and authorization mechanisms. To subscribe to service events via the REST API, please consult the Realtime REST API Guide.

Database Events

Database events are triggered at the database layer, automatically and atomically, in response to any modifications at the data level. These events serve to notify subscribers about the creation, update, or deletion of objects within the database, distinct from any overarching business logic.

Listening to database events is particularly beneficial for those focused on tracking changes at the database level. A typical use case for subscribing to database events is to replicate the data store of one service within another service's scope, ensuring data consistency and syncronization across services.

For example, while a business operation such as "approve membership" might generate a high-level business event like membership-approved, the underlying database changes could involve multiple state updates to different entities. These might be published as separate events, such as dbevent-member-updated and dbevent-user-updated, reflecting the granular changes at the database level.

Such detailed eventing provides a robust foundation for building responsive, data-driven applications, enabling fine-grained observability and reaction to the dynamics of the data landscape. It also facilitates the architectural pattern of event sourcing, where state changes are captured as a sequence of events, allowing for high-fidelity data replication and history replay for analytical or auditing purposes.

DbEvent listingCalendar-created

Event topic: airbnb3-propertycatalog-service-dbevent-listingcalendar-created

This event is triggered upon the creation of a listingCalendar data object in the database. The event payload encompasses the newly created data, encapsulated within the root of the paylod.

Event payload:

{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}

DbEvent listingCalendar-updated

Event topic: airbnb3-propertycatalog-service-dbevent-listingcalendar-updated

Activation of this event follows the update of a listingCalendar data object. The payload contains the updated information under the listingCalendar attribute, along with the original data prior to update, labeled as old_listingCalendar and also you can find the old and new versions of updated-only portion of the data..

Event payload:

{
old_listingCalendar:{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
listingCalendar:{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
oldDataValues,
newDataValues
}

DbEvent listingCalendar-deleted

Event topic: airbnb3-propertycatalog-service-dbevent-listingcalendar-deleted

This event announces the deletion of a listingCalendar data object, covering both hard deletions (permanent removal) and soft deletions (where the isActive attribute is set to false). Regardless of the deletion type, the event payload will present the data as it was immediately before deletion, highlighting an isActive status of false for soft deletions.

Event payload:

{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}

DbEvent listingAmenity-created

Event topic: airbnb3-propertycatalog-service-dbevent-listingamenity-created

This event is triggered upon the creation of a listingAmenity data object in the database. The event payload encompasses the newly created data, encapsulated within the root of the paylod.

Event payload:

{"id":"ID","iconUrl":"String","name":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}

DbEvent listingAmenity-updated

Event topic: airbnb3-propertycatalog-service-dbevent-listingamenity-updated

Activation of this event follows the update of a listingAmenity data object. The payload contains the updated information under the listingAmenity attribute, along with the original data prior to update, labeled as old_listingAmenity and also you can find the old and new versions of updated-only portion of the data..

Event payload:

{
old_listingAmenity:{"id":"ID","iconUrl":"String","name":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
listingAmenity:{"id":"ID","iconUrl":"String","name":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
oldDataValues,
newDataValues
}

DbEvent listingAmenity-deleted

Event topic: airbnb3-propertycatalog-service-dbevent-listingamenity-deleted

This event announces the deletion of a listingAmenity data object, covering both hard deletions (permanent removal) and soft deletions (where the isActive attribute is set to false). Regardless of the deletion type, the event payload will present the data as it was immediately before deletion, highlighting an isActive status of false for soft deletions.

Event payload:

{"id":"ID","iconUrl":"String","name":"String","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}

DbEvent listing-created

Event topic: airbnb3-propertycatalog-service-dbevent-listing-created

This event is triggered upon the creation of a listing data object in the database. The event payload encompasses the newly created data, encapsulated within the root of the paylod.

Event payload:

{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}

DbEvent listing-updated

Event topic: airbnb3-propertycatalog-service-dbevent-listing-updated

Activation of this event follows the update of a listing data object. The payload contains the updated information under the listing attribute, along with the original data prior to update, labeled as old_listing and also you can find the old and new versions of updated-only portion of the data..

Event payload:

{
old_listing:{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
listing:{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
oldDataValues,
newDataValues
}

DbEvent listing-deleted

Event topic: airbnb3-propertycatalog-service-dbevent-listing-deleted

This event announces the deletion of a listing data object, covering both hard deletions (permanent removal) and soft deletions (where the isActive attribute is set to false). Regardless of the deletion type, the event payload will present the data as it was immediately before deletion, highlighting an isActive status of false for soft deletions.

Event payload:

{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}

DbEvent listingLocaleText-created

Event topic: airbnb3-propertycatalog-service-dbevent-listinglocaletext-created

This event is triggered upon the creation of a listingLocaleText data object in the database. The event payload encompasses the newly created data, encapsulated within the root of the paylod.

Event payload:

{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}

DbEvent listingLocaleText-updated

Event topic: airbnb3-propertycatalog-service-dbevent-listinglocaletext-updated

Activation of this event follows the update of a listingLocaleText data object. The payload contains the updated information under the listingLocaleText attribute, along with the original data prior to update, labeled as old_listingLocaleText and also you can find the old and new versions of updated-only portion of the data..

Event payload:

{
old_listingLocaleText:{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
listingLocaleText:{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
oldDataValues,
newDataValues
}

DbEvent listingLocaleText-deleted

Event topic: airbnb3-propertycatalog-service-dbevent-listinglocaletext-deleted

This event announces the deletion of a listingLocaleText data object, covering both hard deletions (permanent removal) and soft deletions (where the isActive attribute is set to false). Regardless of the deletion type, the event payload will present the data as it was immediately before deletion, highlighting an isActive status of false for soft deletions.

Event payload:

{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}

ElasticSearch Index Events

Within the PropertyCatalog service, most data objects are mirrored in ElasticSearch indices, ensuring these indices remain syncronized with their database counterparts through creation, updates, and deletions. These indices serve dual purposes: they act as a data source for external services and furnish aggregated data tailored to enhance frontend user experiences. Consequently, an ElasticSearch index might encapsulate data in its original form or aggregate additional information from other data objects.

These aggregations can include both one-to-one and one-to-many relationships not only with database objects within the same service but also across different services. This capability allows developers to access comprehensive, aggregated data efficiently. By subscribing to ElasticSearch index events, developers are notified when an index is updated and can directly obtain the aggregated entity within the event payload, bypassing the need for separate ElasticSearch queries.

It's noteworthy that some services may augment another service's index by appending to the entity’s extends object. In such scenarios, an *-extended event will contain only the newly added data. Should you require the complete dataset, you would need to retrieve the full ElasticSearch index entity using the provided ID.

This approach to indexing and event handling facilitates a modular, interconnected architecture where services can seamlessly integrate and react to changes, enriching the overall data ecosystem and enabling more dynamic, responsive applications.

Index Event listingcalendar-created

Event topic: elastic-index-airbnb_listingcalendar-created

Event payload:

{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}

Index Event listingcalendar-updated

Event topic: elastic-index-airbnb_listingcalendar-created

Event payload:

{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}

Index Event listingcalendar-deleted

Event topic: elastic-index-airbnb_listingcalendar-deleted

Event payload:

{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}

Index Event listingcalendar-extended

Event topic: elastic-index-airbnb_listingcalendar-extended

Event payload:

{
  id: id,
  extends: {
    [extendName]: "Object",
    [extendName + "_count"]: "Number",
  },
}

Route Events

Route events are emitted following the successful execution of a route. While most routes perform CRUD (Create, Read, Update, Delete) operations on data objects, resulting in route events that closely resemble database events, there are distinctions worth noting. A single route execution might trigger multiple CRUD actions and ElasticSearch indexing operations. However, for those primarily concerned with the overarching business logic and its outcomes, listening to the consolidated route event, published once at the conclusion of the route's execution, is more pertinent.

Moreover, routes often deliver aggregated data beyond the primary database object, catering to specific client needs. For instance, creating a data object via a route might not only return the entity's data but also route-specific metrics, such as the executing user's permissions related to the entity. Alternatively, a route might automatically generate default child entities following the creation of a parent object. Consequently, the route event encapsulates a unified dataset encompassing both the parent and its children, in contrast to individual events triggered for each entity created. Therefore, subscribing to route events can offer a richer, more contextually relevant set of information aligned with business logic.

The payload of a route event mirrors the REST response JSON of the route, providing a direct and comprehensive reflection of the data and metadata communicated to the client. This ensures that subscribers to route events receive a payload that encapsulates both the primary data involved and any additional information deemed significant at the business level, facilitating a deeper understanding and integration of the service's functional outcomes.

Route Event listing-updated

Event topic : airbnb3-propertycatalog-service-listing-updated

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listing data object itself.

The following JSON included in the payload illustrates the fullest representation of the listing object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listing","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"listing":{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listing-created

Event topic : airbnb3-propertycatalog-service-listing-created

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listing data object itself.

The following JSON included in the payload illustrates the fullest representation of the listing object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listing","method":"POST","action":"create","appVersion":"Version","rowCount":1,"listing":{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listing-deleted

Event topic : airbnb3-propertycatalog-service-listing-deleted

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listing data object itself.

The following JSON included in the payload illustrates the fullest representation of the listing object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listing","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"listing":{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listings-listed

Event topic : airbnb3-propertycatalog-service-listings-listed

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listings data object itself.

The following JSON included in the payload illustrates the fullest representation of the listings object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listings","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","listings":[{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","reviews":{"rating":"Integer","revieweeId":"ID"},"amenities":{"iconUrl":"String","name":"String"}},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}

Route Event listingcalendar-updated

Event topic : airbnb3-propertycatalog-service-listingcalendar-updated

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingCalendar data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingCalendar object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingCalendar","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"listingCalendar":{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingcalendar-created

Event topic : airbnb3-propertycatalog-service-listingcalendar-created

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingCalendar data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingCalendar object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingCalendar","method":"POST","action":"create","appVersion":"Version","rowCount":1,"listingCalendar":{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingcalendar-deleted

Event topic : airbnb3-propertycatalog-service-listingcalendar-deleted

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingCalendar data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingCalendar object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingCalendar","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"listingCalendar":{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingcalendar-retrived

Event topic : airbnb3-propertycatalog-service-listingcalendar-retrived

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingCalendar data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingCalendar object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingCalendar","method":"GET","action":"get","appVersion":"Version","rowCount":1,"listingCalendar":{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingcalendars-listed

Event topic : airbnb3-propertycatalog-service-listingcalendars-listed

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingCalendars data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingCalendars object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingCalendars","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","listingCalendars":[{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}

Route Event listing-retrived

Event topic : airbnb3-propertycatalog-service-listing-retrived

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listing data object itself.

The following JSON included in the payload illustrates the fullest representation of the listing object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listing","method":"GET","action":"get","appVersion":"Version","rowCount":1,"listing":{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","amenities":{"iconUrl":"String","name":"String"},"reviews":{"moderationStatus":"Enum","moderationStatus_idx":"Integer","isPublished":"Boolean","reviewText":"Text","rating":"Integer","revieweeId":"ID","reservationId":"ID","reviewerId":"ID","revieweeType":"Enum","revieweeType_idx":"Integer","createdAt":"Date","updatedAt":"Date"},"rezervations":[{"bookingStatus":"Enum","bookingStatus_idx":"Integer","guestId":"ID"},{},{}]}}

Route Event listinglocaletext-created

Event topic : airbnb3-propertycatalog-service-listinglocaletext-created

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingLocaleText data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingLocaleText object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingLocaleText","method":"POST","action":"create","appVersion":"Version","rowCount":1,"listingLocaleText":{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingamenities-listed

Event topic : airbnb3-propertycatalog-service-listingamenities-listed

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingAmenities data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingAmenities object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingAmenities","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","listingAmenities":[{"id":"ID","iconUrl":"String","name":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}

Route Event listinglocaletext-deleted

Event topic : airbnb3-propertycatalog-service-listinglocaletext-deleted

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingLocaleText data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingLocaleText object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingLocaleText","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"listingLocaleText":{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listinglocaletexts-listed

Event topic : airbnb3-propertycatalog-service-listinglocaletexts-listed

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingLocaleTexts data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingLocaleTexts object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingLocaleTexts","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","listingLocaleTexts":[{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}

Route Event listinglocaletext-updated

Event topic : airbnb3-propertycatalog-service-listinglocaletext-updated

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingLocaleText data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingLocaleText object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingLocaleText","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"listingLocaleText":{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingamenity-updated

Event topic : airbnb3-propertycatalog-service-listingamenity-updated

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingAmenity data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingAmenity object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingAmenity","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"listingAmenity":{"id":"ID","iconUrl":"String","name":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingamenity-retrived

Event topic : airbnb3-propertycatalog-service-listingamenity-retrived

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingAmenity data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingAmenity object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingAmenity","method":"GET","action":"get","appVersion":"Version","rowCount":1,"listingAmenity":{"id":"ID","iconUrl":"String","name":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listinglocaletext-retrived

Event topic : airbnb3-propertycatalog-service-listinglocaletext-retrived

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingLocaleText data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingLocaleText object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingLocaleText","method":"GET","action":"get","appVersion":"Version","rowCount":1,"listingLocaleText":{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingamenity-created

Event topic : airbnb3-propertycatalog-service-listingamenity-created

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingAmenity data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingAmenity object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingAmenity","method":"POST","action":"create","appVersion":"Version","rowCount":1,"listingAmenity":{"id":"ID","iconUrl":"String","name":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingamenity-deleted

Event topic : airbnb3-propertycatalog-service-listingamenity-deleted

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingAmenity data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingAmenity object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingAmenity","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"listingAmenity":{"id":"ID","iconUrl":"String","name":"String","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Index Event listingamenity-created

Event topic: elastic-index-airbnb_listingamenity-created

Event payload:

{"id":"ID","iconUrl":"String","name":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}

Index Event listingamenity-updated

Event topic: elastic-index-airbnb_listingamenity-created

Event payload:

{"id":"ID","iconUrl":"String","name":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}

Index Event listingamenity-deleted

Event topic: elastic-index-airbnb_listingamenity-deleted

Event payload:

{"id":"ID","iconUrl":"String","name":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}

Index Event listingamenity-extended

Event topic: elastic-index-airbnb_listingamenity-extended

Event payload:

{
  id: id,
  extends: {
    [extendName]: "Object",
    [extendName + "_count"]: "Number",
  },
}

Route Events

Route events are emitted following the successful execution of a route. While most routes perform CRUD (Create, Read, Update, Delete) operations on data objects, resulting in route events that closely resemble database events, there are distinctions worth noting. A single route execution might trigger multiple CRUD actions and ElasticSearch indexing operations. However, for those primarily concerned with the overarching business logic and its outcomes, listening to the consolidated route event, published once at the conclusion of the route's execution, is more pertinent.

Moreover, routes often deliver aggregated data beyond the primary database object, catering to specific client needs. For instance, creating a data object via a route might not only return the entity's data but also route-specific metrics, such as the executing user's permissions related to the entity. Alternatively, a route might automatically generate default child entities following the creation of a parent object. Consequently, the route event encapsulates a unified dataset encompassing both the parent and its children, in contrast to individual events triggered for each entity created. Therefore, subscribing to route events can offer a richer, more contextually relevant set of information aligned with business logic.

The payload of a route event mirrors the REST response JSON of the route, providing a direct and comprehensive reflection of the data and metadata communicated to the client. This ensures that subscribers to route events receive a payload that encapsulates both the primary data involved and any additional information deemed significant at the business level, facilitating a deeper understanding and integration of the service's functional outcomes.

Route Event listing-updated

Event topic : airbnb3-propertycatalog-service-listing-updated

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listing data object itself.

The following JSON included in the payload illustrates the fullest representation of the listing object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listing","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"listing":{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listing-created

Event topic : airbnb3-propertycatalog-service-listing-created

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listing data object itself.

The following JSON included in the payload illustrates the fullest representation of the listing object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listing","method":"POST","action":"create","appVersion":"Version","rowCount":1,"listing":{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listing-deleted

Event topic : airbnb3-propertycatalog-service-listing-deleted

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listing data object itself.

The following JSON included in the payload illustrates the fullest representation of the listing object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listing","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"listing":{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listings-listed

Event topic : airbnb3-propertycatalog-service-listings-listed

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listings data object itself.

The following JSON included in the payload illustrates the fullest representation of the listings object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listings","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","listings":[{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","reviews":{"rating":"Integer","revieweeId":"ID"},"amenities":{"iconUrl":"String","name":"String"}},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}

Route Event listingcalendar-updated

Event topic : airbnb3-propertycatalog-service-listingcalendar-updated

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingCalendar data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingCalendar object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingCalendar","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"listingCalendar":{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingcalendar-created

Event topic : airbnb3-propertycatalog-service-listingcalendar-created

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingCalendar data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingCalendar object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingCalendar","method":"POST","action":"create","appVersion":"Version","rowCount":1,"listingCalendar":{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingcalendar-deleted

Event topic : airbnb3-propertycatalog-service-listingcalendar-deleted

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingCalendar data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingCalendar object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingCalendar","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"listingCalendar":{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingcalendar-retrived

Event topic : airbnb3-propertycatalog-service-listingcalendar-retrived

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingCalendar data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingCalendar object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingCalendar","method":"GET","action":"get","appVersion":"Version","rowCount":1,"listingCalendar":{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingcalendars-listed

Event topic : airbnb3-propertycatalog-service-listingcalendars-listed

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingCalendars data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingCalendars object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingCalendars","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","listingCalendars":[{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}

Route Event listing-retrived

Event topic : airbnb3-propertycatalog-service-listing-retrived

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listing data object itself.

The following JSON included in the payload illustrates the fullest representation of the listing object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listing","method":"GET","action":"get","appVersion":"Version","rowCount":1,"listing":{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","amenities":{"iconUrl":"String","name":"String"},"reviews":{"moderationStatus":"Enum","moderationStatus_idx":"Integer","isPublished":"Boolean","reviewText":"Text","rating":"Integer","revieweeId":"ID","reservationId":"ID","reviewerId":"ID","revieweeType":"Enum","revieweeType_idx":"Integer","createdAt":"Date","updatedAt":"Date"},"rezervations":[{"bookingStatus":"Enum","bookingStatus_idx":"Integer","guestId":"ID"},{},{}]}}

Route Event listinglocaletext-created

Event topic : airbnb3-propertycatalog-service-listinglocaletext-created

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingLocaleText data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingLocaleText object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingLocaleText","method":"POST","action":"create","appVersion":"Version","rowCount":1,"listingLocaleText":{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingamenities-listed

Event topic : airbnb3-propertycatalog-service-listingamenities-listed

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingAmenities data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingAmenities object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingAmenities","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","listingAmenities":[{"id":"ID","iconUrl":"String","name":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}

Route Event listinglocaletext-deleted

Event topic : airbnb3-propertycatalog-service-listinglocaletext-deleted

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingLocaleText data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingLocaleText object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingLocaleText","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"listingLocaleText":{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listinglocaletexts-listed

Event topic : airbnb3-propertycatalog-service-listinglocaletexts-listed

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingLocaleTexts data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingLocaleTexts object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingLocaleTexts","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","listingLocaleTexts":[{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}

Route Event listinglocaletext-updated

Event topic : airbnb3-propertycatalog-service-listinglocaletext-updated

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingLocaleText data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingLocaleText object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingLocaleText","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"listingLocaleText":{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingamenity-updated

Event topic : airbnb3-propertycatalog-service-listingamenity-updated

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingAmenity data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingAmenity object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingAmenity","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"listingAmenity":{"id":"ID","iconUrl":"String","name":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingamenity-retrived

Event topic : airbnb3-propertycatalog-service-listingamenity-retrived

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingAmenity data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingAmenity object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingAmenity","method":"GET","action":"get","appVersion":"Version","rowCount":1,"listingAmenity":{"id":"ID","iconUrl":"String","name":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listinglocaletext-retrived

Event topic : airbnb3-propertycatalog-service-listinglocaletext-retrived

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingLocaleText data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingLocaleText object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingLocaleText","method":"GET","action":"get","appVersion":"Version","rowCount":1,"listingLocaleText":{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingamenity-created

Event topic : airbnb3-propertycatalog-service-listingamenity-created

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingAmenity data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingAmenity object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingAmenity","method":"POST","action":"create","appVersion":"Version","rowCount":1,"listingAmenity":{"id":"ID","iconUrl":"String","name":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingamenity-deleted

Event topic : airbnb3-propertycatalog-service-listingamenity-deleted

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingAmenity data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingAmenity object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingAmenity","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"listingAmenity":{"id":"ID","iconUrl":"String","name":"String","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Index Event listing-created

Event topic: elastic-index-airbnb_listing-created

Event payload:

{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}

Index Event listing-updated

Event topic: elastic-index-airbnb_listing-created

Event payload:

{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}

Index Event listing-deleted

Event topic: elastic-index-airbnb_listing-deleted

Event payload:

{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}

Index Event listing-extended

Event topic: elastic-index-airbnb_listing-extended

Event payload:

{
  id: id,
  extends: {
    [extendName]: "Object",
    [extendName + "_count"]: "Number",
  },
}

Route Events

Route events are emitted following the successful execution of a route. While most routes perform CRUD (Create, Read, Update, Delete) operations on data objects, resulting in route events that closely resemble database events, there are distinctions worth noting. A single route execution might trigger multiple CRUD actions and ElasticSearch indexing operations. However, for those primarily concerned with the overarching business logic and its outcomes, listening to the consolidated route event, published once at the conclusion of the route's execution, is more pertinent.

Moreover, routes often deliver aggregated data beyond the primary database object, catering to specific client needs. For instance, creating a data object via a route might not only return the entity's data but also route-specific metrics, such as the executing user's permissions related to the entity. Alternatively, a route might automatically generate default child entities following the creation of a parent object. Consequently, the route event encapsulates a unified dataset encompassing both the parent and its children, in contrast to individual events triggered for each entity created. Therefore, subscribing to route events can offer a richer, more contextually relevant set of information aligned with business logic.

The payload of a route event mirrors the REST response JSON of the route, providing a direct and comprehensive reflection of the data and metadata communicated to the client. This ensures that subscribers to route events receive a payload that encapsulates both the primary data involved and any additional information deemed significant at the business level, facilitating a deeper understanding and integration of the service's functional outcomes.

Route Event listing-updated

Event topic : airbnb3-propertycatalog-service-listing-updated

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listing data object itself.

The following JSON included in the payload illustrates the fullest representation of the listing object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listing","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"listing":{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listing-created

Event topic : airbnb3-propertycatalog-service-listing-created

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listing data object itself.

The following JSON included in the payload illustrates the fullest representation of the listing object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listing","method":"POST","action":"create","appVersion":"Version","rowCount":1,"listing":{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listing-deleted

Event topic : airbnb3-propertycatalog-service-listing-deleted

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listing data object itself.

The following JSON included in the payload illustrates the fullest representation of the listing object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listing","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"listing":{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listings-listed

Event topic : airbnb3-propertycatalog-service-listings-listed

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listings data object itself.

The following JSON included in the payload illustrates the fullest representation of the listings object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listings","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","listings":[{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","reviews":{"rating":"Integer","revieweeId":"ID"},"amenities":{"iconUrl":"String","name":"String"}},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}

Route Event listingcalendar-updated

Event topic : airbnb3-propertycatalog-service-listingcalendar-updated

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingCalendar data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingCalendar object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingCalendar","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"listingCalendar":{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingcalendar-created

Event topic : airbnb3-propertycatalog-service-listingcalendar-created

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingCalendar data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingCalendar object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingCalendar","method":"POST","action":"create","appVersion":"Version","rowCount":1,"listingCalendar":{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingcalendar-deleted

Event topic : airbnb3-propertycatalog-service-listingcalendar-deleted

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingCalendar data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingCalendar object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingCalendar","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"listingCalendar":{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingcalendar-retrived

Event topic : airbnb3-propertycatalog-service-listingcalendar-retrived

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingCalendar data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingCalendar object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingCalendar","method":"GET","action":"get","appVersion":"Version","rowCount":1,"listingCalendar":{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingcalendars-listed

Event topic : airbnb3-propertycatalog-service-listingcalendars-listed

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingCalendars data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingCalendars object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingCalendars","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","listingCalendars":[{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}

Route Event listing-retrived

Event topic : airbnb3-propertycatalog-service-listing-retrived

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listing data object itself.

The following JSON included in the payload illustrates the fullest representation of the listing object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listing","method":"GET","action":"get","appVersion":"Version","rowCount":1,"listing":{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","amenities":{"iconUrl":"String","name":"String"},"reviews":{"moderationStatus":"Enum","moderationStatus_idx":"Integer","isPublished":"Boolean","reviewText":"Text","rating":"Integer","revieweeId":"ID","reservationId":"ID","reviewerId":"ID","revieweeType":"Enum","revieweeType_idx":"Integer","createdAt":"Date","updatedAt":"Date"},"rezervations":[{"bookingStatus":"Enum","bookingStatus_idx":"Integer","guestId":"ID"},{},{}]}}

Route Event listinglocaletext-created

Event topic : airbnb3-propertycatalog-service-listinglocaletext-created

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingLocaleText data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingLocaleText object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingLocaleText","method":"POST","action":"create","appVersion":"Version","rowCount":1,"listingLocaleText":{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingamenities-listed

Event topic : airbnb3-propertycatalog-service-listingamenities-listed

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingAmenities data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingAmenities object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingAmenities","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","listingAmenities":[{"id":"ID","iconUrl":"String","name":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}

Route Event listinglocaletext-deleted

Event topic : airbnb3-propertycatalog-service-listinglocaletext-deleted

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingLocaleText data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingLocaleText object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingLocaleText","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"listingLocaleText":{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listinglocaletexts-listed

Event topic : airbnb3-propertycatalog-service-listinglocaletexts-listed

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingLocaleTexts data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingLocaleTexts object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingLocaleTexts","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","listingLocaleTexts":[{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}

Route Event listinglocaletext-updated

Event topic : airbnb3-propertycatalog-service-listinglocaletext-updated

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingLocaleText data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingLocaleText object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingLocaleText","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"listingLocaleText":{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingamenity-updated

Event topic : airbnb3-propertycatalog-service-listingamenity-updated

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingAmenity data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingAmenity object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingAmenity","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"listingAmenity":{"id":"ID","iconUrl":"String","name":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingamenity-retrived

Event topic : airbnb3-propertycatalog-service-listingamenity-retrived

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingAmenity data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingAmenity object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingAmenity","method":"GET","action":"get","appVersion":"Version","rowCount":1,"listingAmenity":{"id":"ID","iconUrl":"String","name":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listinglocaletext-retrived

Event topic : airbnb3-propertycatalog-service-listinglocaletext-retrived

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingLocaleText data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingLocaleText object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingLocaleText","method":"GET","action":"get","appVersion":"Version","rowCount":1,"listingLocaleText":{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingamenity-created

Event topic : airbnb3-propertycatalog-service-listingamenity-created

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingAmenity data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingAmenity object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingAmenity","method":"POST","action":"create","appVersion":"Version","rowCount":1,"listingAmenity":{"id":"ID","iconUrl":"String","name":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingamenity-deleted

Event topic : airbnb3-propertycatalog-service-listingamenity-deleted

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingAmenity data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingAmenity object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingAmenity","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"listingAmenity":{"id":"ID","iconUrl":"String","name":"String","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Index Event listinglocaletext-created

Event topic: elastic-index-airbnb_listinglocaletext-created

Event payload:

{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}

Index Event listinglocaletext-updated

Event topic: elastic-index-airbnb_listinglocaletext-created

Event payload:

{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}

Index Event listinglocaletext-deleted

Event topic: elastic-index-airbnb_listinglocaletext-deleted

Event payload:

{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}

Index Event listinglocaletext-extended

Event topic: elastic-index-airbnb_listinglocaletext-extended

Event payload:

{
  id: id,
  extends: {
    [extendName]: "Object",
    [extendName + "_count"]: "Number",
  },
}

Route Events

Route events are emitted following the successful execution of a route. While most routes perform CRUD (Create, Read, Update, Delete) operations on data objects, resulting in route events that closely resemble database events, there are distinctions worth noting. A single route execution might trigger multiple CRUD actions and ElasticSearch indexing operations. However, for those primarily concerned with the overarching business logic and its outcomes, listening to the consolidated route event, published once at the conclusion of the route's execution, is more pertinent.

Moreover, routes often deliver aggregated data beyond the primary database object, catering to specific client needs. For instance, creating a data object via a route might not only return the entity's data but also route-specific metrics, such as the executing user's permissions related to the entity. Alternatively, a route might automatically generate default child entities following the creation of a parent object. Consequently, the route event encapsulates a unified dataset encompassing both the parent and its children, in contrast to individual events triggered for each entity created. Therefore, subscribing to route events can offer a richer, more contextually relevant set of information aligned with business logic.

The payload of a route event mirrors the REST response JSON of the route, providing a direct and comprehensive reflection of the data and metadata communicated to the client. This ensures that subscribers to route events receive a payload that encapsulates both the primary data involved and any additional information deemed significant at the business level, facilitating a deeper understanding and integration of the service's functional outcomes.

Route Event listing-updated

Event topic : airbnb3-propertycatalog-service-listing-updated

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listing data object itself.

The following JSON included in the payload illustrates the fullest representation of the listing object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listing","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"listing":{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listing-created

Event topic : airbnb3-propertycatalog-service-listing-created

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listing data object itself.

The following JSON included in the payload illustrates the fullest representation of the listing object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listing","method":"POST","action":"create","appVersion":"Version","rowCount":1,"listing":{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listing-deleted

Event topic : airbnb3-propertycatalog-service-listing-deleted

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listing data object itself.

The following JSON included in the payload illustrates the fullest representation of the listing object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listing","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"listing":{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listings-listed

Event topic : airbnb3-propertycatalog-service-listings-listed

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listings data object itself.

The following JSON included in the payload illustrates the fullest representation of the listings object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listings","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","listings":[{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","reviews":{"rating":"Integer","revieweeId":"ID"},"amenities":{"iconUrl":"String","name":"String"}},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}

Route Event listingcalendar-updated

Event topic : airbnb3-propertycatalog-service-listingcalendar-updated

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingCalendar data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingCalendar object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingCalendar","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"listingCalendar":{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingcalendar-created

Event topic : airbnb3-propertycatalog-service-listingcalendar-created

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingCalendar data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingCalendar object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingCalendar","method":"POST","action":"create","appVersion":"Version","rowCount":1,"listingCalendar":{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingcalendar-deleted

Event topic : airbnb3-propertycatalog-service-listingcalendar-deleted

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingCalendar data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingCalendar object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingCalendar","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"listingCalendar":{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingcalendar-retrived

Event topic : airbnb3-propertycatalog-service-listingcalendar-retrived

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingCalendar data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingCalendar object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingCalendar","method":"GET","action":"get","appVersion":"Version","rowCount":1,"listingCalendar":{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingcalendars-listed

Event topic : airbnb3-propertycatalog-service-listingcalendars-listed

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingCalendars data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingCalendars object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingCalendars","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","listingCalendars":[{"id":"ID","priceOverride":"Double","date":"Date","minStay":"Integer","listingId":"ID","bookedBy":"ID","iCalUrl":"String","externalCalendarIds":"String","isAvailable":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}

Route Event listing-retrived

Event topic : airbnb3-propertycatalog-service-listing-retrived

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listing data object itself.

The following JSON included in the payload illustrates the fullest representation of the listing object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listing","method":"GET","action":"get","appVersion":"Version","rowCount":1,"listing":{"id":"ID","title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","pricePerNight":"Double","description":"Text","propertyType":"Enum","propertyType_idx":"Integer","location":"Object","maxStay":"Integer","minStay":"Integer","currency":"String","seasonalPricing":"Object","approvalType":"Enum","approvalType_idx":"Integer","bookingPolicies":"Object","cancellationPolicy":"Object","languagesSupported":"String","houseRules":"Text","isPublished":"Boolean","cityTaxPercent":"Double","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","amenities":{"iconUrl":"String","name":"String"},"reviews":{"moderationStatus":"Enum","moderationStatus_idx":"Integer","isPublished":"Boolean","reviewText":"Text","rating":"Integer","revieweeId":"ID","reservationId":"ID","reviewerId":"ID","revieweeType":"Enum","revieweeType_idx":"Integer","createdAt":"Date","updatedAt":"Date"},"rezervations":[{"bookingStatus":"Enum","bookingStatus_idx":"Integer","guestId":"ID"},{},{}]}}

Route Event listinglocaletext-created

Event topic : airbnb3-propertycatalog-service-listinglocaletext-created

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingLocaleText data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingLocaleText object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingLocaleText","method":"POST","action":"create","appVersion":"Version","rowCount":1,"listingLocaleText":{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingamenities-listed

Event topic : airbnb3-propertycatalog-service-listingamenities-listed

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingAmenities data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingAmenities object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingAmenities","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","listingAmenities":[{"id":"ID","iconUrl":"String","name":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}

Route Event listinglocaletext-deleted

Event topic : airbnb3-propertycatalog-service-listinglocaletext-deleted

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingLocaleText data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingLocaleText object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingLocaleText","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"listingLocaleText":{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listinglocaletexts-listed

Event topic : airbnb3-propertycatalog-service-listinglocaletexts-listed

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingLocaleTexts data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingLocaleTexts object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingLocaleTexts","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","listingLocaleTexts":[{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}

Route Event listinglocaletext-updated

Event topic : airbnb3-propertycatalog-service-listinglocaletext-updated

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingLocaleText data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingLocaleText object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingLocaleText","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"listingLocaleText":{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingamenity-updated

Event topic : airbnb3-propertycatalog-service-listingamenity-updated

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingAmenity data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingAmenity object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingAmenity","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"listingAmenity":{"id":"ID","iconUrl":"String","name":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingamenity-retrived

Event topic : airbnb3-propertycatalog-service-listingamenity-retrived

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingAmenity data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingAmenity object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingAmenity","method":"GET","action":"get","appVersion":"Version","rowCount":1,"listingAmenity":{"id":"ID","iconUrl":"String","name":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listinglocaletext-retrived

Event topic : airbnb3-propertycatalog-service-listinglocaletext-retrived

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingLocaleText data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingLocaleText object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingLocaleText","method":"GET","action":"get","appVersion":"Version","rowCount":1,"listingLocaleText":{"id":"ID","localizedDescription":"Text","localizedTitle":"String","listingId":"ID","languageCode":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingamenity-created

Event topic : airbnb3-propertycatalog-service-listingamenity-created

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingAmenity data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingAmenity object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingAmenity","method":"POST","action":"create","appVersion":"Version","rowCount":1,"listingAmenity":{"id":"ID","iconUrl":"String","name":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Route Event listingamenity-deleted

Event topic : airbnb3-propertycatalog-service-listingamenity-deleted

Event payload:

The event payload, mirroring the REST API response, is structured as an encapsulated JSON. It includes metadata related to the API as well as the listingAmenity data object itself.

The following JSON included in the payload illustrates the fullest representation of the listingAmenity object. Note, however, that certain properties might be excluded in accordance with the object's inherent logic.

{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"listingAmenity","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"listingAmenity":{"id":"ID","iconUrl":"String","name":"String","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}

Copyright

All sources, documents and other digital materials are copyright of .

About Us

For more information please visit our website: .

. .