Class DemandRestService


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

      • DemandRestService

        public DemandRestService()
    • Method Detail

      • 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)
        Return list of demand
        Parameters:
        strDemandType -
        strPage -
      • getListOfDemandByStatus

        @GET
        @Path("/status")
        @Produces("application/json")
        public javax.ws.rs.core.Response getListOfDemandByStatus​(@QueryParam("idDemandType")
                                                                 String strIdDemandType,
                                                                 @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:
        strIdDemandType -
        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)