Class NotificationRestService


  • @Path("/rest/notificationstore/v3")
    public class NotificationRestService
    extends Object
    • Constructor Detail

      • NotificationRestService

        public NotificationRestService()
    • Method Detail

      • notification

        @POST
        @Path("/notification")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response notification​(String strJson)
        process the notification
        Parameters:
        strJson - The JSON flow
        Returns:
        The response
      • notificationEvent

        @POST
        @Path("/notificationEvent")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response notificationEvent​(String strJson)
        store the notification event
        Parameters:
        strJson - The JSON flow
        Returns:
        The response
      • getListNotification

        @GET
        @Path("/notification/list")
        @Produces("application/json")
        public javax.ws.rs.core.Response getListNotification​(@QueryParam("idDemand")
                                                             String strIdDemand,
                                                             @QueryParam("idDemandType")
                                                             String strIdDemandType,
                                                             @QueryParam("customerId")
                                                             String strCustomerId,
                                                             @QueryParam("notificationType")
                                                             String strNotificationType)
        Gets list of notification
        Parameters:
        strIdDemand -
      • getNotificationTypes

        @GET
        @Path("/notificationnotificationType")
        @Produces("application/json")
        public javax.ws.rs.core.Response getNotificationTypes()
        Gets list of notification types
        Returns:
        list of demand types