Event Management
Correct an ingested event
This API lets you to correct events. Available in both synchronous and asynchronous mode
- Usages: Reduction of all usages associated with this event
- Revenue: Reduction of all revenues associated with this event
- Entitlements: Entitlements(Feature Credits) consumed by this event are granted back to the account.
Possible Actions:
- UNDO: Undo all usages, revenue and entitlements associated with an event
- REDO: Performs UNDO and re-ingests the same event
- REDO_EVENT: Performs UNDO and re-ingests the correction payload of the event
POST
/
events
/
correction
Query Parameters: Allowed filter combinations
All matching events will be considered for correction
- Sync mode: Maximum of first 30 events matching the filters with the default sort order being EVENT_SOURCE_TIME DESC, EVENT_ID ASC can be corrected in a single request.
- Async mode: When query parameter async = true is given, events matching the filters will be considered for correction and takes place in background.
Status of background job can be obtained using List Jobs API
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
action
enum<string>
requiredAction to perform in event correction
Available options:
UNDO
, REDO
, REDO_EVENT
require_confirmation
boolean
Specifies whether to start a migration only after a confirmation
Body
application/json
Event Correction Payload for event correction
event
object
Contents of the event
Response
200 - application/json
Events Correction response
data
object[]
required