public class CRMNotificationRest extends Object
| Constructor and Description |
|---|
CRMNotificationRest() |
| Modifier and Type | Method and Description |
|---|---|
String |
doNotify(String strIdDemand,
String strNotificationObject,
String strNotificationMessage,
String strNotificationSender)
Notification for a demand
|
String |
doNotifyV2(Integer nVersion,
String strRemoteId,
String strIdDemandType,
String strNotificationObject,
String strNotificationMessage,
String strNotificationSender)
notify a demand using Remote id and id demand Type
|
String |
getNumberNotificationsByGuidJson(javax.servlet.http.HttpServletRequest request,
String strGuid)
Get the Json of the number notifications not read by Demand Type by user Guid The Api must be protected by signed request
|
String |
getNumberNotificationsJson(javax.servlet.http.HttpServletRequest request)
Get the Json of the number notifications not read by Demand Type
|
public String doNotify(String strIdDemand, String strNotificationObject, String strNotificationMessage, String strNotificationSender)
strIdDemand - the id demandstrNotificationObject - the notification objectstrNotificationMessage - the notification messagestrNotificationSender - the senderpublic String doNotifyV2(Integer nVersion, String strRemoteId, String strIdDemandType, String strNotificationObject, String strNotificationMessage, String strNotificationSender)
nVersion - the API versionstrRemoteId - the Remote IdstrIdDemandType - the demand type idstrNotificationObject - the notification objectstrNotificationMessage - the notification messagestrNotificationSender - the senderpublic String getNumberNotificationsJson(@Context javax.servlet.http.HttpServletRequest request)
request - public String getNumberNotificationsByGuidJson(@Context javax.servlet.http.HttpServletRequest request, String strGuid)
request - http servlet requeststrGuid - the user GuidCopyright © 2019 City of Paris. All rights reserved.