Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
Often customers would like to build/integrate various events/actions that are performed within API Portal with external systems. When one of those events triggered within the system, the events are persisted in API Portal event store and for some events they are delivered to the configured webHook synchronously.
Different event types captured with in webMethods API Portal:
Various events captured with in the API Portal has states associated with them. Below diagram depicts various event states and its state transition with in system.
For example when there is a new REQUEST_ACCESS_TOKEN event is forked in the system, initially the event will be in NEW state. The moment event is pushed/delivered to its provider(API Gateway) the state changes from NEW to INPROGRESS. When gateway eventually gets back to API Portal with a application, the respective event status changes from INPROGRESS to COMPLETED.
Events do have expiration(configurable). By default it is 30days. After 30days of time period events transition to EXPIRED state. Meaning API Portal can wait max upto 30days from API Gateway to deliver the application back to API Portal.
Querying events:
API Portal exposed a standard REST interface for querying the various events in the API Portal.
Filtering query results:
Above REST interface consumes below optional query parameters to fine tune your search results.
Event structure
Responses to above API would contain a collection of events in below format
Skeleton of the event payload would look like