move bruno collections in own folder

This commit is contained in:
2026-07-22 12:04:55 +02:00
parent ca9ba75c21
commit 044c54ab7b
313 changed files with 0 additions and 0 deletions
@@ -0,0 +1,58 @@
info:
name: Create JSON
type: http
seq: 1
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: "22224"
body:
type: json
data: |-
{
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
"userContext": {
"lang": "IT",
"codiciFiscaliAmmessi": ";MMMPPL74T17E463A;;"
}
}
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="json" type="string"][% json = ""; %][/VAR]
[% json = "{ "; %]
[VAR name="ripartizioniIterableWithSep" type="iterable"][SPLIT regex="#"][TAG]GETVALUEBYTAG,PARTECIPANTE,REQUEST,IUQOID,CONCAT,#[/TAG][/SPLIT][/VAR]
[VAR name="arrayPartecipanti" type="string"][% arrayPartecipanti = "[ "; %][/VAR]
[FOR]
[/FOR]
[% arrayPartecipanti = arrayPartecipanti + " ]"; %]
[% json = json + " " + arrayPartecipanti " }"; %]
[%= json %]
[/EFTL]
`);
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
@@ -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
@@ -0,0 +1,77 @@
info:
name: TAG per riprotocollazione (integrazione)
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: "27399"
- name: x-ef-request-id
value: "27535"
disabled: true
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="firstItem" type="number"][% firstItem = 0; %][/VAR]
[VAR name="secondItem" type="number"][% secondItem = 1; %][/VAR]
[VAR name="folderSubject" type="string"][% folderSubject = "Richieste di Subappalti e Comunicazioni Subcontratti e Distacchi"; %][/VAR]
[VAR name="subfolderSubject" type="string"][TAG]SCHEMAID,17,COL0013,IUQOID, , ,,yyyy[/TAG][/VAR]
[VAR name="tipologiaRichiesta" type="string"][TAG]GETVALUEBYTAG,TIPOLOGIA_RICHIESTA,REQUEST,IUQOID[/TAG][/VAR]
[VAR name="impresaAppaltatrice" type="string"][TAG]GETVALUEBYTAG,IMPRESA_APPALTATRICE,REQUEST,IUQOID[/TAG][/VAR]
[VAR name="lavori" type="string"][TAG]GETVALUEBYTAG,RICHIESTA_OGGETTO_LAVORI,REQUEST,IUQOID[/TAG][/VAR]
[VAR name="cig" type="string"][TAG]GETVALUEBYTAG,RICHIESTA_OGGETTO_CIG,REQUEST,IUQOID[/TAG][/VAR]
[VAR name="cup" type="string"][TAG]GETVALUEBYTAG,RICHIESTA_OGGETTO_CUP,REQUEST,IUQOID[/TAG][/VAR]
[VAR name="riapertureIter" type="iterable"][SPLIT regex="\|" emptyIfBlank="true"][TAG]SCHEMAID,198,COL0001,IUQOID,,|[/TAG][/SPLIT][/VAR]
Date inoltro prima della riapertura: [TAG]SCHEMAID,198,COL0003,IUQOID,,|[/TAG]
Date conferma prima della riapertura: [TAG]SCHEMAID,198,COL0004,IUQOID,,|[/TAG]
Data ultimo inoltro: [TAG]SCHEMAID,17,COL0013,IUQOID, , [/TAG]
[VAR name="dataCompletamento" type="string"][TAG]SCHEMAID,17,COL0013,IUQOID, , [/TAG][/VAR]
[VAR name="confermePrecedenti" type="string"][TAG]SCHEMAID,198,COL0004,IUQOID,,|[/TAG][/VAR]
[VAR name="integrazione"][% integrazione = ""; %][/VAR]
[IF][CONDITION][% confermePrecedenti != "" %][/CONDITION][THEN][% integrazione = " (INTEGRAZIONE del " + dataCompletamento + ")"; %][/THEN][/IF]
[VAR name="nomeDocumento" type="string"][% nomeDocumento = tipologiaRichiesta + " " + impresaAppaltatrice + " - Commessa: " + lavori + " (CIG: " + cig + " - CUP: " + cup + ")" + integrazione; %][/VAR]
Nome documento: [%= nomeDocumento %]
IF: [IF][CONDITION][ISEMPTY][TAG]SCHEMAID,198,COL0004,IUQOID,,|[/TAG][/ISEMPTY][/CONDITION][THEN][%= " (INTEGRAZIONE del " + dataCompletamento + ")" %][/THEN][/IF]
Test:
[/EFTL]
`);
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
@@ -0,0 +1,61 @@
info:
name: TEST ordine GetValueByTag
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: "22737"
disabled: true
- name: x-ef-request-id
value: "22224"
disabled: true
- name: x-ef-request-id
value: "23258"
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="lastUpdatedNominativo" type="string"][TAG]GETVALUEBYTAG,PARTECIPANTE,REQUEST,IUQOID,UPDATED_LAST[/TAG][/VAR]
[VAR name="lastUpdatedImporto" 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]
[VAR name="lastUpdatedNominativoIterable" type="iterable"][SPLIT regex=" \(CF: "][VALUE_OF varname="lastUpdatedNominativo" /][/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]
[%= lastUpdatedNominativoCF + ":" + lastUpdatedImporto %]
[/EFTL]
`);
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
@@ -0,0 +1,52 @@
info:
name: Test Errore 406
type: http
seq: 30
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: "32873"
body:
type: json
data: |-
{
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
"userContext": {
"lang": "IT",
"crlf": "\r\n",
"fairWarning": "ATTENZIONE: la keyword 'style' all'interno degli elementi HTML produce un errore 406 di richiesta sospetta (!), per testare lo script sostituirla con qualcos'altro!",
"startRow": "\u003ctr\u003e\u003ctd\u003e",
"endRow": "\u003c/td\u003e\u003c/tr\u003e",
"test": "<td style='' colspan='2'>"
// , "test2": "\r\n \u003ctr\u003e \u003c td style='padding: 0 1em 10px 0; font-family: Arial,Sans-serif; font-size: 13px; color:#888; white-space: nowrap; vertical-align: top;'\u003e"
// , "test3": "\r\n\u003ctr\u003e\u003ctd style='padding: 0 1em 10px 0; font-family: Arial,Sans-serif; font-size: 13px; color:#888; white-space: nowrap; vertical-align: top;' colspan='2'\u003e"
}
}
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" /]
[%= startRow %]
VALORE: _[%= test %]_
[%= endRow %]
[/EFTL]
`);
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
@@ -0,0 +1,86 @@
info:
name: Test vari
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: "22737"
disabled: true
- name: x-ef-request-id
value: "22224"
disabled: true
- name: x-ef-request-id
value: "22748"
disabled: true
- name: x-ef-request-id
value: "22705"
disabled: true
- name: x-ef-request-id
value: "22842"
body:
type: json
data: |-
{
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
"userContext": {
"lang": "IT",
"crlf": "\r\n",
"qualificheDocenti": ";Docente;Ricercatore;",
"complex": {
"antani": "tapioca",
"array": [
1, 2, 4
]
}
}
}
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="newLine" type="string"][VALUE_OF varname="crlf" /][/VAR]
[VAR name="stringSeparated" type="string"][% stringSeparated = "xyz#abc#def"; %][/VAR]
[VAR name="stringIterable" type="iterable"][SPLIT regex="#"][VALUE_OF varname="stringSeparated" /][/SPLIT][/VAR]
[VAR name="stringJson" type="string"][TAG]SCHEMAID,405,COL0017,IUQOID, , [/TAG][/VAR]
[VAR name="valoreT" type="string"][TAG]GETVALUEBYTAG,TEXTAREA_TAG,REQUEST,IUQOID[/TAG][/VAR]
[VAR name="valoreS" type="string"][TAG]SCHEMAID,405,COL0003,IUQOID, , [/TAG][/VAR]
[VAR name="valoreTag" type="number"][TAG]GETVALUEBYTAG,TEXTAREA_TAG,REQUEST,IUQOID,LAST,,0.00[/TAG][/VAR]
[VAR name="valoreSch" type="number"][TAG]SCHEMAID,405,COL0003,IUQOID,,,,0.00[/TAG][/VAR]
[VAR name="prodottoTag" type="number"][% prodotto = valoreTag * 0.20; %][/VAR]
[VAR name="prodottoSch" type="number"][% prodotto = valoreSch * 0.20; %][/VAR]
[%= valoreT " : " valoreS %]
[%= newLine %]
[%= valoreTag " : " valoreSch %]
[%= newLine %]
[%= prodottoTag " : " prodottoSch %]
[%= newLine %]
[%= stringIterable %]
[%= newLine %]
[%= complex %]
[/EFTL]
`);
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
@@ -0,0 +1,7 @@
info:
name: Test vari
type: folder
seq: 5
request:
auth: inherit