move Liquidazione requests to correct folder

This commit is contained in:
2026-06-17 11:38:48 +02:00
parent 4b5e3269be
commit d49c8ec8a2
30 changed files with 187 additions and 29 deletions
@@ -1,7 +1,7 @@
info: info:
name: Check richiedente in partecipanti by CodFis name: Check richiedente in partecipanti by CodFis
type: http type: http
seq: 6 seq: 4
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: Check richiedente in partecipanti name: Check richiedente in partecipanti
type: http type: http
seq: 5 seq: 4
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: Importo richiedente da Proposta ADVANCED name: Importo richiedente da Proposta ADVANCED
type: http type: http
seq: 13 seq: 9
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: Nuovo check richiedente DSAN name: Nuovo check richiedente DSAN
type: http type: http
seq: 12 seq: 8
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: Ore richiedente da Proposta ADVANCED name: Ore richiedente da Proposta ADVANCED
type: http type: http
seq: 14 seq: 10
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: Richiedente ammesso ADVANCED name: Richiedente ammesso ADVANCED
type: http type: http
seq: 15 seq: 11
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: Calcolo ripartizione per tipologia persona name: Calcolo ripartizione per tipologia persona
type: http type: http
seq: 4 seq: 3
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: Codice fiscale ammesso name: Codice fiscale ammesso
type: http type: http
seq: 7 seq: 4
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: Codici fiscali ripartizioni Simple-minded name: Codici fiscali ripartizioni Simple-minded
type: http type: http
seq: 9 seq: 12
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: Codici fiscali ripartizioni name: Codici fiscali ripartizioni
type: http type: http
seq: 8 seq: 5
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: Elenco contraenti formattati name: Elenco contraenti formattati
type: http type: http
seq: 10 seq: 13
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: Elenco partecipanti per dropdown con chiave name: Elenco partecipanti per dropdown con chiave
type: http type: http
seq: 11 seq: 14
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: Elenco partecipanti per tendina name: Elenco partecipanti per tendina
type: http type: http
seq: 12 seq: 15
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: Notifiche email partecipanti - Body name: Notifiche email partecipanti - Body
type: http type: http
seq: 8 seq: 6
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: Notifiche email partecipanti - Subject name: Notifiche email partecipanti - Subject
type: http type: http
seq: 9 seq: 7
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: Numero partecipanti meno RS (se c'è) name: Numero partecipanti meno RS (se c'è)
type: http type: http
seq: 13 seq: 16
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: Numero ripartizioni da form partecipanti name: Numero ripartizioni da form partecipanti
type: http type: http
seq: 14 seq: 17
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: Recupero email da array name: Partecipanti - Body
type: http type: http
seq: 11 seq: 10
http: http:
method: POST method: POST
@@ -0,0 +1,79 @@
info:
name: Partecipanti - Email
type: http
seq: 8
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: "31397"
body:
type: json
data: |-
{
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
"userContext": {
"lang": "IT",
"crlf": "\r\n",
"DEBUG": "S"
}
}
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" /]
[VAR name="richiedenteCF" type="string"][TAG]GETVALUEBYTAG,RICHIEDENTE_CODFIS,REQUEST,IUQOID,UPDATED_LAST[/TAG][/VAR]
[VAR name="firstItem" type="number"][% firstItem = 0; %][/VAR]
[VAR name="secondItem" type="number"][% secondItem = 1; %][/VAR]
[!-- Recupera il CF dell'ultimo inserimento --]
[VAR name="lastUpdatedNominativoIterable" type="iterable"][SPLIT regex=" \(CF: "][TAG]GETVALUEBYTAG,PARTECIPANTE,REQUEST,IUQOID,UPDATED_LAST[/TAG][/SPLIT][/VAR]
[VAR name="lastUpdatedNominativoRightIterable" type="iterable"][SPLIT regex=", Qualifica: "][VALUE_OF varname="lastUpdatedNominativoIterable" index="secondItem" /][/SPLIT][/VAR]
[VAR name="lastUpdatedNominativoCF" type="string"][VALUE_OF varname="lastUpdatedNominativoRightIterable" index="firstItem" /][/VAR]
[VAR name="emailPartecipante" type="string"][% emailPartecipante = ""; %][/VAR]
[IF]
[CONDITION][% lastUpdatedNominativoCF != "" && lastUpdatedNominativoCF != richiedenteCF %][/CONDITION]
[THEN]
[VAR name="arrayCfEmailIterable" type="iterable"][SPLIT regex=";"][TAG]GETVALUEBYTAG,SOGGETTI_EMAIL,REQUEST,IUQOID[/TAG][/SPLIT][/VAR]
[FOR varname="coppia" iterable="arrayCfEmailIterable"]
[VAR name="coppiaIterable" type="iterable"][SPLIT regex=":"][VALUE_OF varname="coppia" /][/SPLIT][/VAR]
[VAR name="codiceFiscale" type="string"][VALUE_OF varname="coppiaIterable" index="firstItem" /][/VAR]
[VAR name="email" type="string"][VALUE_OF varname="coppiaIterable" index="secondItem" /][/VAR]
[IF]
[CONDITION][% lastUpdatedNominativoCF == codiceFiscale %][/CONDITION]
[THEN][% emailPartecipante = email; %][/THEN]
[/IF]
[/FOR]
[IF]
[CONDITION][% DEBUG == "S" %][/CONDITION]
[THEN][% emailPartecipante = "pierpaolo.mammi@unipr.it"; %][/THEN]
[/IF]
[/THEN]
[/IF]
[%= emailPartecipante %]
[/EFTL]
`);
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
@@ -0,0 +1,79 @@
info:
name: Partecipanti - Subject
type: http
seq: 9
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: "31397"
body:
type: json
data: |-
{
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
"userContext": {
"lang": "IT",
"crlf": "\r\n",
"DEBUG": "S"
}
}
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" /]
[VAR name="richiedenteCF" type="string"][TAG]GETVALUEBYTAG,RICHIEDENTE_CODFIS,REQUEST,IUQOID,UPDATED_LAST[/TAG][/VAR]
[VAR name="firstItem" type="number"][% firstItem = 0; %][/VAR]
[VAR name="secondItem" type="number"][% secondItem = 1; %][/VAR]
[!-- Recupera il CF dell'ultimo inserimento --]
[VAR name="lastUpdatedNominativoIterable" type="iterable"][SPLIT regex=" \(CF: "][TAG]GETVALUEBYTAG,PARTECIPANTE,REQUEST,IUQOID,UPDATED_LAST[/TAG][/SPLIT][/VAR]
[VAR name="lastUpdatedNominativoRightIterable" type="iterable"][SPLIT regex=", Qualifica: "][VALUE_OF varname="lastUpdatedNominativoIterable" index="secondItem" /][/SPLIT][/VAR]
[VAR name="lastUpdatedNominativoCF" type="string"][VALUE_OF varname="lastUpdatedNominativoRightIterable" index="firstItem" /][/VAR]
[VAR name="emailPartecipante" type="string"][% emailPartecipante = ""; %][/VAR]
[IF]
[CONDITION][% lastUpdatedNominativoCF != "" && lastUpdatedNominativoCF != richiedenteCF %][/CONDITION]
[THEN]
[VAR name="arrayCfEmailIterable" type="iterable"][SPLIT regex=";"][TAG]GETVALUEBYTAG,SOGGETTI_EMAIL,REQUEST,IUQOID[/TAG][/SPLIT][/VAR]
[FOR varname="coppia" iterable="arrayCfEmailIterable"]
[VAR name="coppiaIterable" type="iterable"][SPLIT regex=":"][VALUE_OF varname="coppia" /][/SPLIT][/VAR]
[VAR name="codiceFiscale" type="string"][VALUE_OF varname="coppiaIterable" index="firstItem" /][/VAR]
[VAR name="email" type="string"][VALUE_OF varname="coppiaIterable" index="secondItem" /][/VAR]
[IF]
[CONDITION][% lastUpdatedNominativoCF == codiceFiscale %][/CONDITION]
[THEN][% emailPartecipante = email; %][/THEN]
[/IF]
[/FOR]
[IF]
[CONDITION][% DEBUG == "S" %][/CONDITION]
[THEN][% emailPartecipante = "pierpaolo.mammi@unipr.it"; %][/THEN]
[/IF]
[/THEN]
[/IF]
[%= emailPartecipante %]
[/EFTL]
`);
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
@@ -1,7 +1,7 @@
info: info:
name: Partecipanti HAS DSAN name: Partecipanti - hasDSAN
type: http type: http
seq: 10 seq: 11
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: Partecipanti per Qualifica name: Partecipanti per Qualifica
type: http type: http
seq: 15 seq: 18
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: RS proponente completo (multipli) name: RS proponente completo (multipli)
type: http type: http
seq: 17 seq: 20
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: Recupero importo richiedente da proposta name: Recupero importo richiedente da proposta
type: http type: http
seq: 16 seq: 19
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: TEST ordine GetValueByTag name: TEST ordine GetValueByTag
type: http type: http
seq: 18 seq: 21
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: Tabella HTML ripartizioni FOR ADVANCED name: Tabella HTML ripartizioni FOR ADVANCED
type: http type: http
seq: 21 seq: 24
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: Tabella HTML ripartizioni FOR name: Tabella HTML ripartizioni FOR
type: http type: http
seq: 20 seq: 23
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: Tabella HTML ripartizioni WHILE name: Tabella HTML ripartizioni WHILE
type: http type: http
seq: 19 seq: 22
http: http:
method: POST method: POST
@@ -1,7 +1,7 @@
info: info:
name: elixPro - Recupero importi inseriti name: elixPro - Recupero importi inseriti
type: http type: http
seq: 22 seq: 25
http: http:
method: POST method: POST