EVENT GUIDE
airbnb-adminpanel-service
Administrative and compliance management backend for moderation, audit, dispute, financial oversight, localization, and GDPR in the Airbnb-style rental platform...
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
AdminPanel
Service Event descriptions. This guide is dedicated to detailing
how to subscribe to and listen for state changes within the
AdminPanel
Service, offering an exclusive focus on event subscription
mechanisms.
Intended Audience
This documentation is aimed at developers and integrators looking
to monitor
AdminPanel
Service state changes. It is especially relevant for those wishing
to implement or enhance business logic based on interactions with
AdminPanel
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
AdminPanel
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 localizationSetting-created
Event topic:
airbnb3-adminpanel-service-dbevent-localizationsetting-created
This event is triggered upon the creation of a
localizationSetting
data object in the database. The event payload encompasses the
newly created data, encapsulated within the root of the paylod.
Event payload:
{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
DbEvent localizationSetting-updated
Event topic:
airbnb3-adminpanel-service-dbevent-localizationsetting-updated
Activation of this event follows the update of a
localizationSetting
data object. The payload contains the updated information under
the
localizationSetting
attribute, along with the original data prior to update, labeled
as
old_localizationSetting
and also you can find the old and new versions of updated-only
portion of the data..
Event payload:
{
old_localizationSetting:{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
localizationSetting:{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
oldDataValues,
newDataValues
}
DbEvent localizationSetting-deleted
Event topic:
airbnb3-adminpanel-service-dbevent-localizationsetting-deleted
This event announces the deletion of a
localizationSetting
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","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
DbEvent adminDisputeAction-created
Event topic:
airbnb3-adminpanel-service-dbevent-admindisputeaction-created
This event is triggered upon the creation of a
adminDisputeAction
data object in the database. The event payload encompasses the
newly created data, encapsulated within the root of the paylod.
Event payload:
{"id":"ID","disputeId":"ID","actionTaken":"String","notes":"Text","adminId":"ID","outcome":"String","actionDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
DbEvent adminDisputeAction-updated
Event topic:
airbnb3-adminpanel-service-dbevent-admindisputeaction-updated
Activation of this event follows the update of a
adminDisputeAction
data object. The payload contains the updated information under
the
adminDisputeAction
attribute, along with the original data prior to update, labeled
as
old_adminDisputeAction
and also you can find the old and new versions of updated-only
portion of the data..
Event payload:
{
old_adminDisputeAction:{"id":"ID","disputeId":"ID","actionTaken":"String","notes":"Text","adminId":"ID","outcome":"String","actionDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
adminDisputeAction:{"id":"ID","disputeId":"ID","actionTaken":"String","notes":"Text","adminId":"ID","outcome":"String","actionDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
oldDataValues,
newDataValues
}
DbEvent adminDisputeAction-deleted
Event topic:
airbnb3-adminpanel-service-dbevent-admindisputeaction-deleted
This event announces the deletion of a
adminDisputeAction
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","disputeId":"ID","actionTaken":"String","notes":"Text","adminId":"ID","outcome":"String","actionDate":"Date","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
DbEvent apiKey-created
Event topic:
airbnb3-adminpanel-service-dbevent-apikey-created
This event is triggered upon the creation of a
apiKey
data object in the database. The event payload encompasses the
newly created data, encapsulated within the root of the paylod.
Event payload:
{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
DbEvent apiKey-updated
Event topic:
airbnb3-adminpanel-service-dbevent-apikey-updated
Activation of this event follows the update of a
apiKey
data object. The payload contains the updated information under
the
apiKey
attribute, along with the original data prior to update, labeled
as
old_apiKey
and also you can find the old and new versions of updated-only
portion of the data..
Event payload:
{
old_apiKey:{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
apiKey:{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
oldDataValues,
newDataValues
}
DbEvent apiKey-deleted
Event topic:
airbnb3-adminpanel-service-dbevent-apikey-deleted
This event announces the deletion of a
apiKey
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","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
DbEvent financialReport-created
Event topic:
airbnb3-adminpanel-service-dbevent-financialreport-created
This event is triggered upon the creation of a
financialReport
data object in the database. The event payload encompasses the
newly created data, encapsulated within the root of the paylod.
Event payload:
{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
DbEvent financialReport-updated
Event topic:
airbnb3-adminpanel-service-dbevent-financialreport-updated
Activation of this event follows the update of a
financialReport
data object. The payload contains the updated information under
the
financialReport
attribute, along with the original data prior to update, labeled
as
old_financialReport
and also you can find the old and new versions of updated-only
portion of the data..
Event payload:
{
old_financialReport:{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
financialReport:{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
oldDataValues,
newDataValues
}
DbEvent financialReport-deleted
Event topic:
airbnb3-adminpanel-service-dbevent-financialreport-deleted
This event announces the deletion of a
financialReport
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","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":false}
DbEvent auditLog-created
Event topic:
airbnb3-adminpanel-service-dbevent-auditlog-created
This event is triggered upon the creation of a
auditLog
data object in the database. The event payload encompasses the
newly created data, encapsulated within the root of the paylod.
Event payload:
{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
DbEvent auditLog-updated
Event topic:
airbnb3-adminpanel-service-dbevent-auditlog-updated
Activation of this event follows the update of a
auditLog
data object. The payload contains the updated information under
the
auditLog
attribute, along with the original data prior to update, labeled
as
old_auditLog
and also you can find the old and new versions of updated-only
portion of the data..
Event payload:
{
old_auditLog:{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
auditLog:{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
oldDataValues,
newDataValues
}
DbEvent auditLog-deleted
Event topic:
airbnb3-adminpanel-service-dbevent-auditlog-deleted
This event announces the deletion of a
auditLog
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","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":false}
DbEvent gdprAction-created
Event topic:
airbnb3-adminpanel-service-dbevent-gdpraction-created
This event is triggered upon the creation of a
gdprAction
data object in the database. The event payload encompasses the
newly created data, encapsulated within the root of the paylod.
Event payload:
{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
DbEvent gdprAction-updated
Event topic:
airbnb3-adminpanel-service-dbevent-gdpraction-updated
Activation of this event follows the update of a
gdprAction
data object. The payload contains the updated information under
the
gdprAction
attribute, along with the original data prior to update, labeled
as
old_gdprAction
and also you can find the old and new versions of updated-only
portion of the data..
Event payload:
{
old_gdprAction:{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
gdprAction:{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
oldDataValues,
newDataValues
}
DbEvent gdprAction-deleted
Event topic:
airbnb3-adminpanel-service-dbevent-gdpraction-deleted
This event announces the deletion of a
gdprAction
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","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":false}
ElasticSearch Index Events
Within the
AdminPanel
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 localizationsetting-created
Event topic:
elastic-index-airbnb_localizationsetting-created
Event payload:
{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event localizationsetting-updated
Event topic:
elastic-index-airbnb_localizationsetting-created
Event payload:
{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event localizationsetting-deleted
Event topic:
elastic-index-airbnb_localizationsetting-deleted
Event payload:
{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event localizationsetting-extended
Event topic:
elastic-index-airbnb_localizationsetting-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 auditlog-retrived
Event topic :
airbnb3-adminpanel-service-auditlog-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
auditLog
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
auditLog
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":"auditLog","method":"GET","action":"get","appVersion":"Version","rowCount":1,"auditLog":{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event financialreport-retrived
Event topic :
airbnb3-adminpanel-service-financialreport-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
financialReport
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
financialReport
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":"financialReport","method":"GET","action":"get","appVersion":"Version","rowCount":1,"financialReport":{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event financialreport-created
Event topic :
airbnb3-adminpanel-service-financialreport-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
financialReport
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
financialReport
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":"financialReport","method":"POST","action":"create","appVersion":"Version","rowCount":1,"financialReport":{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event auditlogs-listed
Event topic :
airbnb3-adminpanel-service-auditlogs-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
auditLogs
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
auditLogs
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":"auditLogs","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","auditLogs":[{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event financialreports-listed
Event topic :
airbnb3-adminpanel-service-financialreports-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
financialReports
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
financialReports
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":"financialReports","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","financialReports":[{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event auditlog-created
Event topic :
airbnb3-adminpanel-service-auditlog-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
auditLog
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
auditLog
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":"auditLog","method":"POST","action":"create","appVersion":"Version","rowCount":1,"auditLog":{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event localizationsetting-created
Event topic :
airbnb3-adminpanel-service-localizationsetting-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
localizationSetting
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
localizationSetting
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":"localizationSetting","method":"POST","action":"create","appVersion":"Version","rowCount":1,"localizationSetting":{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event admindisputeactions-listed
Event topic :
airbnb3-adminpanel-service-admindisputeactions-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
adminDisputeActions
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
adminDisputeActions
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":"adminDisputeActions","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","adminDisputeActions":[{"id":"ID","disputeId":"ID","actionTaken":"String","notes":"Text","adminId":"ID","outcome":"String","actionDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event admindisputeaction-created
Event topic :
airbnb3-adminpanel-service-admindisputeaction-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
adminDisputeAction
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
adminDisputeAction
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":"adminDisputeAction","method":"POST","action":"create","appVersion":"Version","rowCount":1,"adminDisputeAction":{"id":"ID","disputeId":"ID","actionTaken":"String","notes":"Text","adminId":"ID","outcome":"String","actionDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event localizationsetting-updated
Event topic :
airbnb3-adminpanel-service-localizationsetting-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
localizationSetting
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
localizationSetting
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":"localizationSetting","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"localizationSetting":{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event gdpraction-updated
Event topic :
airbnb3-adminpanel-service-gdpraction-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
gdprAction
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
gdprAction
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":"gdprAction","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"gdprAction":{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event gdpractions-listed
Event topic :
airbnb3-adminpanel-service-gdpractions-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
gdprActions
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
gdprActions
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":"gdprActions","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","gdprActions":[{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event apikey-created
Event topic :
airbnb3-adminpanel-service-apikey-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
apiKey
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
apiKey
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":"apiKey","method":"POST","action":"create","appVersion":"Version","rowCount":1,"apiKey":{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event apikeys-listed
Event topic :
airbnb3-adminpanel-service-apikeys-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
apiKeys
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
apiKeys
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":"apiKeys","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","apiKeys":[{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event apikey-updated
Event topic :
airbnb3-adminpanel-service-apikey-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
apiKey
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
apiKey
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":"apiKey","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"apiKey":{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event localizationsettings-listed
Event topic :
airbnb3-adminpanel-service-localizationsettings-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
localizationSettings
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
localizationSettings
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":"localizationSettings","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","localizationSettings":[{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event gdpraction-created
Event topic :
airbnb3-adminpanel-service-gdpraction-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
gdprAction
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
gdprAction
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":"gdprAction","method":"POST","action":"create","appVersion":"Version","rowCount":1,"gdprAction":{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Index Event admindisputeaction-created
Event topic:
elastic-index-airbnb_admindisputeaction-created
Event payload:
{"id":"ID","disputeId":"ID","actionTaken":"String","notes":"Text","adminId":"ID","outcome":"String","actionDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event admindisputeaction-updated
Event topic:
elastic-index-airbnb_admindisputeaction-created
Event payload:
{"id":"ID","disputeId":"ID","actionTaken":"String","notes":"Text","adminId":"ID","outcome":"String","actionDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event admindisputeaction-deleted
Event topic:
elastic-index-airbnb_admindisputeaction-deleted
Event payload:
{"id":"ID","disputeId":"ID","actionTaken":"String","notes":"Text","adminId":"ID","outcome":"String","actionDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event admindisputeaction-extended
Event topic:
elastic-index-airbnb_admindisputeaction-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 auditlog-retrived
Event topic :
airbnb3-adminpanel-service-auditlog-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
auditLog
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
auditLog
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":"auditLog","method":"GET","action":"get","appVersion":"Version","rowCount":1,"auditLog":{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event financialreport-retrived
Event topic :
airbnb3-adminpanel-service-financialreport-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
financialReport
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
financialReport
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":"financialReport","method":"GET","action":"get","appVersion":"Version","rowCount":1,"financialReport":{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event financialreport-created
Event topic :
airbnb3-adminpanel-service-financialreport-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
financialReport
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
financialReport
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":"financialReport","method":"POST","action":"create","appVersion":"Version","rowCount":1,"financialReport":{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event auditlogs-listed
Event topic :
airbnb3-adminpanel-service-auditlogs-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
auditLogs
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
auditLogs
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":"auditLogs","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","auditLogs":[{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event financialreports-listed
Event topic :
airbnb3-adminpanel-service-financialreports-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
financialReports
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
financialReports
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":"financialReports","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","financialReports":[{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event auditlog-created
Event topic :
airbnb3-adminpanel-service-auditlog-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
auditLog
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
auditLog
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":"auditLog","method":"POST","action":"create","appVersion":"Version","rowCount":1,"auditLog":{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event localizationsetting-created
Event topic :
airbnb3-adminpanel-service-localizationsetting-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
localizationSetting
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
localizationSetting
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":"localizationSetting","method":"POST","action":"create","appVersion":"Version","rowCount":1,"localizationSetting":{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event admindisputeactions-listed
Event topic :
airbnb3-adminpanel-service-admindisputeactions-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
adminDisputeActions
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
adminDisputeActions
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":"adminDisputeActions","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","adminDisputeActions":[{"id":"ID","disputeId":"ID","actionTaken":"String","notes":"Text","adminId":"ID","outcome":"String","actionDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event admindisputeaction-created
Event topic :
airbnb3-adminpanel-service-admindisputeaction-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
adminDisputeAction
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
adminDisputeAction
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":"adminDisputeAction","method":"POST","action":"create","appVersion":"Version","rowCount":1,"adminDisputeAction":{"id":"ID","disputeId":"ID","actionTaken":"String","notes":"Text","adminId":"ID","outcome":"String","actionDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event localizationsetting-updated
Event topic :
airbnb3-adminpanel-service-localizationsetting-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
localizationSetting
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
localizationSetting
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":"localizationSetting","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"localizationSetting":{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event gdpraction-updated
Event topic :
airbnb3-adminpanel-service-gdpraction-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
gdprAction
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
gdprAction
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":"gdprAction","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"gdprAction":{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event gdpractions-listed
Event topic :
airbnb3-adminpanel-service-gdpractions-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
gdprActions
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
gdprActions
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":"gdprActions","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","gdprActions":[{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event apikey-created
Event topic :
airbnb3-adminpanel-service-apikey-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
apiKey
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
apiKey
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":"apiKey","method":"POST","action":"create","appVersion":"Version","rowCount":1,"apiKey":{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event apikeys-listed
Event topic :
airbnb3-adminpanel-service-apikeys-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
apiKeys
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
apiKeys
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":"apiKeys","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","apiKeys":[{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event apikey-updated
Event topic :
airbnb3-adminpanel-service-apikey-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
apiKey
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
apiKey
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":"apiKey","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"apiKey":{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event localizationsettings-listed
Event topic :
airbnb3-adminpanel-service-localizationsettings-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
localizationSettings
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
localizationSettings
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":"localizationSettings","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","localizationSettings":[{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event gdpraction-created
Event topic :
airbnb3-adminpanel-service-gdpraction-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
gdprAction
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
gdprAction
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":"gdprAction","method":"POST","action":"create","appVersion":"Version","rowCount":1,"gdprAction":{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Index Event apikey-created
Event topic:
elastic-index-airbnb_apikey-created
Event payload:
{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event apikey-updated
Event topic:
elastic-index-airbnb_apikey-created
Event payload:
{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event apikey-deleted
Event topic:
elastic-index-airbnb_apikey-deleted
Event payload:
{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event apikey-extended
Event topic:
elastic-index-airbnb_apikey-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 auditlog-retrived
Event topic :
airbnb3-adminpanel-service-auditlog-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
auditLog
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
auditLog
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":"auditLog","method":"GET","action":"get","appVersion":"Version","rowCount":1,"auditLog":{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event financialreport-retrived
Event topic :
airbnb3-adminpanel-service-financialreport-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
financialReport
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
financialReport
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":"financialReport","method":"GET","action":"get","appVersion":"Version","rowCount":1,"financialReport":{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event financialreport-created
Event topic :
airbnb3-adminpanel-service-financialreport-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
financialReport
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
financialReport
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":"financialReport","method":"POST","action":"create","appVersion":"Version","rowCount":1,"financialReport":{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event auditlogs-listed
Event topic :
airbnb3-adminpanel-service-auditlogs-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
auditLogs
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
auditLogs
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":"auditLogs","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","auditLogs":[{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event financialreports-listed
Event topic :
airbnb3-adminpanel-service-financialreports-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
financialReports
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
financialReports
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":"financialReports","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","financialReports":[{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event auditlog-created
Event topic :
airbnb3-adminpanel-service-auditlog-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
auditLog
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
auditLog
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":"auditLog","method":"POST","action":"create","appVersion":"Version","rowCount":1,"auditLog":{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event localizationsetting-created
Event topic :
airbnb3-adminpanel-service-localizationsetting-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
localizationSetting
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
localizationSetting
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":"localizationSetting","method":"POST","action":"create","appVersion":"Version","rowCount":1,"localizationSetting":{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event admindisputeactions-listed
Event topic :
airbnb3-adminpanel-service-admindisputeactions-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
adminDisputeActions
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
adminDisputeActions
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":"adminDisputeActions","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","adminDisputeActions":[{"id":"ID","disputeId":"ID","actionTaken":"String","notes":"Text","adminId":"ID","outcome":"String","actionDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event admindisputeaction-created
Event topic :
airbnb3-adminpanel-service-admindisputeaction-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
adminDisputeAction
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
adminDisputeAction
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":"adminDisputeAction","method":"POST","action":"create","appVersion":"Version","rowCount":1,"adminDisputeAction":{"id":"ID","disputeId":"ID","actionTaken":"String","notes":"Text","adminId":"ID","outcome":"String","actionDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event localizationsetting-updated
Event topic :
airbnb3-adminpanel-service-localizationsetting-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
localizationSetting
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
localizationSetting
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":"localizationSetting","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"localizationSetting":{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event gdpraction-updated
Event topic :
airbnb3-adminpanel-service-gdpraction-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
gdprAction
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
gdprAction
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":"gdprAction","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"gdprAction":{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event gdpractions-listed
Event topic :
airbnb3-adminpanel-service-gdpractions-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
gdprActions
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
gdprActions
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":"gdprActions","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","gdprActions":[{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event apikey-created
Event topic :
airbnb3-adminpanel-service-apikey-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
apiKey
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
apiKey
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":"apiKey","method":"POST","action":"create","appVersion":"Version","rowCount":1,"apiKey":{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event apikeys-listed
Event topic :
airbnb3-adminpanel-service-apikeys-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
apiKeys
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
apiKeys
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":"apiKeys","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","apiKeys":[{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event apikey-updated
Event topic :
airbnb3-adminpanel-service-apikey-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
apiKey
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
apiKey
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":"apiKey","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"apiKey":{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event localizationsettings-listed
Event topic :
airbnb3-adminpanel-service-localizationsettings-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
localizationSettings
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
localizationSettings
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":"localizationSettings","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","localizationSettings":[{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event gdpraction-created
Event topic :
airbnb3-adminpanel-service-gdpraction-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
gdprAction
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
gdprAction
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":"gdprAction","method":"POST","action":"create","appVersion":"Version","rowCount":1,"gdprAction":{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Index Event financialreport-created
Event topic:
elastic-index-airbnb_financialreport-created
Event payload:
{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event financialreport-updated
Event topic:
elastic-index-airbnb_financialreport-created
Event payload:
{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event financialreport-deleted
Event topic:
elastic-index-airbnb_financialreport-deleted
Event payload:
{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event financialreport-extended
Event topic:
elastic-index-airbnb_financialreport-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 auditlog-retrived
Event topic :
airbnb3-adminpanel-service-auditlog-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
auditLog
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
auditLog
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":"auditLog","method":"GET","action":"get","appVersion":"Version","rowCount":1,"auditLog":{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event financialreport-retrived
Event topic :
airbnb3-adminpanel-service-financialreport-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
financialReport
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
financialReport
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":"financialReport","method":"GET","action":"get","appVersion":"Version","rowCount":1,"financialReport":{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event financialreport-created
Event topic :
airbnb3-adminpanel-service-financialreport-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
financialReport
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
financialReport
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":"financialReport","method":"POST","action":"create","appVersion":"Version","rowCount":1,"financialReport":{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event auditlogs-listed
Event topic :
airbnb3-adminpanel-service-auditlogs-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
auditLogs
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
auditLogs
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":"auditLogs","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","auditLogs":[{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event financialreports-listed
Event topic :
airbnb3-adminpanel-service-financialreports-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
financialReports
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
financialReports
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":"financialReports","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","financialReports":[{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event auditlog-created
Event topic :
airbnb3-adminpanel-service-auditlog-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
auditLog
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
auditLog
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":"auditLog","method":"POST","action":"create","appVersion":"Version","rowCount":1,"auditLog":{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event localizationsetting-created
Event topic :
airbnb3-adminpanel-service-localizationsetting-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
localizationSetting
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
localizationSetting
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":"localizationSetting","method":"POST","action":"create","appVersion":"Version","rowCount":1,"localizationSetting":{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event admindisputeactions-listed
Event topic :
airbnb3-adminpanel-service-admindisputeactions-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
adminDisputeActions
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
adminDisputeActions
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":"adminDisputeActions","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","adminDisputeActions":[{"id":"ID","disputeId":"ID","actionTaken":"String","notes":"Text","adminId":"ID","outcome":"String","actionDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event admindisputeaction-created
Event topic :
airbnb3-adminpanel-service-admindisputeaction-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
adminDisputeAction
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
adminDisputeAction
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":"adminDisputeAction","method":"POST","action":"create","appVersion":"Version","rowCount":1,"adminDisputeAction":{"id":"ID","disputeId":"ID","actionTaken":"String","notes":"Text","adminId":"ID","outcome":"String","actionDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event localizationsetting-updated
Event topic :
airbnb3-adminpanel-service-localizationsetting-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
localizationSetting
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
localizationSetting
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":"localizationSetting","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"localizationSetting":{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event gdpraction-updated
Event topic :
airbnb3-adminpanel-service-gdpraction-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
gdprAction
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
gdprAction
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":"gdprAction","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"gdprAction":{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event gdpractions-listed
Event topic :
airbnb3-adminpanel-service-gdpractions-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
gdprActions
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
gdprActions
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":"gdprActions","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","gdprActions":[{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event apikey-created
Event topic :
airbnb3-adminpanel-service-apikey-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
apiKey
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
apiKey
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":"apiKey","method":"POST","action":"create","appVersion":"Version","rowCount":1,"apiKey":{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event apikeys-listed
Event topic :
airbnb3-adminpanel-service-apikeys-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
apiKeys
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
apiKeys
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":"apiKeys","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","apiKeys":[{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event apikey-updated
Event topic :
airbnb3-adminpanel-service-apikey-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
apiKey
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
apiKey
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":"apiKey","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"apiKey":{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event localizationsettings-listed
Event topic :
airbnb3-adminpanel-service-localizationsettings-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
localizationSettings
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
localizationSettings
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":"localizationSettings","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","localizationSettings":[{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event gdpraction-created
Event topic :
airbnb3-adminpanel-service-gdpraction-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
gdprAction
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
gdprAction
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":"gdprAction","method":"POST","action":"create","appVersion":"Version","rowCount":1,"gdprAction":{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Index Event auditlog-created
Event topic:
elastic-index-airbnb_auditlog-created
Event payload:
{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event auditlog-updated
Event topic:
elastic-index-airbnb_auditlog-created
Event payload:
{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event auditlog-deleted
Event topic:
elastic-index-airbnb_auditlog-deleted
Event payload:
{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event auditlog-extended
Event topic:
elastic-index-airbnb_auditlog-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 auditlog-retrived
Event topic :
airbnb3-adminpanel-service-auditlog-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
auditLog
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
auditLog
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":"auditLog","method":"GET","action":"get","appVersion":"Version","rowCount":1,"auditLog":{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event financialreport-retrived
Event topic :
airbnb3-adminpanel-service-financialreport-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
financialReport
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
financialReport
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":"financialReport","method":"GET","action":"get","appVersion":"Version","rowCount":1,"financialReport":{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event financialreport-created
Event topic :
airbnb3-adminpanel-service-financialreport-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
financialReport
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
financialReport
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":"financialReport","method":"POST","action":"create","appVersion":"Version","rowCount":1,"financialReport":{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event auditlogs-listed
Event topic :
airbnb3-adminpanel-service-auditlogs-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
auditLogs
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
auditLogs
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":"auditLogs","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","auditLogs":[{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event financialreports-listed
Event topic :
airbnb3-adminpanel-service-financialreports-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
financialReports
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
financialReports
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":"financialReports","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","financialReports":[{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event auditlog-created
Event topic :
airbnb3-adminpanel-service-auditlog-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
auditLog
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
auditLog
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":"auditLog","method":"POST","action":"create","appVersion":"Version","rowCount":1,"auditLog":{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event localizationsetting-created
Event topic :
airbnb3-adminpanel-service-localizationsetting-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
localizationSetting
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
localizationSetting
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":"localizationSetting","method":"POST","action":"create","appVersion":"Version","rowCount":1,"localizationSetting":{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event admindisputeactions-listed
Event topic :
airbnb3-adminpanel-service-admindisputeactions-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
adminDisputeActions
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
adminDisputeActions
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":"adminDisputeActions","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","adminDisputeActions":[{"id":"ID","disputeId":"ID","actionTaken":"String","notes":"Text","adminId":"ID","outcome":"String","actionDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event admindisputeaction-created
Event topic :
airbnb3-adminpanel-service-admindisputeaction-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
adminDisputeAction
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
adminDisputeAction
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":"adminDisputeAction","method":"POST","action":"create","appVersion":"Version","rowCount":1,"adminDisputeAction":{"id":"ID","disputeId":"ID","actionTaken":"String","notes":"Text","adminId":"ID","outcome":"String","actionDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event localizationsetting-updated
Event topic :
airbnb3-adminpanel-service-localizationsetting-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
localizationSetting
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
localizationSetting
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":"localizationSetting","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"localizationSetting":{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event gdpraction-updated
Event topic :
airbnb3-adminpanel-service-gdpraction-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
gdprAction
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
gdprAction
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":"gdprAction","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"gdprAction":{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event gdpractions-listed
Event topic :
airbnb3-adminpanel-service-gdpractions-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
gdprActions
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
gdprActions
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":"gdprActions","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","gdprActions":[{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event apikey-created
Event topic :
airbnb3-adminpanel-service-apikey-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
apiKey
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
apiKey
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":"apiKey","method":"POST","action":"create","appVersion":"Version","rowCount":1,"apiKey":{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event apikeys-listed
Event topic :
airbnb3-adminpanel-service-apikeys-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
apiKeys
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
apiKeys
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":"apiKeys","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","apiKeys":[{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event apikey-updated
Event topic :
airbnb3-adminpanel-service-apikey-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
apiKey
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
apiKey
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":"apiKey","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"apiKey":{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event localizationsettings-listed
Event topic :
airbnb3-adminpanel-service-localizationsettings-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
localizationSettings
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
localizationSettings
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":"localizationSettings","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","localizationSettings":[{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event gdpraction-created
Event topic :
airbnb3-adminpanel-service-gdpraction-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
gdprAction
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
gdprAction
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":"gdprAction","method":"POST","action":"create","appVersion":"Version","rowCount":1,"gdprAction":{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Index Event gdpraction-created
Event topic:
elastic-index-airbnb_gdpraction-created
Event payload:
{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event gdpraction-updated
Event topic:
elastic-index-airbnb_gdpraction-created
Event payload:
{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event gdpraction-deleted
Event topic:
elastic-index-airbnb_gdpraction-deleted
Event payload:
{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event gdpraction-extended
Event topic:
elastic-index-airbnb_gdpraction-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 auditlog-retrived
Event topic :
airbnb3-adminpanel-service-auditlog-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
auditLog
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
auditLog
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":"auditLog","method":"GET","action":"get","appVersion":"Version","rowCount":1,"auditLog":{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event financialreport-retrived
Event topic :
airbnb3-adminpanel-service-financialreport-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
financialReport
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
financialReport
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":"financialReport","method":"GET","action":"get","appVersion":"Version","rowCount":1,"financialReport":{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event financialreport-created
Event topic :
airbnb3-adminpanel-service-financialreport-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
financialReport
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
financialReport
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":"financialReport","method":"POST","action":"create","appVersion":"Version","rowCount":1,"financialReport":{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event auditlogs-listed
Event topic :
airbnb3-adminpanel-service-auditlogs-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
auditLogs
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
auditLogs
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":"auditLogs","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","auditLogs":[{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event financialreports-listed
Event topic :
airbnb3-adminpanel-service-financialreports-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
financialReports
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
financialReports
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":"financialReports","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","financialReports":[{"id":"ID","period":"String","cityTaxByLocation":"Object","totalPayouts":"Double","createdBy":"ID","totalRefunds":"Double","currency":"String","generatedAt":"Date","totalRevenue":"Double","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event auditlog-created
Event topic :
airbnb3-adminpanel-service-auditlog-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
auditLog
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
auditLog
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":"auditLog","method":"POST","action":"create","appVersion":"Version","rowCount":1,"auditLog":{"id":"ID","performedBy":"ID","objectId":"ID","details":"Object","ipAddress":"String","actionObject":"String","occurredAt":"Date","actionType":"String","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event localizationsetting-created
Event topic :
airbnb3-adminpanel-service-localizationsetting-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
localizationSetting
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
localizationSetting
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":"localizationSetting","method":"POST","action":"create","appVersion":"Version","rowCount":1,"localizationSetting":{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event admindisputeactions-listed
Event topic :
airbnb3-adminpanel-service-admindisputeactions-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
adminDisputeActions
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
adminDisputeActions
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":"adminDisputeActions","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","adminDisputeActions":[{"id":"ID","disputeId":"ID","actionTaken":"String","notes":"Text","adminId":"ID","outcome":"String","actionDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event admindisputeaction-created
Event topic :
airbnb3-adminpanel-service-admindisputeaction-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
adminDisputeAction
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
adminDisputeAction
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":"adminDisputeAction","method":"POST","action":"create","appVersion":"Version","rowCount":1,"adminDisputeAction":{"id":"ID","disputeId":"ID","actionTaken":"String","notes":"Text","adminId":"ID","outcome":"String","actionDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event localizationsetting-updated
Event topic :
airbnb3-adminpanel-service-localizationsetting-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
localizationSetting
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
localizationSetting
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":"localizationSetting","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"localizationSetting":{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event gdpraction-updated
Event topic :
airbnb3-adminpanel-service-gdpraction-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
gdprAction
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
gdprAction
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":"gdprAction","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"gdprAction":{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Route Event gdpractions-listed
Event topic :
airbnb3-adminpanel-service-gdpractions-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
gdprActions
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
gdprActions
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":"gdprActions","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","gdprActions":[{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event apikey-created
Event topic :
airbnb3-adminpanel-service-apikey-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
apiKey
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
apiKey
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":"apiKey","method":"POST","action":"create","appVersion":"Version","rowCount":1,"apiKey":{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event apikeys-listed
Event topic :
airbnb3-adminpanel-service-apikeys-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
apiKeys
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
apiKeys
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":"apiKeys","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","apiKeys":[{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event apikey-updated
Event topic :
airbnb3-adminpanel-service-apikey-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
apiKey
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
apiKey
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":"apiKey","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"apiKey":{"id":"ID","key":"String","active":"Boolean","description":"String","revokedAt":"Date","createdBy":"ID","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event localizationsettings-listed
Event topic :
airbnb3-adminpanel-service-localizationsettings-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
localizationSettings
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
localizationSettings
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":"localizationSettings","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","localizationSettings":[{"id":"ID","languageCode":"String","effectiveFrom":"Date","effectiveTo":"Date","currencyCode":"String","isCurrencyActive":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event gdpraction-created
Event topic :
airbnb3-adminpanel-service-gdpraction-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
gdprAction
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
gdprAction
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":"gdprAction","method":"POST","action":"create","appVersion":"Version","rowCount":1,"gdprAction":{"id":"ID","requestedAt":"Date","status":"Enum","status_idx":"Integer","actionType":"String","userId":"ID","processedAt":"Date","recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","isActive":true}}
Copyright
All sources, documents and other digital materials are copyright of .
About Us
For more information please visit our website: .
. .