.
This commit is contained in:
parent
7471559d66
commit
f2ec486fd4
@ -16,6 +16,31 @@ const controllerOptions = { MODULE_NAME };
|
||||
const extraControllers = {
|
||||
|
||||
sendNotificationEvent: () => {
|
||||
|
||||
/**
|
||||
* notificationSample = {
|
||||
* "title": "título de la notificación",
|
||||
* "message": "cuerpo de la notificación",
|
||||
* "recipients": {
|
||||
* "eventId": "xxx-xxx-xxx-xxx",
|
||||
* "segment": "ALL" | "ALL_VALIDATED" | "ALL_NOT_VALIDATED" |
|
||||
* "PARTNERS_ALL" | "PARTNERS_VALIDATED" | "PARTNERS_NOT_VALIDATED" |
|
||||
* "COLLEGE_ALL" | "COLLEGE_VALIDATED" | "COLLEGE_NOT_VALIDATED"
|
||||
* },
|
||||
* "data": {
|
||||
* "type": "message",
|
||||
* "title": "Título del mensaje",
|
||||
* "message": "Cuerpo del mensaje",
|
||||
* "button": {
|
||||
* "caption": "Etiqueta del boton",
|
||||
* "url": "https://www.site.es",
|
||||
* "screen": "<RouterName>",
|
||||
* "paramId": "23",
|
||||
* }
|
||||
* }
|
||||
*}
|
||||
*/
|
||||
|
||||
//eventId
|
||||
//tittle
|
||||
//message
|
||||
|
||||
Loading…
Reference in New Issue
Block a user