GetEventMessage
The stored procedure that retrieves an event notification record from ADP. This stored procedure is used to access pending or historical event messages for synchronization, monitoring, or audit purposes.
Input
| Name | Type | Required | Description |
| DeleteEventMessage | String | False | Specifies whether the event notification record is to be deleted after retrieval. A value of 'true' deletes the event message from ADP once it has been processed, while a value of 'false' retains it for review. |
Result Set Columns
| Name | Type | Description |
| EffectiveDateTime | String | The effective date and time that indicate when the event message takes effect in ADP. This value is used to determine the applicability window of the event data. |
| CreationDateTime | String | The date and time that indicate when the event message was created in ADP. This output helps track the origination and processing order of event notifications. |
| EventID | String | The unique identifier (Id) that represents the event notification message. This Id is used to reference, audit, or correlate the event record with other system logs. |
| EventNameCodeValue | String | The code that identifies the event name type (for example, Worker.Hire or Worker.Termination). This code allows systems to categorize event messages by function. |
| Originator | String | The originator that identifies the system or process that generated the event message. This output supports auditing and traceability of event sources. |
| Data | String | The event payload data that contains the detailed information transmitted with the event message. This data is used for synchronization, integration, or downstream processing. |