12 Business Events

A business event is an event (that is, an update) that happens to a resource, for example, a reservation. Rather than GETting the reservation repeatedly, subscribing to the Update Reservation event will inform you when this or other reservations are changed. Oracle Hospitality systems emit Business Events in multiple scenarios, such as creating a new resource, updating a resource, or deleting a resource. Each business event has the following pieces of information:
  • Resource — This is the resource that has received the event (for example, a reservation).

  • Event — The name of the event, for example, an update to a reservation.

  • Old value — This is the old value for the field.

  • New value — This is the new value for the field.

There are two methods for consuming events from Oracle Hospitality APIs: Polling and Streaming.

Both streaming and polling can be used to consume events from the same environment at the same time. For example, use streaming for events, such as checkin, where real time is important and use polling for less time critical events.

For a list of business events and data elements, refer to the Configuring Business Events topic in the OPERA Cloud User Guide.