Untitled
unknown
plain_text
a year ago
1.5 kB
5
Indexable
@PostMapping("/soar-action-trigger/push-multi")
@Consumes({MediaType.APPLICATION_JSON})
@Produces({MediaType.APPLICATION_JSON})
@ApiOperation(value = "",
notes = "Handle Soar Multiple action Trigger",
tags = {})
@ApiResponses(value = {
@io.swagger.annotations.ApiResponse(
code = HttpURLConnection.HTTP_CREATED,
message = "ConfiguredSoarActionTrigger response",
response = void.class),
@io.swagger.annotations.ApiResponse(code = 0,
message = "unexpected error",
response = ConfiguredSoarApplicationException.class)})
public Response handleAsyncConfiguredSoarMultiActionTrigger(@PathVariable("accountId") String accountId,
@PathVariable("triggerSource") String triggerSource,
@RequestBody SoarMultipleActionTrigger soarMultipleActionTrigger)
throws ConfiguredSoarApplicationException, UnauthorizedException, EntityNotFoundException {
String userEmail = authenticationHelperService.getUserEmail();
String userRole = authenticationHelperService.getHighestRoleForAccount(accountId);
return service.handleAsyncConfiguredSoarMultiActionTrigger(accountId, triggerSource, soarMultipleActionTrigger,userEmail, userRole);
}
}Editor is loading...
Leave a Comment