New event delivery format

The events like v2 events, supplySnapshot, demandSnapshot, demandChange, and dgAvailabilitySnapshot allows events delivery in one of the two formats.

If you have not migrated to v2 events, the following events using the new event format are available:
  • supplySnapshot
  • demandSnapshot
  • demandChange
  • dgAvailabilitySnapshot
It is recommended that these events should be consumed as JSON arrays.
  • The first format is a legacy format that is a JSON object and contains one event in each payload.
  • The second format is to have the events delivered as a JSON array. At this time, Sterling Intelligent Promising does not offer batching these arrays into larger payloads. Instead, the arrays are expected to contain approximately the same number of events as a typical payload from the corresponding v1 events as applicable. The average number of webhook invocations should not change when comparing legacy format events and new format events with the array format enabled.
Note: The upper limit of payload size for snapshot events with large data volumes is 80 events.