You can use the Reprocess Event REST API to reprocess multiple file-level events. You can't reprocess an event that was created using an intelligent structure model.
Using this API, you can generate new reprocessed events from the existing events. You can use the Event Status REST API to get the runtime status of the reprocessed event based on the reprocessed event ID.
When you use this API, the output might include a list of successful and failed events. For more information, see Error messages and error codes .
Reprocess Event REST API Request
Use the Reprocess Event REST API to reprocess an multiple file-level events and generate a new reprocessed events from the existing events. This API uses the POST method.
To reprocess one or more events, use the following URL:
•<pod> is the name of the Informatica Intelligent Cloud Services Point of Delivery (PoD) from which you access B2B Gateway .
•<baseUrl>is the Informatica Intelligent Cloud Services URL. For example: dm-us.informaticacloud.com/ .
You can copy the values of pod and base Url from the B2B Gateway URL after you access it from the My Services page of Informatica Intelligent Cloud Services.
In the request body, you can use a ',' comma separator to provide a list of event IDs that need to be reprocessed. For example, [15488002, 15489001, 15489021,15489021]
Reprocess Event REST API Response
When you use the B2B Gateway Reprocess Event REST API, the API response includes a list of successful and failed events in JSON format.
The API response includes the following information:
Property
Description
eventStatus
Status of the event.
eventId
ID of the event.
eventCreationTimestamp
Time when the event occurred. System time in milliseconds as returned by Java API java.lang.System.currentTimeMillis .
messageType
Type of message that is exchanged with the partner.
partnerName
Name of the partner.
partnerNumber
Number of the partner.
partnerFileType
Type of files that are exchanged with the partner.
direction
The flow to run for the customer. The value is INBOUND for an inbound flow and OUTBOUND for an outbound flow.
reprocessedEventId
Event ID of the new event that is generated from an existing event.
errorMessage
The error message that appears when the reprocessing of an event fails.
errorCode
The error code corresponding to the event that failed during the reprocessing activity.
The following sample response shows the details of an event that was successfully reprocessed: