From f45a44fa684c6135eb98250afd88b91838d549a6 Mon Sep 17 00:00:00 2001 From: Pier-Paolo Mammi Date: Tue, 19 May 2026 16:36:28 +0200 Subject: [PATCH] aggiungi nuova richiesta per verifica parametri protocollazione dinamici --- .../TAG per protocollazione fra uffici.yml | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 collections/elixForms API v2/EFTL processing/Test vari/TAG per protocollazione fra uffici.yml diff --git a/collections/elixForms API v2/EFTL processing/Test vari/TAG per protocollazione fra uffici.yml b/collections/elixForms API v2/EFTL processing/Test vari/TAG per protocollazione fra uffici.yml new file mode 100644 index 0000000..e022ef4 --- /dev/null +++ b/collections/elixForms API v2/EFTL processing/Test vari/TAG per protocollazione fra uffici.yml @@ -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