Class NotificationRestService
- java.lang.Object
-
- fr.paris.lutece.plugins.notificationstore.web.rs.NotificationRestService
-
@Path("/rest/notificationstore/v3") public class NotificationRestService extends Object
-
-
Constructor Summary
Constructors Constructor Description NotificationRestService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsegetListNotification(String strIdDemand, String strIdDemandType, String strCustomerId, String strNotificationType)Gets list of notificationjavax.ws.rs.core.ResponsegetNotificationTypes()Gets list of notification typesjavax.ws.rs.core.Responsenotification(String strJson)process the notificationjavax.ws.rs.core.ResponsenotificationEvent(String strJson)store the notification event
-
-
-
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
-
-