leave-request.updated
event is created to notify you that its status changed.
In general, events occur whenever the state of a resource representation changes. The state of that
resource at the time of the change is embedded in the event’s data
attribute. Given the previous
example, the leave-request.updated
event will contain the representation of the corresponding leave-request
in its data
attribute.
employee.updated
, legal-entity.deleted
, etc…
List of topics
{resource}.updated
events are triggered whenever an attribute of a resource that already existed is changed.
This behavior is restricted to the direct attributes of the resource. As such, a change in the state of an embedded
resource does not trigger a {resource}.updated
event on the embedding resource.
The list of modified attributes, as well as their value before the change, can be found in the data.previousAttributes
JSON object (<attribute> => <previous_value>
dictionary).
apiVersion
attribute that indicates the relevant API version.
The data
contained in an event is a representation of the related resource that conforms to the schema in the related
API version.