Class RecallApiController

java.lang.Object
com.persequor.saga.modules.compliance.api.RecallApiController

public class RecallApiController extends Object
  • Constructor Details

    • RecallApiController

      @Inject public RecallApiController(com.persequor.extension.eventservice.IEventRevertService revertService, IRecallService recallService, IRecallNamespaceConfig recallNamespaceConfig)
  • Method Details

    • recallEvents

      public Map<String,String> recallEvents(RecallApiRequest request) throws com.persequor.xml.DocumentException, com.persequor.xml.serialization.SerializationException
      Example body: {"sagaEventIds":["96fe2e90-80f7-11eb-96b0-5faa198f3e36"],"recallComment":"theComment","recallReasonType":"MessageContainedErroneousInformation","recallCommentAdditional":"optional addition"}
      Parameters:
      request - request object
      Returns:
      response object
      Throws:
      com.persequor.xml.DocumentException - when generating the revert event failed
      com.persequor.xml.serialization.SerializationException - when generating the revert event failed