add: elixFormsAPI - campi per notifiche email
This commit is contained in:
+100
@@ -0,0 +1,100 @@
|
|||||||
|
info:
|
||||||
|
name: Notifiche email partecipanti - Body
|
||||||
|
type: http
|
||||||
|
seq: 22
|
||||||
|
|
||||||
|
http:
|
||||||
|
method: POST
|
||||||
|
url: "{{elixFormsApiUrl}}/eftl/process/v1"
|
||||||
|
headers:
|
||||||
|
- name: x-requested-with
|
||||||
|
value: XMLHttpRequest
|
||||||
|
- name: x-api-key
|
||||||
|
value: "{{elixFormsWsAuthenticationToken}}"
|
||||||
|
- name: x-ef-request-id
|
||||||
|
value: "23761"
|
||||||
|
body:
|
||||||
|
type: json
|
||||||
|
data: |-
|
||||||
|
{
|
||||||
|
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||||
|
"userContext": {
|
||||||
|
"lang": "IT",
|
||||||
|
"crlf": "\r\n"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
auth: inherit
|
||||||
|
|
||||||
|
runtime:
|
||||||
|
scripts:
|
||||||
|
- type: before-request
|
||||||
|
code: |-
|
||||||
|
const { prepareEftlDocument } = require("./elixFormsJs.js")
|
||||||
|
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||||
|
prepareEftlDocument(String.raw`
|
||||||
|
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||||||
|
<style>
|
||||||
|
.intestazione { padding: 0 0 10px 0; margin: 0; font-family: Arial, Sans-serif; font-size: 16px; font-weight: bold; color: #222; }
|
||||||
|
.warning { padding: 15px; border: 1px solid transparent; border-radius: 4px; background-position: 15px 15px; color: #8A6D3B; background-color: #FCF8E3; border-color: #FAEBCC; }
|
||||||
|
.riepilogo { width: 100%; font-family: Arial, Sans-serif; border: 1px solid #ccc; border-width: 1px; background-color: #fff; }
|
||||||
|
.etichetta { padding: 0 1em 10px 0; font-family: Arial, Sans-serif; font-size: 13px; font-style: normal; color: #888; white-space: nowrap; vertical-align: top; }
|
||||||
|
.valore { padding-bottom: 10px; font-family: Arial, Sans-serif; font-size: 13px; color: #222; vertical-align: top; }
|
||||||
|
.footer { background-color: #f6f6f6; color: #888; border-top: 1px solid #ccc; font-family: Arial, Sans-serif; font-size: 11px; }
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<table cellspacing="0" cellpadding="8" border="0" summary="" class="riepilogo"><tbody><tr><td><div style="padding: 2px;">
|
||||||
|
|
||||||
|
<h3 class="intestazione">Notifica domanda inoltrata di Proposta Ripartizione Utili / Compensi</h3>
|
||||||
|
<table cellpadding="0" cellspacing="0" border="0"><tbody>
|
||||||
|
<tr><td colspan="2" class="valore">
|
||||||
|
<div class="warning">È necessario compilare la DSAN collegata all'istanza del modulo "Ripartizione Utili / Compensi - Presentazione Proposta" i cui dati sono riportati nel seguito!</div>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td colspan="2" class="valore">Riepilogo dei dati della Proposta</td></tr>
|
||||||
|
<tr><td colspan="2" class="valore"></td></tr>
|
||||||
|
<tr>
|
||||||
|
<td class="etichetta"><div>Domanda n.</div></td>
|
||||||
|
<td class="valore">[%= requestId %]</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="etichetta"><div>Numero ricevuta</div></td>
|
||||||
|
<td class="valore">[TAG]SCHEMAID,17,COL0027,IUQOID, , [/TAG]</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="etichetta"><div>Responsabile Scientifico proponente</div></td>
|
||||||
|
<td class="valore">[TAG]GETVALUEBYTAG,RSP_TITOLO,REQUEST,ID_OBJECT[/TAG] [TAG]GETVALUEBYTAG,RSP_COGNOME,REQUEST,ID_OBJECT[/TAG] [TAG]GETVALUEBYTAG,RSP_NOME,REQUEST,ID_OBJECT[/TAG]</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="etichetta"><div>Codice contratto</div></td>
|
||||||
|
<td class="valore">[TAG]GETVALUEBYTAG,ID_CONTRATTO,REQUEST,ID_OBJECT[/TAG]</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="etichetta"><div>Data di inoltro</div></td>
|
||||||
|
<td class="valore">[TAG]SCHEMAID,17,COL0013,IUQOID, , [/TAG]</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="etichetta"><div>Modulo</div></td>
|
||||||
|
<td class="valore">Ripartizione Utili / Compensi - Presentazione Proposta</td>
|
||||||
|
</tr>
|
||||||
|
<tr><td colspan="2" class="valore"><br/>Collegati al modulo <a href="https://procedure.unipr.it/rwe2/module_preview.jsp?MODULE_TAG=RIPARTIZIONE_CCT_DSAN">Ripartizione Utili / Compensi - DSAN</a> per compilare e inoltrare la domanda.</td></tr>
|
||||||
|
</tbody></table>
|
||||||
|
|
||||||
|
</div></td></tr></tbody></table>
|
||||||
|
<table cellspacing="0" cellpadding="8" border="0" summary="" class="riepilogo"><tbody><tr><td class="footer">
|
||||||
|
Questo messaggio è stato inoltrato automaticamente dal sistema elixForms. Si prega di <span style="text-decoration: underline">non rispondere via email</span>.
|
||||||
|
<br>
|
||||||
|
Per eventuali richieste di supporto, collegarsi all'area utente e utilizzare il servizio di " contatta il supporto".
|
||||||
|
</td></tr></tbody></table>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
[/EFTL]
|
||||||
|
`);
|
||||||
|
|
||||||
|
settings:
|
||||||
|
encodeUrl: true
|
||||||
|
timeout: 0
|
||||||
|
followRedirects: true
|
||||||
|
maxRedirects: 5
|
||||||
+44
@@ -0,0 +1,44 @@
|
|||||||
|
info:
|
||||||
|
name: Notifiche email partecipanti - Subject
|
||||||
|
type: http
|
||||||
|
seq: 21
|
||||||
|
|
||||||
|
http:
|
||||||
|
method: POST
|
||||||
|
url: "{{elixFormsApiUrl}}/eftl/process/v1"
|
||||||
|
headers:
|
||||||
|
- name: x-requested-with
|
||||||
|
value: XMLHttpRequest
|
||||||
|
- name: x-api-key
|
||||||
|
value: "{{elixFormsWsAuthenticationToken}}"
|
||||||
|
- name: x-ef-request-id
|
||||||
|
value: "23761"
|
||||||
|
body:
|
||||||
|
type: json
|
||||||
|
data: |-
|
||||||
|
{
|
||||||
|
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||||
|
"userContext": {
|
||||||
|
"lang": "IT",
|
||||||
|
"crlf": "\r\n"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
auth: inherit
|
||||||
|
|
||||||
|
runtime:
|
||||||
|
scripts:
|
||||||
|
- type: before-request
|
||||||
|
code: |-
|
||||||
|
const { prepareEftlDocument } = require("./elixFormsJs.js")
|
||||||
|
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||||
|
prepareEftlDocument(String.raw`
|
||||||
|
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||||
|
*** https://procedure.unipr.it - Richiesta compilazione DSAN per Ripartizione Utili / Compensi - Contratto [TAG]GETVALUEBYTAG,ID_CONTRATTO,REQUEST,ID_OBJECT[/TAG] ***
|
||||||
|
[/EFTL]
|
||||||
|
`);
|
||||||
|
|
||||||
|
settings:
|
||||||
|
encodeUrl: true
|
||||||
|
timeout: 0
|
||||||
|
followRedirects: true
|
||||||
|
maxRedirects: 5
|
||||||
Reference in New Issue
Block a user