Class EmailCampaignApiResource

java.lang.Object
org.apache.fineract.infrastructure.campaigns.email.api.EmailCampaignApiResource

@Path("/v1/email/campaign") @Consumes("application/json") @Produces("application/json") @Component public class EmailCampaignApiResource extends Object
Created with IntelliJ IDEA. User: andrew Date: 19-5-14 Time: 15:17 To change this template use File | Settings | File Templates.
  • Constructor Details

    • EmailCampaignApiResource

      public EmailCampaignApiResource()
  • Method Details

    • retrieveOneCampaign

      @GET @Path("{resourceId}") @Produces("application/json") public String retrieveOneCampaign(@PathParam("resourceId") Long resourceId, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • retrieveAllCampaign

      @GET @Produces("application/json") public String retrieveAllCampaign(@Context jakarta.ws.rs.core.UriInfo uriInfo)
    • createCampaign

      @POST @Consumes("application/json") @Produces("application/json") public String createCampaign(String apiRequestBodyAsJson, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • updateCampaign

      @PUT @Path("{resourceId}") @Consumes("application/json") @Produces("application/json") public String updateCampaign(@PathParam("resourceId") Long campaignId, String apiRequestBodyAsJson, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • activate

      @POST @Path("{resourceId}") @Consumes("application/json") @Produces("application/json") public String activate(@PathParam("resourceId") Long campaignId, @QueryParam("command") String commandParam, String apiRequestBodyAsJson)
    • preview

      @POST @Path("preview") @Consumes("application/json") @Produces("application/json") public String preview(String apiRequestBodyAsJson, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • template

      @GET @Path("template") public String template(@Context jakarta.ws.rs.core.UriInfo uriInfo)
    • retrieveOneTemplate

      @GET @Path("template/{resourceId}") public String retrieveOneTemplate(@PathParam("resourceId") Long resourceId, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • delete

      @DELETE @Path("{resourceId}") public String delete(@PathParam("resourceId") Long resourceId)