Hi Iurii,
first of all, have you already looked at

https://syncope.apache.org/docs/reference-guide.html#notifications

?

More replies below.
Regards.

On 23/11/2016 12:25, Iurii Smyrnov wrote:

Hi Syncope team,

Could you please help us, we've got few questions to you related to the Syncope built-in notification functionality:


1. Does Syncope have workflow to request(find) userNames by user email and send this userNames to his email ?


2. If no, is there a way to create a custom event (i.e. userName request), to associate it with a Notification (type email) and to initialize this event from outside of syncope (i.e. via Rest APIs) ?


I don't think there is something similar; essentially, you'd want to add a REST endpoint, say

GET /users/[email protected]

which looks for an user with e-mail '[email protected]', gets his username ('fchicchiricco') and sends an e-mail to [email protected] with 'fchicchiricco' in the body.

Correct? If so, you'll need to develop an extension for the purpose - from which you can leverage the existing Notification service.

3. Is there also a way to update syncope mail templates (requestPasswordReset and confirmPasswordReset) by using some REST APIs ?


You can update such templates (and create more, actually) via both Eclipse IDE plugin and admin console: both rely only on REST to communicate with the core, hence the answer is yes.

Take a look at the embedded Swagger UI (if extension is enabled) or REST reference available at

http://syncope.apache.org/rest/2.0/index.html

under /mailTemplates

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/

Reply via email to