# Conflicts:
#	collections/IDEM WebServices/Anagrafiche/Dipendente (E-mail).yml
#	collections/IDEM WebServices/Anagrafiche/Studente (Codice Fiscale).yml
#	collections/elixForms API v2/Request details/Get ExportTags.yml
This commit is contained in:
2026-06-05 08:43:00 +02:00
53 changed files with 1175 additions and 299 deletions
@@ -5,166 +5,12 @@ info:
http:
method: GET
url: "{{IdemApiUrl}}/autoriz_ap_centri.php?cd_csa=105992"
url: "{{IdemApiUrl}}/autoriz_ap_centri.php"
params:
- name: cd_csa
value: "106017"
value: "094034"
type: query
description: CENTRO UNIVERSITARIO - CENTROACQUE.EU
disabled: true
- name: cd_csa
value: "106209"
type: query
description: Centro Internazionale di Studi sulla Cooperazione - CISC
disabled: true
- name: cd_csa
value: "106177"
type: query
description: Centro Studi Catulliani - C.S.C.
disabled: true
- name: cd_csa
value: "106014"
type: query
description: CENTRO PER LE ATTIVITA' E LE PROFESSIONI DELLE ARTI E DELLO SPETTACOLO - CAPAS
disabled: true
- name: cd_csa
value: "106013"
type: query
description: CENTRO INTERDIPARTIMENTALE DI RICERCA UNIPR - CO LAB
disabled: true
- name: cd_csa
value: "106012"
type: query
description: CENTRO DI RICERCHE SULLO SPORT - CeRS
disabled: true
- name: cd_csa
value: "300216"
type: query
description: Centro di Servizi e Misure G. Casnati
disabled: true
- name: cd_csa
value: "106010"
type: query
description: Centro di Eccellenza per la Ricerca Tossicologica - CERT
disabled: true
- name: cd_csa
value: "300221"
type: query
description: Centro Studi e Archivio della Comunicazione
disabled: true
- name: cd_csa
value: "105992"
type: query
description: Centro Universitario per la Cooperazione Internazionale
- name: cd_csa
value: "106227"
type: query
description: Centro di Ateneo per L'inclusione (C.A.I)
disabled: true
- name: cd_csa
value: "106008"
type: query
description: CENTRO DI MEDICINA DEL SONNO (C.M.S.)
disabled: true
- name: cd_csa
value: "106178"
type: query
description: Centro Servizi E-Learning e Multimediali di Ateneo
disabled: true
- name: cd_csa
value: "106027"
type: query
description: Centro di Servizi per la Salute, Igiene e Sicurezza nei luoghi di lavoro
disabled: true
- name: cd_csa
value: "106208"
type: query
description: Centro Linguistico di Ateneo (C.L.A.)
disabled: true
- name: cd_csa
value: "106176"
type: query
description: Centro di Formazione e Ricerca su Organizzazione, Qualita' e Sostenibilita' dei Sistemi Sanitari - LABSAN
disabled: true
- name: cd_csa
value: "106158"
type: query
description: Centro Universitario di Bioetica - U.C.B.
disabled: true
- name: cd_csa
value: "106006"
type: query
description: Centro Universitario di Odontoiatria
disabled: true
- name: cd_csa
value: "106016"
type: query
description: CENTRO DI ECCELLENZA PER LO SVILUPPO E L' INNOVAZIONE TECNOLOGICA - CERIT
disabled: true
- name: cd_csa
value: "106015"
type: query
description: CENTRO INTERDIPARTIMENTALE DI SICUREZZA STRADALE - DISS
disabled: true
- name: cd_csa
value: "106011"
type: query
description: Centro Interdipartimentale di Ricerca in Medicina dello Sport e dell'Esercizio Fisico - SEM
disabled: true
- name: cd_csa
value: "096187"
type: query
description: FUTURE TECHNOLOGY LAB
disabled: true
- name: cd_csa
value: "106207"
type: query
description: Centro Interdipartimentale di Ricerca per il Microbiota "Microbiome Research Hub"
disabled: true
- name: cd_csa
value: "106147"
type: query
description: Centro Studi in Affari Europei e Internazionali - Center for Studies in European and International Affairs - C.S.E.I.A.
disabled: true
- name: cd_csa
value: "106195"
type: query
description: CIRS - Centro Interdipartimentale di Ricerca Sociale - Diritti, Societa' e Civilta'
disabled: true
- name: cd_csa
value: "106179"
type: query
description: Ro.S.A. - Robust Statistics Academy
disabled: true
- name: cd_csa
value: "106247"
type: query
description: Centro Interdipartimentale per le Neuroimmagini - CIN
disabled: true
- name: cd_csa
value: "106286"
type: query
description: Centro di Ricerche su Sport, E-Sport e Game - RiSEG
disabled: true
- name: cd_csa
value: "106236"
type: query
description: Centro Interdipartimentale di Ricerca per la conservazione, la costruzione e la rigenerazione di edifici e infrastrutture - CICCREI
disabled: true
- name: cd_csa
value: "103407"
type: query
description: CENTRO INTERDIPARTIMENTALE DI RICERCA PER L'INNOVAZIONE DEI PRODOTTI PER LA SALUTE, BIOPHARMANET-TEC
disabled: true
- name: cd_csa
value: "103405"
type: query
description: Centro Interdipartimentale di Ricerca di Oncologia Molecolare Translazionale - COMT
disabled: true
- name: cd_csa
value: "096186"
type: query
description: CENTRO INTERDIPARTIMENTALE PER LA SICUREZZA, TECNOLOGIE E INNOVAZIONE AGROALIMENTARE - SITEIA.PARMA
description: Centro Interdipartimentale per l'Energia e l'Ambiente - CIDEA
disabled: true
- name: cd_csa
value: "096185"
@@ -172,24 +18,174 @@ http:
description: CENTRO DI RICERCA INTERDIPARTIMENTALE PER IL PACKAGING - CIPACK
disabled: true
- name: cd_csa
value: "094034"
value: "096186"
type: query
description: Centro Interdipartimentale per l'Energia e l'Ambiente - CIDEA
description: CENTRO INTERDIPARTIMENTALE PER LA SICUREZZA, TECNOLOGIE E INNOVAZIONE AGROALIMENTARE - SITEIA.PARMA
disabled: true
- name: cd_csa
value: "096187"
type: query
description: FUTURE TECHNOLOGY LAB
disabled: true
- name: cd_csa
value: "103405"
type: query
description: Centro Interdipartimentale di Ricerca di Oncologia Molecolare Translazionale - COMT
disabled: true
- name: cd_csa
value: "103407"
type: query
description: CENTRO INTERDIPARTIMENTALE DI RICERCA PER L'INNOVAZIONE DEI PRODOTTI PER LA SALUTE, BIOPHARMANET-TEC
disabled: true
- name: cd_csa
value: "105992"
type: query
description: Centro Universitario per la Cooperazione Internazionale
disabled: true
- name: cd_csa
value: "106006"
type: query
description: Centro Universitario di Odontoiatria
disabled: true
- name: cd_csa
value: "106007"
type: query
description: Centro Multidisciplinare Interdipartimentale Lattiero Caseario - MILC
disabled: true
- name: cd_csa
value: "106008"
type: query
description: CENTRO DI MEDICINA DEL SONNO (C.M.S.)
disabled: true
- name: cd_csa
value: "106010"
type: query
description: Centro di Eccellenza per la Ricerca Tossicologica - CERT
disabled: true
- name: cd_csa
value: "106011"
type: query
description: Centro Interdipartimentale di Ricerca in Medicina dello Sport e dell'Esercizio Fisico - SEM
disabled: true
- name: cd_csa
value: "106012"
type: query
description: CENTRO DI RICERCHE SULLO SPORT - CeRS
disabled: true
- name: cd_csa
value: "106013"
type: query
description: CENTRO INTERDIPARTIMENTALE DI RICERCA UNIPR - CO LAB
disabled: true
- name: cd_csa
value: "106014"
type: query
description: CENTRO PER LE ATTIVITA' E LE PROFESSIONI DELLE ARTI E DELLO SPETTACOLO - CAPAS
disabled: true
- name: cd_csa
value: "106015"
type: query
description: CENTRO INTERDIPARTIMENTALE DI SICUREZZA STRADALE - DISS
disabled: true
- name: cd_csa
value: "106016"
type: query
description: CENTRO DI ECCELLENZA PER LO SVILUPPO E L' INNOVAZIONE TECNOLOGICA - CERIT
disabled: true
- name: cd_csa
value: "106017"
type: query
description: CENTRO UNIVERSITARIO - CENTROACQUE.EU
disabled: true
- name: cd_csa
value: "106027"
type: query
description: Centro di Servizi per la Salute, Igiene e Sicurezza nei luoghi di lavoro
disabled: true
- name: cd_csa
value: "106147"
type: query
description: Centro Studi in Affari Europei e Internazionali - Center for Studies in European and International Affairs - C.S.E.I.A.
disabled: true
- name: cd_csa
value: "106158"
type: query
description: Centro Universitario di Bioetica - U.C.B.
disabled: true
- name: cd_csa
value: "106176"
type: query
description: Centro di Formazione e Ricerca su Organizzazione, Qualita' e Sostenibilita' dei Sistemi Sanitari - LABSAN
disabled: true
- name: cd_csa
value: "106177"
type: query
description: Centro Studi Catulliani - C.S.C.
disabled: true
- name: cd_csa
value: "106178"
type: query
description: Centro Servizi E-Learning e Multimediali di Ateneo
disabled: true
- name: cd_csa
value: "106179"
type: query
description: Ro.S.A. - Robust Statistics Academy
disabled: true
- name: cd_csa
value: "106195"
type: query
description: CIRS - Centro Interdipartimentale di Ricerca Sociale - Diritti, Societa' e Civilta'
disabled: true
- name: cd_csa
value: "106207"
type: query
description: Centro Interdipartimentale di Ricerca per il Microbiota "Microbiome Research Hub"
disabled: true
- name: cd_csa
value: "106208"
type: query
description: Centro Linguistico di Ateneo (C.L.A.)
disabled: true
- name: cd_csa
value: "106227"
type: query
description: Centro di Ateneo per L'inclusione (C.A.I)
disabled: true
- name: cd_csa
value: "106236"
type: query
description: Centro Interdipartimentale di Ricerca per la conservazione, la costruzione e la rigenerazione di edifici e infrastrutture - CICCREI
disabled: true
- name: cd_csa
value: "106247"
type: query
description: Centro Interdipartimentale per le Neuroimmagini - CIN
disabled: true
- name: cd_csa
value: "106272"
type: query
description: Centro Multidisciplinare per la Formazione degli Insegnanti e l'Innovazione Didattica CEFID)
disabled: true
- name: cd_csa
value: "106286"
type: query
description: Centro di Ricerche su Sport, E-Sport e Game - RiSEG
disabled: true
- name: id_ab
value: "186474"
type: query
disabled: true
- name: cd_csa
value: "300216"
type: query
description: Centro di Servizi e Misure G. Casnati
disabled: true
- name: cd_csa
value: "300221"
type: query
description: Centro Studi e Archivio della Comunicazione
disabled: true
auth: inherit
settings:
@@ -5,7 +5,7 @@ info:
http:
method: GET
url: "{{IdemApiUrl}}/dipendente.php?mail=pierpaolo.mammi@unipr.it"
url: "{{IdemApiUrl}}/dipendente.php?mail=andrea.pescetti@unipr.it"
params:
- name: mail
value: pierpaolo.mammi@unipr.it
@@ -42,6 +42,9 @@ http:
value: stefano.gobbi@unipr.it
type: query
disabled: true
- name: mail
value: andrea.pescetti@unipr.it
type: query
auth: inherit
settings:
@@ -13,6 +13,13 @@ http:
- name: cod_fis
value: BAXSGL05D64H223O
type: query
- name: cod_fis
value: RSTBRN52L09G337F
type: query
disabled: true
- name: cod_fis
value: BRTSMN69B65G337A
type: query
disabled: true
auth: inherit
@@ -14,6 +14,10 @@ http:
value: sofiagiuliana.ba@studenti.unipr.it
type: query
disabled: true
- name: mail
value: bruno.rastelli@studenti.unipr.it
type: query
disabled: true
auth: inherit
settings:
@@ -0,0 +1,196 @@
info:
name: Studente Carriere Dropdown (CF)
type: http
seq: 11
http:
method: GET
url: "{{IdemApiUrl}}/studente_carriere_dropdown.php?cod_fis=BAXSGL05D64H223O"
params:
- name: cod_fis
value: BRTSMN69B65G337A
type: query
disabled: true
- name: cod_fis
value: MMMPPL74T17E463A
type: query
disabled: true
- name: cod_fis
value: BAXSGL05D64H223O
type: query
- name: cod_fis
value: RSTBRN52L09G337F
type: query
disabled: true
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
examples:
- name: Studente 200 OK (3 carriere)
request:
url: "{{IdemApiUrl}}/studente.php?cod_fis=BAXSGL05D64H223O"
method: GET
params:
- name: cod_fis
value: MMMPPL74T17E463A
type: query
disabled: true
- name: cod_fis
value: BAXSGL05D64H223O
type: query
response:
status: 200
statusText: OK
headers:
- name: date
value: Wed, 22 Apr 2026 14:25:34 GMT
- name: server
value: Apache/2.2.15 (CentOS)
- name: x-powered-by
value: PHP/5.3.3
- name: content-length
value: "4018"
- name: connection
value: close
- name: content-type
value: application/json
body:
type: json
data: |-
{
"pers_id": "397004",
"datiAnagrafici": {
"cognome": "BA",
"nome": "SOFIA GIULIANA",
"codiceFiscale": "BAXSGL05D64H223O"
},
"contatti": {
"emailPersonale": "sofiagiulianaba@gmail.com",
"emailAteneo": "sofiagiuliana.ba@studenti.unipr.it",
"cellulare": "+39 3515855681"
},
"residenza": {
"via": "via patrioti",
"numero": "41",
"cap": null,
"comune": "Sant'Ilario d'Enza",
"comuneCodice": "I342",
"telefono": "3515855681"
},
"ultima_carriera": {
"matricola": "399364",
"dataImmatricolazione": "02/02/2026",
"annoAccademico": "2025",
"statoCarrieraCodice": "A",
"statoCarrieraDescrizione": "Attivo",
"statoCarrieraMotivoCodice": "IMM",
"statoCarrieraMotivoDescrizione": "Immatricolazione",
"tipoCorsoCodice": "L2",
"tipoCorsoDescrizione": "Corso di Laurea",
"corsoCodice": "3120",
"corsoDescrizione": "SCIENZE DELLA NATURA E DELL'AMBIENTE",
"corsoDescrizioneEN": "NATURAL AND ENVIRONMENTAL SCIENCES",
"percorso": "9999",
"classeCorsoCodice": "L-32 R",
"corsoDurata": "3",
"corsoAnno": "1",
"anniFuoriCorso": "0",
"tipoIscrizioneCodice": "IC",
"corsoModalitaFlag": "0",
"iscrizioneCondizionataFlag": "0",
"ordinamento": "2025",
"dataIscrizione": "02/02/2026",
"dataChiusura": "",
"cdCsa": "106152",
"corsoDipartimento": "Dipartimento di Scienze Chimiche, della Vita e della Sostenibilità Ambientale "
},
"lista_carriere_certificati": "[399364] 399364 - Corso di Laurea in SCIENZE DELLA NATURA E DELL'AMBIENTE (3120) - Attivo (Immatricolazione) - Data imm. 02/02/2026\r\n[385881] 385881 - Semestre filtro in Semestre filtro (SFM) - Cessato (Chiusura percorso semestre filtro) - Data imm. 16/07/2025\r\n[373376] 373376 - Laurea Magistrale Ciclo Unico 5 anni in CHIMICA E TECNOLOGIA FARMACEUTICHE (5080) - Cessato (Rinuncia) - Data imm. 01/08/2024\r\n",
"carriere": [
{
"matricola": "399364",
"dataImmatricolazione": "02/02/2026",
"annoAccademico": "2025",
"statoCarrieraCodice": "A",
"statoCarrieraDescrizione": "Attivo",
"statoCarrieraMotivoCodice": "IMM",
"statoCarrieraMotivoDescrizione": "Immatricolazione",
"tipoCorsoCodice": "L2",
"tipoCorsoDescrizione": "Corso di Laurea",
"corsoCodice": "3120",
"corsoDescrizione": "SCIENZE DELLA NATURA E DELL'AMBIENTE",
"corsoDescrizioneEN": "NATURAL AND ENVIRONMENTAL SCIENCES",
"percorso": "9999",
"classeCorsoCodice": "L-32 R",
"corsoDurata": "3",
"corsoAnno": "1",
"anniFuoriCorso": "0",
"tipoIscrizioneCodice": "IC",
"corsoModalitaFlag": "0",
"iscrizioneCondizionataFlag": "0",
"ordinamento": "2025",
"dataIscrizione": "02/02/2026",
"dataChiusura": "",
"cdCsa": "106152",
"corsoDipartimento": "Dipartimento di Scienze Chimiche, della Vita e della Sostenibilità Ambientale "
},
{
"matricola": "385881",
"dataImmatricolazione": "16/07/2025",
"annoAccademico": "2025",
"statoCarrieraCodice": "X",
"statoCarrieraDescrizione": "Cessato",
"statoCarrieraMotivoCodice": "C_SFM",
"statoCarrieraMotivoDescrizione": "Chiusura percorso semestre filtro",
"tipoCorsoCodice": "SFM",
"tipoCorsoDescrizione": "Semestre filtro",
"corsoCodice": "SFM",
"corsoDescrizione": "Semestre filtro",
"corsoDescrizioneEN": null,
"percorso": "9999",
"classeCorsoCodice": null,
"corsoDurata": "1",
"corsoAnno": "1",
"anniFuoriCorso": "0",
"tipoIscrizioneCodice": "IC",
"corsoModalitaFlag": "0",
"iscrizioneCondizionataFlag": "0",
"ordinamento": "2025",
"dataIscrizione": "16/07/2025",
"dataChiusura": "07/01/2026",
"cdCsa": null,
"corsoDipartimento": null
},
{
"matricola": "373376",
"dataImmatricolazione": "01/08/2024",
"annoAccademico": "2024",
"statoCarrieraCodice": "X",
"statoCarrieraDescrizione": "Cessato",
"statoCarrieraMotivoCodice": "RIN",
"statoCarrieraMotivoDescrizione": "Rinuncia",
"tipoCorsoCodice": "LM5",
"tipoCorsoDescrizione": "Laurea Magistrale Ciclo Unico 5 anni",
"corsoCodice": "5080",
"corsoDescrizione": "CHIMICA E TECNOLOGIA FARMACEUTICHE",
"corsoDescrizioneEN": "PHARMACEUTICAL CHEMISTRY AND TECHNOLOGY",
"percorso": "9999",
"classeCorsoCodice": "LM-13.",
"corsoDurata": "5",
"corsoAnno": "1",
"anniFuoriCorso": "0",
"tipoIscrizioneCodice": "IC",
"corsoModalitaFlag": "0",
"iscrizioneCondizionataFlag": "0",
"ordinamento": "2023",
"dataIscrizione": "01/08/2024",
"dataChiusura": "29/04/2025",
"cdCsa": "106157",
"corsoDipartimento": "Dipartimento di Scienze degli Alimenti e del Farmaco"
}
]
}
@@ -7,6 +7,18 @@ http:
method: GET
url: "{{IdemApiUrl}}/contratto_fs_esteso_ap.php?cod_con=GIUL_F_25_CRCT_RA_MOVYON_01"
params:
- name: cod_con
value: GIUL_F_25_CRCT_RA_MOVYON_01
type: query
disabled: true
- name: cod_con
value: CHIA_L_26_ACC_ACC_PROROGASTUDIOBALLERINI_01
type: query
disabled: true
- name: cod_con
value: BUTT_F_26_SPONSOR_CHIESI_02
type: query
disabled: true
- name: cod_con
value: GIUL_F_25_CRCT_RA_MOVYON_01
type: query
@@ -15,6 +15,9 @@ config:
bypassProxy: ""
request:
headers:
- name: X-API-Key
value: WkBxJDVwJjJUajM3ZDVBV1NOZkF5cmY3eVVgZDNBZHVibXh+N0tMekBAbVNGV2ZnJTRuTiV0bWk1WUNzeHpEdg==
auth:
type: basic
username: "{{IdemApiUsername}}"
@@ -390,7 +393,4 @@ request:
// pm.visualizer.set(template, tableProps);
bundled: false
extensions:
ignore:
- node_modules
- .git
extensions: {}
@@ -1 +1,2 @@
IrisApiPassword=
IrisApiUsername=
@@ -4,6 +4,6 @@ variables:
- name: IrisApiUrl
value: https://air.unipr.it/gw/rest/api
- name: IrisApiUsername
value: restentities
value: "{{process.env.IrisApiUsername}}"
- name: IrisApiPassword
value: "{{process.env.IrisApiPassword}}"
@@ -15,6 +15,9 @@ config:
bypassProxy: ""
request:
headers:
- name: Accept
value: "*/*"
auth:
type: basic
username: "{{IrisApiUsername}}"
@@ -1,2 +1,3 @@
elixFormsWsAuthenticationToken=
elixFormsApiPassword=
elixFormsApiUsername=
@@ -0,0 +1,53 @@
info:
name: CSV attività per export
type: http
seq: 5
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: "31470"
body:
type: json
data: |-
{
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
"userContext": {
"lang": "IT",
"crlf": "\r\n",
"useTestCF": false
}
}
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="importoAssegnato" type="number"][TAG]SCHEMAID,709,COL0118,IUQOID, ,,,0.00[/TAG][/VAR]
[VAR name="oreTotali" type="number"][TAG]SCHEMAID,709,COL0119,IUQOID, ,,,0[/TAG][/VAR]
[VAR name="anno" type="string"][TAG]GETVALUEBYTAG,ATTIVITA_ANNO,REQUEST,IUQOID,UPDATED_LAST[/TAG][/VAR]
[VAR name="ore" type="string"][TAG]GETVALUEBYTAG,ATTIVITA_ORE;ORE_DENTRO_ORARIO,REQUEST,IUQOID,UPDATED_LAST[/TAG][/VAR]
[VAR name="importoProporzionato" type="number"][% importoProporzionato = (importoAssegnato * ore) / oreTotali; %][/VAR]
[%= anno %];[%= ore %];[FORMAT type="number" pattern="0.00"][% importoProporzionato %][/FORMAT]
[/EFTL]
`);
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
@@ -0,0 +1,51 @@
info:
name: Calcolo importo in orario proporzionale
type: http
seq: 2
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: "30661"
body:
type: json
data: |-
{
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
"userContext": {
"lang": "IT",
"crlf": "\r\n",
"useTestCF": false
}
}
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="importoAssegnato" type="number"][TAG]SCHEMAID,709,COL0118,IUQOID, ,,,0.00[/TAG][/VAR]
[VAR name="oreTotali" type="number"][TAG]SCHEMAID,709,COL0119,IUQOID, ,,,0[/TAG][/VAR]
[VAR name="oreAttivita" type="number"][TAG]GETVALUEBYTAG,ATTIVITA_ORE,REQUEST,IUQOID,UPDATED_LAST[/TAG][/VAR]
[VAR name="importoProporzionato" type="number"][% importoProporzionato = (importoAssegnato * oreAttivita) / oreTotali; %][/VAR]
[FORMAT type="number" pattern="0.00"][% importoProporzionato %][/FORMAT]
[/EFTL]
`);
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
@@ -0,0 +1,56 @@
info:
name: Calcolo limiti ore e altro
type: http
seq: 3
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: "31418"
body:
type: json
data: |-
{
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
"userContext": {
"lang": "IT",
"crlf": "\r\n",
"useTestCF": false
}
}
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="percentualePartTime" type="number"][TAG]GETVALUEBYTAG,DIPENDENTE_PERC_PARTTIME,REQUEST,IUQOID[/TAG][/VAR]
[VAR name="oreEquivalenti" type="number"][TAG]GETVALUEBYTAG,ORE_RIPARTIZIONE_ASSEGNATA,REQUEST,IUQOID[/TAG][/VAR]
[VAR name="maxOre" type="number"][TAG]GETVALUEBYTAG,MAX_ORE_DENTRO_ORARIO,REQUEST,IUQOID[/TAG][/VAR]
[VAR name="limiteOre" type="number"][% limiteOre = (percentualePartTime * maxOre); %][/VAR]
[IF]
[CONDITION][% limiteOre > oreEquivalenti %][/CONDITION]
[THEN][% limiteOre = oreEquivalenti; %][/THEN]
[/IF]
[FORMAT type="number" pattern="integer"][% limiteOre %][/FORMAT]
[/EFTL]
`);
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
@@ -0,0 +1,67 @@
info:
name: Importo richiedente da Proposta ADVANCED
type: http
seq: 13
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: "31555"
body:
type: json
data: |-
{
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
"userContext": {
"lang": "IT",
"crlf": "\r\n",
"useTestCF": false
}
}
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="codiceFiscaleRichiedente" type="string"][TAG]GETVALUEBYTAG,RICHIEDENTE_CODFIS,REQUEST,IUQOID[/TAG][/VAR]
[VAR name="datiRipartizioniIterable" type="iterable"][SPLIT regex="##"][TAG]GETVALUEBYTAG,RIPARTIZIONE_DATI_COMPLETI,REQUEST,IUQOID,CONCAT,##[/TAG][/SPLIT][/VAR]
[VAR name="item2" type="number"][% item2 = 1; %][/VAR]
[VAR name="item5" type="number"][% item5 = 4; %][/VAR]
[VAR name="importoRichiedente" type="number"][% importoRichiedente = 0; %][/VAR]
[FOR varname="riga" iterable="datiRipartizioniIterable"]
[VAR name="rigaiIterable" type="iterable"][SPLIT regex=";;"][VALUE_OF varname="riga" /][/SPLIT][/VAR]
[VAR name="codiceFiscale" type="string"][VALUE_OF varname="rigaiIterable" index="item2" /][/VAR]
[VAR name="importo" type="number"][VALUE_OF varname="rigaiIterable" index="item5" /][/VAR]
[IF]
[CONDITION][% codiceFiscale == codiceFiscaleRichiedente %][/CONDITION]
[THEN][% importoRichiedente = importo; %][/THEN]
[/IF]
[/FOR]
[FORMAT type="number" pattern="0.00"][% importoRichiedente %][/FORMAT]
[/EFTL]
`);
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
docs: |-
SchemaId 709
Campo COL0118
@@ -0,0 +1,49 @@
info:
name: Indicazioni limiti annuali ore
type: http
seq: 7
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: "30661"
body:
type: json
data: |-
{
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
"userContext": {
"lang": "IT",
"crlf": "\r\n",
"useTestCF": false
}
}
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" /]
In base alle ore equivalenti e al part-time, il limite annuale di ore di attivita' svolte dentro l'orario di lavoro e' pari a [TAG]GETVALUEBYTAG,LIMITE_ORE_DENTRO_ORARIO,REQUEST,IUQOID,UPDATED_LAST[/TAG]
In base alle ore equivalenti e al part-time, il limite annuale di ore di attivita' svolte fuori dall'orario di lavoro e' pari a [TAG]GETVALUEBYTAG,LIMITE_ORE_FUORI_ORARIO,REQUEST,IUQOID,UPDATED_LAST[/TAG]
[/EFTL]
`);
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
@@ -0,0 +1,101 @@
info:
name: Ore richiedente da Proposta ADVANCED
type: http
seq: 14
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: "31555"
body:
type: json
data: |-
{
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
"userContext": {
"lang": "IT",
"crlf": "\r\n",
"IS_OP": "OP0",
"IS_CO": "CO0",
"IS_FU": "FU0",
"IS_EP": "EP0",
"OP": 0.0431,
"CO": 0.0405,
"FU": 0.0350,
"EP": 0.0307,
"useTestCF": false
}
}
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="inquadramentoRichiedente" type="string"][TAG]GETVALUEBYTAG,INQUADRAMENTO_DIPENDENTE,REQUEST,IUQOID[/TAG][/VAR]
[VAR name="codiceFiscaleRichiedente" type="string"][TAG]GETVALUEBYTAG,RICHIEDENTE_CODFIS,REQUEST,IUQOID[/TAG][/VAR]
[VAR name="datiRipartizioniIterable" type="iterable"][SPLIT regex="##"][TAG]GETVALUEBYTAG,RIPARTIZIONE_DATI_COMPLETI,REQUEST,IUQOID,CONCAT,##[/TAG][/SPLIT][/VAR]
[% item2 = 1; %]
[% item5 = 4; %]
[% importoRichiedente = 0; %]
[% fattoreConversione = 0; %]
[FOR varname="riga" iterable="datiRipartizioniIterable"]
[VAR name="rigaIterable" type="iterable"][SPLIT regex=";;"][VALUE_OF varname="riga" /][/SPLIT][/VAR]
[VAR name="codiceFiscale" type="string"][VALUE_OF varname="rigaIterable" index="item2" /][/VAR]
[VAR name="importo" type="number"][VALUE_OF varname="rigaIterable" index="item5" /][/VAR]
[IF]
[CONDITION][% codiceFiscale == codiceFiscaleRichiedente %][/CONDITION]
[THEN][% importoRichiedente = importo; %][/THEN]
[/IF]
[/FOR]
[IF]
[CONDITION][CONTAINS varname="IS_OP"][% inquadramentoRichiedente %][/CONTAINS][/CONDITION]
[THEN][% fattoreConversione = OP; %][/THEN]
[ELSE IF]
[CONDITION][CONTAINS varname="IS_CO"][% inquadramentoRichiedente %][/CONTAINS][/CONDITION]
[THEN][% fattoreConversione = CO; %][/THEN]
[/ELSE IF]
[ELSE IF]
[CONDITION][CONTAINS varname="IS_FU"][% inquadramentoRichiedente %][/CONTAINS][/CONDITION]
[THEN][% fattoreConversione = FU; %][/THEN]
[/ELSE IF]
[ELSE IF]
[CONDITION][CONTAINS varname="IS_EP"][% inquadramentoRichiedente %][/CONTAINS][/CONDITION]
[THEN][% fattoreConversione = EP; %][/THEN]
[/ELSE IF]
[/IF]
[!--
inquadramentoRichiedente: [%= inquadramentoRichiedente %]
codiceFiscaleRichiedente: [%= codiceFiscaleRichiedente %]
importoRichiedente: [%= importoRichiedente %]
fattoreConversione: [%= fattoreConversione %]
Output
--]
[FORMAT type="number" pattern="0"][% importoRichiedente * fattoreConversione %][/FORMAT]
[/EFTL]
`);
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
docs: |-
SchemaId 709
Campo COL0118
@@ -1,7 +1,7 @@
info:
name: Recupero email da array
type: http
seq: 27
seq: 11
http:
method: POST
@@ -12,7 +12,7 @@ http:
- name: x-api-key
value: "{{elixFormsWsAuthenticationToken}}"
- name: x-ef-request-id
value: "25286"
value: "31397"
body:
type: json
data: |-
@@ -35,6 +35,7 @@ runtime:
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]
@@ -44,6 +45,10 @@ runtime:
[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]
@@ -60,6 +65,8 @@ runtime:
[CONDITION][% DEBUG == "S" %][/CONDITION]
[THEN][% emailPartecipante = "pierpaolo.mammi@unipr.it"; %][/THEN]
[/IF]
[/THEN]
[/IF]
[%= emailPartecipante %]
[/EFTL]
@@ -0,0 +1,76 @@
info:
name: Richiedente ammesso ADVANCED
type: http
seq: 15
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: "31555"
body:
type: json
data: |-
{
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
"userContext": {
"lang": "IT",
"crlf": "\r\n",
"useTestCF": false
}
}
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="checkUtentePartecipante" type="string"][% checkUtentePartecipante = "Il richiedente non è ammesso alla compilazione perché non partecipa alle ripartizioni"; %][/VAR]
[VAR name="richiedenteCF" type="string"][TAG]GETVALUEBYTAG,RICHIEDENTE_CODFIS,REQUEST,IUQOID[/TAG][/VAR]
[VAR name="richiedentePropostaCF" type="string"][TAG]GETVALUEBYTAG,PROPOSTA_RICHIEDENTE_CODFIS,REQUEST,IUQOID[/TAG][/VAR]
[VAR name="ripartizioniDatiCompleti" type="string"][TAG]GETVALUEBYTAG,RIPARTIZIONE_DATI_COMPLETI,REQUEST,IUQOID[/TAG][/VAR]
[!-- ATTENZIONE: gli ELSEIF non rispettano la logica di esclusione dei blocchi! Lasciare le condizioni in questo ordine! --]
[!-- 1. Il richiedente non deve essere vuoto --]
[!-- 2. Il richiedente deve comparire fra le ripartizioni --]
[!-- 3. Il richiedente può eventualmente comparire fra i nominativi ammessi (DEBUG) --]
[!-- 4. Il richiedente non deve essere il RS che ha presentato la Proposta --]
[IF]
[CONDITION][IS_EMPTY varname="richiedenteCF" /][/CONDITION]
[THEN][% checkUtentePartecipante = "Nessun richiedente trovato"; %][/THEN]
[ELSE IF]
[CONDITION][CONTAINS varname="ripartizioniDatiCompleti"];;[VALUE_OF varname="richiedenteCF" /];;[/CONTAINS][/CONDITION]
[THEN][% checkUtentePartecipante = ""; %][/THEN]
[/ELSE IF]
[ELSE IF]
[CONDITION][CONTAINS varname="codiciFiscaliAmmessi"][VALUE_OF varname="richiedenteCF" /][/CONTAINS][/CONDITION]
[THEN][% checkUtentePartecipante = ""; %][/THEN]
[/ELSE IF]
[ELSE IF]
[CONDITION][% richiedenteCF == richiedentePropostaCF %][/CONDITION]
[THEN][% checkUtentePartecipante = "Il Responsabile Scientifico proponente della Proposta non deve compilare la DSAN"; %][/THEN]
[/ELSE IF]
[/IF]
[%= checkUtentePartecipante %]
[/EFTL]
`);
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
docs: |-
SchemaId 709
Campo COL0118
@@ -0,0 +1,7 @@
info:
name: DSAN
type: folder
seq: 2
request:
auth: inherit
@@ -1,85 +0,0 @@
info:
name: Elenco partecipanti per tabella HTML Copy
type: http
seq: 10
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: "19758"
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]
[VAR name="newLine" type="string"][VALUE_OF varname="crlf" /][/VAR]
[VAR name="ripartizioniNominativiWithSep" type="string"][TAG]SCHEMAID,538,COL0005,ID_OBJECT,,#[/TAG][/VAR]
[VAR name="ripartizioniImportiWithSep" type="string"][TAG]SCHEMAID,538,COL0002,ID_OBJECT,,#[/TAG][/VAR]
<table>
<tr><th>Partecipante</th><th>Importo (EUR)</th></tr>
[IF][CONDITION][IS_NOT_EMPTY varname="ripartizioniNominativiWithSep" /][/CONDITION][THEN]
[VAR name="ripartizioniNominativiIterable" type="iterable"][SPLIT regex="#"][VALUE_OF varname="ripartizioniNominativiWithSep" /][/SPLIT][/VAR]
[VAR name="ripartizioniImportiIterable" type="iterable"][SPLIT regex="#"][VALUE_OF varname="ripartizioniImportiWithSep" /][/SPLIT][/VAR]
[VAR name="ripartizioniCount" type="number"][SIZE_OF varname="ripartizioniNominativiIterable" /][/VAR]
[VAR name="ripartizioneIdx" type="string"][% ripartizioneIdx = 0; %][/VAR]
[VAR name="firstItem" type="number"][% firstItem = 0; %][/VAR]
[VAR name="secondItem" type="number"][% secondItem = 1; %][/VAR]
[FOR varName="ripartizione" iterable="ripartizioniNominativiIterable"]
[VAR name="ripartizioneNominativoFull" type="string"][VALUE_OF varname="ripartizioniNominativiIterable" index="ripartizioneIdx" /][/VAR]
[VAR name="ripartizioneImporto" type="string"][VALUE_OF varname="ripartizioniImportiIterable" index="ripartizioneIdx" /][/VAR]
[VAR name="ripartizioneNominativoIterable" type="iterable"][SPLIT regex="] "][TRIM][VALUE_OF varname="ripartizioneNominativoFull" /][/TRIM][/SPLIT][/VAR]
[VAR name="ripartizioneNominativo" type="string"][VALUE_OF varname="ripartizioneNominativoIterable" index="secondItem" /][/VAR]
[% ripartizioneIdx = ripartizioneIdx + 1; %]
[VAR name="ripartizioneKeyIterable" type="iterable"][SPLIT regex="\."][% ripartizioneIdx + "" %][/SPLIT][/VAR]
[VAR name="ripartizioneKey" type="string"][VALUE_OF varname="ripartizioneKeyIterable" index="firstItem" /][/VAR]
<tr><td>[VALUE_OF varname="ripartizioneNominativo" /]</td><td>[VALUE_OF varname="ripartizioneImporto" /]</td></tr>
[/FOR]
[!--
[WHILE threshold="99"]
[CONDITION][% ripartizioneIdx < ripartizioniCount %][/CONDITION]
[DO]
[VAR name="ripartizioneNominativoFull" type="string"][VALUE_OF varname="ripartizioniNominativiIterable" index="ripartizioneIdx" /][/VAR]
[VAR name="ripartizioneImporto" type="string"][VALUE_OF varname="ripartizioniImportiIterable" index="ripartizioneIdx" /][/VAR]
[VAR name="ripartizioneNominativoIterable" type="iterable"][SPLIT regex="] "][TRIM][VALUE_OF varname="ripartizioneNominativoFull" /][/TRIM][/SPLIT][/VAR]
[VAR name="ripartizioneNominativo" type="string"][VALUE_OF varname="ripartizioneNominativoIterable" index="secondItem" /][/VAR]
[% ripartizioneIdx = ripartizioneIdx + 1; %]
[VAR name="ripartizioneKeyIterable" type="iterable"][SPLIT regex="\."][% ripartizioneIdx + "" %][/SPLIT][/VAR]
[VAR name="ripartizioneKey" type="string"][VALUE_OF varname="ripartizioneKeyIterable" index="firstItem" /][/VAR]
<tr><td>[VALUE_OF varname="ripartizioneNominativo" /]</td><td>[VALUE_OF varname="ripartizioneImporto" /]</td></tr>
[/DO]
[/WHILE]
--]
[/THEN][/IF]
</table>
[/EFTL]
`);
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
@@ -0,0 +1,61 @@
info:
name: Dati completi ripartizione
type: http
seq: 2
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: "31499"
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" /]
[VAR name="partecipante" type="string"][TAG]GETVALUEBYTAG,PARTECIPANTE,REQUEST,IUQOID,UPDATED_LAST[/TAG][/VAR]
[VAR name="importo" type="string"][TAG]GETVALUEBYTAG,IMPORTO_RIPARTIZIONE,REQUEST,IUQOID,UPDATED_LAST[/TAG][/VAR]
[VAR name="firstItem" type="number"][% firstItem = 0; %][/VAR]
[VAR name="secondItem" type="number"][% secondItem = 1; %][/VAR]
[!-- Rimuoviamo l'indice della scelta da tendina "[X] " --]
[VAR name="datiIterable" type="iterable"][SPLIT regex="] "][VALUE_OF varname="partecipante" /][/SPLIT][/VAR]
[!-- Scorriamo l'iterable splittando man mano per i divisori nella scelta da tendina --]
[VAR name="datiIterable" type="iterable"][SPLIT regex=" \(CF: "][VALUE_OF varname="datiIterable" index="secondItem" /][/SPLIT][/VAR]
[VAR name="nominativo" type="string"][VALUE_OF varname="datiIterable" index="firstItem" /][/VAR]
[VAR name="datiIterable" type="iterable"][SPLIT regex=", Qualifica: "][VALUE_OF varname="datiIterable" index="secondItem" /][/SPLIT][/VAR]
[VAR name="codiceFiscale" type="string"][VALUE_OF varname="datiIterable" index="firstItem" /][/VAR]
[VAR name="datiIterable" type="iterable"][SPLIT regex=", Struttura di afferenza: "][VALUE_OF varname="datiIterable" index="secondItem" /][/SPLIT][/VAR]
[VAR name="qualifica" type="string"][VALUE_OF varname="datiIterable" index="firstItem" /][/VAR]
[VAR name="struttura" type="string"][VALUE_OF varname="datiIterable" index="secondItem" /][/VAR]
[%= nominativo + ";;" + codiceFiscale + ";;" + qualifica + ";;" + struttura + ";;" + importo %]
[/EFTL]
`);
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
@@ -1,7 +1,7 @@
info:
name: Recupero importo richiedente da proposta
type: http
seq: 18
seq: 16
http:
method: POST
@@ -62,7 +62,11 @@ runtime:
[/IF]
[/FOR]
[!--
[%= importoRichiedente %]
--]
[FORMAT type="number" pattern="0.00"][% importoRichiedente %][/FORMAT]
[/EFTL]
`);
@@ -71,3 +75,7 @@ settings:
timeout: 0
followRedirects: true
maxRedirects: 5
docs: |-
SchemaId 709
Campo COL0118
@@ -0,0 +1,68 @@
info:
name: Tabella HTML ripartizioni FOR ADVANCED
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: "31499"
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]
[VAR name="datiRipartizioneIterable" type="iterable"][SPLIT regex="##" emptyIfBlank="true"][TAG]GETVALUEBYTAG,RIPARTIZIONE_DATI_COMPLETI,REQUEST,IUQOID,CONCAT,##[/TAG][/SPLIT][/VAR]
[VAR name="item1" type="number"][% item1 = 0; %][/VAR]
[VAR name="item2" type="number"][% item2 = 1; %][/VAR]
[VAR name="item3" type="number"][% item3 = 2; %][/VAR]
[VAR name="item4" type="number"][% item4 = 3; %][/VAR]
[VAR name="item5" type="number"][% item5 = 4; %][/VAR]
<table>
<tr>
<th>Nominativo</th>
<th>Codice fiscale</th>
<th>Qualifica</th>
<th>Struttura</th>
<th>Importo (&euro;)</th>
</tr>
[FOR varName="ripartizione" iterable="datiRipartizioneIterable"][VAR name="datiIterable" type="iterable"][SPLIT regex=";;" emptyIfBlank="true"][VALUE_OF varname="ripartizione" /][/SPLIT][/VAR]
<tr>
<td>[VALUE_OF varname="datiIterable" index="item1" /]</td>
<td>[VALUE_OF varname="datiIterable" index="item2" /]</td>
<td>[VALUE_OF varname="datiIterable" index="item3" /]</td>
<td>[VALUE_OF varname="datiIterable" index="item4" /]</td>
<td style="text-align: right;">[FORMAT type="number" pattern="#,##0.00"][VALUE_OF varname="datiIterable" index="item5" /][/FORMAT]</td>
</tr>[/FOR]
</table>
[/EFTL]
`);
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
@@ -0,0 +1,69 @@
info:
name: Tabella HTML ripartizioni FOR
type: http
seq: 20
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: "31499"
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]
[VAR name="newLine" type="string"][VALUE_OF varname="crlf" /][/VAR]
[VAR name="ripartizioniNominativiWithSep" type="string"][TAG]SCHEMAID,538,COL0005,ID_OBJECT,,#[/TAG][/VAR]
[VAR name="ripartizioniImportiWithSep" type="string"][TAG]SCHEMAID,538,COL0002,ID_OBJECT,,#[/TAG][/VAR]
[VAR name="ripartizioniNominativiIterable" type="iterable"][SPLIT regex="#" emptyIfBlank="true"][VALUE_OF varname="ripartizioniNominativiWithSep" /][/SPLIT][/VAR]
[VAR name="ripartizioniImportiIterable" type="iterable"][SPLIT regex="#" emptyIfBlank="true"][VALUE_OF varname="ripartizioniImportiWithSep" /][/SPLIT][/VAR]
[VAR name="ripartizioneIdx" type="string"][% ripartizioneIdx = 0; %][/VAR]
[VAR name="firstItem" type="number"][% firstItem = 0; %][/VAR]
[VAR name="secondItem" type="number"][% secondItem = 1; %][/VAR]
[%= ripartizioniNominativiIterable %]
<table>
<tr>
<th>Partecipante</th><th>Importo (EUR)</th></tr>
[FOR varName="ripartizione" iterable="ripartizioniNominativiIterable"]
[VAR name="ripartizioneNominativoFull" type="string"][VALUE_OF varname="ripartizioniNominativiIterable" index="ripartizioneIdx" /][/VAR]
[VAR name="ripartizioneImporto" type="string"][VALUE_OF varname="ripartizioniImportiIterable" index="ripartizioneIdx" /][/VAR]
[VAR name="ripartizioneNominativoIterable" type="iterable"][SPLIT regex="] "][TRIM][VALUE_OF varname="ripartizioneNominativoFull" /][/TRIM][/SPLIT][/VAR]
[VAR name="ripartizioneNominativo" type="string"][VALUE_OF varname="ripartizioneNominativoIterable" index="secondItem" /][/VAR]
[% ripartizioneIdx = ripartizioneIdx + 1; %]
[VAR name="ripartizioneKeyIterable" type="iterable"][SPLIT regex="\."][% ripartizioneIdx + "" %][/SPLIT][/VAR]
[VAR name="ripartizioneKey" type="string"][VALUE_OF varname="ripartizioneKeyIterable" index="firstItem" /][/VAR]
<tr>
<td>[VALUE_OF varname="ripartizioneNominativo" /]</td><td>[VALUE_OF varname="ripartizioneImporto" /]</td>
</tr>
[/FOR]
</table>
[/EFTL]
`);
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
@@ -1,7 +1,7 @@
info:
name: Elenco partecipanti per tabella HTML
name: Tabella HTML ripartizioni WHILE
type: http
seq: 9
seq: 19
http:
method: POST
@@ -19,6 +19,9 @@ http:
disabled: true
- name: x-ef-request-id
value: "23761"
disabled: true
- name: x-ef-request-id
value: "31499"
body:
type: json
data: |-
@@ -0,0 +1,7 @@
info:
name: Proposta
type: folder
seq: 1
request:
auth: inherit
@@ -0,0 +1,55 @@
info:
name: TAG per protocollazione fra uffici
type: http
seq: 4
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: "29674"
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" /]
- document_type: interno
- document_is_draft: false
- document_subject: Autorizzazione al pagamento - [TAG]GETVALUEBYTAG,ID_CONTRATTO,REQUEST,IUQOID[/TAG] - [TAG]GETVALUEBYTAG,ELENCO_CONTRAENTI_CSV,REQUEST,IUQOID[/TAG] - [TAG]GETVALUEBYTAG,ELENCO_RS_CSV,REQUEST,IUQOID[/TAG] - [TAG]GETVALUEBYTAG,TITOLO_CONTRATTO,REQUEST,IUQOID[/TAG]
- document_means: elixForms
- document_index_title: elixForms - Autorizzazione Pagamento Liquidazione
- document_minutes_discard: 99
- document_minutes_class_cod: 03/19
- document_minutes_sender_surname: [TAG]GETVALUEBYTAG,AUTORIZ_RAG_COGNOME,REQUEST,IUQOID[/TAG]
- document_minutes_sender_office_name: [TAG]GETVALUEBYTAG,AUTORIZ_RAG_UO,REQUEST,IUQOID[/TAG]
[/EFTL]
`);
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
@@ -5,7 +5,7 @@ info:
http:
method: GET
url: "{{elixFormsApiUrl}}/request/:request_id/view/:view_name/exportTags/get/v1?exportGroup=API&exportGroup=RICHIESTA"
url: "{{elixFormsApiUrl}}/request/:request_id/view/:view_name/exportTags/get/v1?moduleTag=RIPARTIZIONE_CCT_DSAN&exportGroup=ReportOre"
headers:
- name: x-requested-with
value: XMLHttpRequest
@@ -17,17 +17,17 @@ http:
type: query
disabled: true
- name: moduleTag
value: PROPOSTA_CCT_OPERATORE
value: RIPARTIZIONE_CCT_DSAN
type: query
disabled: true
- name: exportGroup
value: API
type: query
disabled: true
- name: exportGroup
value: RICHIESTA
value: ReportOre
type: query
- name: request_id
value: "17144"
value: "31470"
type: path
- name: view_name
value: _DEFAULT
@@ -6,7 +6,7 @@ variables:
- name: elixFormsRootUrl
value: https://procedure.unipr.it
- name: elixFormsApiUsername
value: api_unipr
value: "{{process.env.elixFormsApiUsername}}"
- name: elixRegisterResultColumns
value: ""
- name: elixFormsWsAuthenticationToken