From fd5e61f0ca878bd50c245752ffb6f569ded013d2 Mon Sep 17 00:00:00 2001 From: Pier-Paolo Mammi Date: Tue, 24 Feb 2026 15:42:19 +0100 Subject: [PATCH] add: elixFormsAPI - campi per notifiche email --- .../Notifiche email partecipanti - Body.yml | 100 ++++++++++++++++++ ...Notifiche email partecipanti - Subject.yml | 44 ++++++++ 2 files changed, 144 insertions(+) create mode 100644 collections/elixForms API v2/EFTL processing/CCT - Liquidazione Compensi/Notifiche email partecipanti - Body.yml create mode 100644 collections/elixForms API v2/EFTL processing/CCT - Liquidazione Compensi/Notifiche email partecipanti - Subject.yml diff --git a/collections/elixForms API v2/EFTL processing/CCT - Liquidazione Compensi/Notifiche email partecipanti - Body.yml b/collections/elixForms API v2/EFTL processing/CCT - Liquidazione Compensi/Notifiche email partecipanti - Body.yml new file mode 100644 index 0000000..6eaeb5c --- /dev/null +++ b/collections/elixForms API v2/EFTL processing/CCT - Liquidazione Compensi/Notifiche email partecipanti - Body.yml @@ -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" /] + + + + + + + + + + + [/EFTL] + `); + +settings: + encodeUrl: true + timeout: 0 + followRedirects: true + maxRedirects: 5 diff --git a/collections/elixForms API v2/EFTL processing/CCT - Liquidazione Compensi/Notifiche email partecipanti - Subject.yml b/collections/elixForms API v2/EFTL processing/CCT - Liquidazione Compensi/Notifiche email partecipanti - Subject.yml new file mode 100644 index 0000000..e2bd8e3 --- /dev/null +++ b/collections/elixForms API v2/EFTL processing/CCT - Liquidazione Compensi/Notifiche email partecipanti - Subject.yml @@ -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