Events API
| Action | Endpoint |
|---|---|
| Fetch an Event | GET/event/{tenantLocator}/events/{locator} |
| Fetch Events for an API Request | GET/event/{tenantLocator}/events/request/{locator} |
| Fetch Multiple Events | GET/event/{tenantLocator}/events/list |
| Fetch Scheduled Policy Events | GET/event/{tenantLocator}/events/schedules/policy/{policyLocator} |
| Fetch Scheduled Tenant Events | GET/event/{tenantLocator}/events/schedules/tenant |
| Schedule Custom Tenant Events | POST/config/{tenantLocator}/tenantEvents |
| Resume Failed Scheduled Event | POST/event/{tenantLocator}/events/schedules/failed/resume |
| Fetch Failed Scheduled Policy Events | GET/event/{tenantLocator}/events/schedules/policy/{policyLocator}/failed/list |
| Fetch Failed Scheduled Tenant Events | GET/event/{tenantLocator}/events/schedules/tenant/failed/list |
| Fetch Failed Scheduled Events By Failed Job State | GET/event/{tenantLocator}/events/schedules/failed/{failedJobState}/list |
| Fetch Failed Scheduled Events | GET/event/{tenantLocator}/events/schedules/failed/list |
| Delete Failed Scheduled Event | DELETE/event/{tenantLocator}/events/schedules/failed |
Fetch
Fetch an Event
fetchEvent/event/{tenantLocator}/events/{locator}Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
locator | path | ulid | Yes |
EventResponseeventsreadFetch Events for an API Request
fetchEventsForARequest/event/{tenantLocator}/events/request/{locator}Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
locator | path | ulid | Yes |
EventResponse[]eventsreadFetch Multiple Events
fetchMultipleEvents/event/{tenantLocator}/events/listParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
startTimestamp | query | datetime? | No | |
endTimestamp | query | datetime? | No | |
type | query | string? | No | |
pageSize | query | integer? | No | |
pagingToken | query | string? | No |
EventStreamResponseeventsread,listRequired properties
| Property | Type | Description |
|---|---|---|
pagingToken | string | |
events | EventResponse[] |
Required properties
| Property | Type | Description |
|---|---|---|
locator | ulid | |
userLocator | uuid | |
requestId | ulid | Identifier of the transaction request that triggered the event |
timestamp | datetime | |
type | string | |
data | map<string, object> |
Fetch Scheduled Policy Events
fetchScheduledPolicyEvents/event/{tenantLocator}/events/schedules/policy/{policyLocator}Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
policyLocator | path | ulid | Yes |
ScheduledPolicyEvent[]eventsreadRequired properties
| Property | Type | Description |
|---|---|---|
policyLocator | ulid | |
transactionLocator | ulid | |
triggerState | Enum NONE | NORMAL | PAUSED | COMPLETE | ERROR | BLOCKED | |
customEventId | string |
Optional properties
| Property | Type | Description |
|---|---|---|
nextEventTime | datetime? |
Fetch Scheduled Tenant Events
fetchScheduledTenantEvents/event/{tenantLocator}/events/schedules/tenantParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes |
ScheduledTenantEvent[]eventsreadRequired properties
| Property | Type | Description |
|---|---|---|
triggerState | Enum NONE | NORMAL | PAUSED | COMPLETE | ERROR | BLOCKED | |
customEventId | string | |
scheduledEventId | string |
Optional properties
| Property | Type | Description |
|---|---|---|
nextEventTime | datetime? |
Schedule Custom Tenant Events
scheduleTenantEvents/config/{tenantLocator}/tenantEventsParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes |
Required properties
| Property | Type | Description |
|---|---|---|
requests | ScheduleTenantEventRequest[] |
Required properties
| Property | Type | Description |
|---|---|---|
eventTime | datetime | |
eventTypeId | string | |
scheduleId | string | |
data | map<string, object> |
Resume Failed Scheduled Event
resumeFailedScheduledEvent/event/{tenantLocator}/events/schedules/failed/resumeParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes |
Fetch Failed Scheduled Policy Events
fetchFailedScheduledPolicyEvents/event/{tenantLocator}/events/schedules/policy/{policyLocator}/failed/listParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
policyLocator | path | ulid | Yes | |
offset | query | integer? | No | |
count | query | integer? | No |
FailedJobDetails[]eventsreadFetch Failed Scheduled Tenant Events
fetchFailedScheduledTenantEvents/event/{tenantLocator}/events/schedules/tenant/failed/listParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
offset | query | integer? | No | |
count | query | integer? | No |
FailedJobDetails[]eventsreadFetch Failed Scheduled Events By Failed Job State
fetchFailedScheduledEventsByFailedJobState/event/{tenantLocator}/events/schedules/failed/{failedJobState}/listParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
failedJobState | path | Enum queued | quit | Yes | |
offset | query | integer? | No | |
count | query | integer? | No |
FailedJobDetails[]eventsreadFetch Failed Scheduled Events
fetchFailedScheduledEvents/event/{tenantLocator}/events/schedules/failed/listParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
offset | query | integer? | No | |
count | query | integer? | No |
FailedJobDetails[]eventsreadDelete Failed Scheduled Event
deleteFailedScheduledEvent/event/{tenantLocator}/events/schedules/failedParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes |
Required properties
| Property | Type | Description |
|---|---|---|
triggerName | string | |
triggerGroup | string |
Required properties
| Property | Type | Description |
|---|---|---|
triggerName | string | |
failedJobState | Enum queued | quit | |
failureCount | integer | |
triggerGroup | string | |
updatedAt | datetime | |
createdAt | datetime |
Custom events generated from plugin code will be added to the event stream even if the operation associated with that plugin call has failed.
For events generated from API calls, The timestamp and ordering of events in the event stream are dependent on the completion time of the call. It is possible for events from an API call made before another to come after those events from the subsequent API call, if the first call takes longer than the second call to complete.