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:
name: Importo richiedente da Proposta ADVANCED
type: http
seq: 13
seq: 9
http:
method: POST
@@ -1,7 +1,7 @@
info:
name: Nuovo check richiedente DSAN
type: http
seq: 12
seq: 8
http:
method: POST
@@ -1,7 +1,7 @@
info:
name: Ore richiedente da Proposta ADVANCED
type: http
seq: 14
seq: 10
http:
method: POST
@@ -1,7 +1,7 @@
info:
name: Richiedente ammesso ADVANCED
type: http
seq: 15
seq: 11
http:
method: POST
@@ -1,7 +1,7 @@
info:
name: Calcolo ripartizione per tipologia persona
type: http
seq: 4
seq: 3
http:
method: POST
@@ -1,7 +1,7 @@
info:
name: Codice fiscale ammesso
type: http
seq: 7
seq: 4
http:
method: POST
@@ -1,7 +1,7 @@
info:
name: Codici fiscali ripartizioni Simple-minded
type: http
seq: 9
seq: 12
http:
method: POST
@@ -1,7 +1,7 @@
info:
name: Codici fiscali ripartizioni
type: http
seq: 8
seq: 5
http:
method: POST
@@ -1,7 +1,7 @@
info:
name: Elenco contraenti formattati
type: http
seq: 10
seq: 13
http:
method: POST
@@ -1,7 +1,7 @@
info:
name: Elenco partecipanti per dropdown con chiave
type: http
seq: 11
seq: 14
http:
method: POST
@@ -1,7 +1,7 @@
info:
name: Elenco partecipanti per tendina
type: http
seq: 12
seq: 15
http:
method: POST
@@ -1,7 +1,7 @@
info:
name: Numero partecipanti meno RS (se c'è)
type: http
seq: 13
seq: 16
http:
method: POST
@@ -1,7 +1,7 @@
info:
name: Numero ripartizioni da form partecipanti
type: http
seq: 14
seq: 17
http:
method: POST
@@ -1,7 +1,7 @@
info:
name: Recupero email da array
name: Partecipanti - Body
type: http
seq: 11
seq: 10
http:
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:
name: Partecipanti HAS DSAN
name: Partecipanti - hasDSAN
type: http
seq: 10
seq: 11
http:
method: POST
@@ -1,7 +1,7 @@
info:
name: Partecipanti per Qualifica
type: http
seq: 15
seq: 18
http:
method: POST
@@ -1,7 +1,7 @@
info:
name: RS proponente completo (multipli)
type: http
seq: 17
seq: 20
http:
method: POST
@@ -1,7 +1,7 @@
info:
name: Recupero importo richiedente da proposta
type: http
seq: 16
seq: 19
http:
method: POST
@@ -1,7 +1,7 @@
info:
name: TEST ordine GetValueByTag
type: http
seq: 18
seq: 21
http:
method: POST
@@ -1,7 +1,7 @@
info:
name: Tabella HTML ripartizioni FOR ADVANCED
type: http
seq: 21
seq: 24
http:
method: POST
@@ -1,7 +1,7 @@
info:
name: Tabella HTML ripartizioni FOR
type: http
seq: 20
seq: 23
http:
method: POST
@@ -1,7 +1,7 @@
info:
name: Tabella HTML ripartizioni WHILE
type: http
seq: 19
seq: 22
http:
method: POST
@@ -1,7 +1,7 @@
info:
name: elixPro - Recupero importi inseriti
type: http
seq: 22
seq: 25
http:
method: POST