Reprocess Event REST API
Use the Data Integration Hub Reprocess Event REST API to reprocess publication and subscription events, including events of disabled publications and subscriptions.
To reprocess a publication or a subscription event, use the following REST URL:
http://<DIH_console_host_port>/dih-console/api/v1/event/reprocess
For example:
http://localhost:18080/dih-console/api/v1/event/reprocess
Use the following syntax to reprocess an event:
{
"eventId" : "<eventId>"
}
For example:
{
"eventId" : "40558"
}
Sample File
The <DIH_InstallationDir>\samples\rest_api_samples folder contains a sample client application and a readme file that describes the application.
Reprocess Event REST API Action Response
When you use the Data Integration Hub Reprocess Event REST API to reprocess a publication or a subscription event, Data Integration Hub returns the response code of the action that you perform in the REST API response.
The response includes the following information:
Property | Description |
---|
responseCode | Response of the action: - - 0: success.
- - Any number higher than 0: error.
|
reprocessEventId | New event ID that Data Integration Hub generates for the publication or for the subscription when it reprocesses the existing event. |
message | Error message. If the response code is 0 (success), the API returns the message null. |