Class DemandRestService

java.lang.Object
fr.paris.lutece.plugins.notificationstore.web.rs.DemandRestService

@Path("/rest/notificationstore/v3/demand") public class DemandRestService extends Object
Service Rest DemandNotificationRestService
  • Constructor Details

    • DemandRestService

      public DemandRestService()
  • Method Details

    • getListDemand

      @GET @Path("/list") @Produces("application/json") public javax.ws.rs.core.Response getListDemand(@QueryParam("idDemandType") String strIdDemandType, @QueryParam("index") String strIndex, @QueryParam("limitResult") String strLimitResult, @QueryParam("customerId") String strCustomerId, @QueryParam("notificationType") String strNotificationType, @QueryParam("directionDateOrderBy") @DefaultValue("") String strDirectionDateOrderBy)
      Return list of demand
      Parameters:
      strDemandType -
      strPage -
    • getListOfDemandByStatus

      @GET @Path("/status") @Produces("application/json") public javax.ws.rs.core.Response getListOfDemandByStatus(@QueryParam("listIdsDemandType") String strlistIdsDemandType, @QueryParam("index") String strIndex, @QueryParam("limitResult") String strLimitResult, @QueryParam("customerId") String strCustomerId, @QueryParam("listStatus") String strListStatus, @QueryParam("notificationType") String strNotificationType, @QueryParam("categoryCode") String strCategoryCode)
      Get list by status
      Parameters:
      strlistIdsDemandType -
      strIndex -
      strCustomerId -
      Returns:
      list of active demand
    • doDeleteAllDemands

      @DELETE @Path("/{customerId}") @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response doDeleteAllDemands(@PathParam("customerId") String strCustomerId)