info: name: Partecipanti - Body type: http seq: 12 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", "startTable": "\u003ctable cellpadding='0' cellspacing='0' border='0'\u003e\u003ctbody\u003e", "endTable": "\u003c/tbody\u003e\u003c/table\u003e\r\n", "startRowColspan": "\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", "startLabelRow": "\r\n\u003ctr\u003e\u003c td class='padding-bottom: 10px; font-family: Arial,Sans-serif; font-size: 13px; color: #222; vertical-align: top;'\u003e\u003cdiv\u003e", "startValueRow": "\r\n\u003c/div\u003e\u003c/td\u003e\u003c td class='padding: 0 1em 10px 0; font-family: Arial,Sans-serif; font-size: 13px; color:#888; white-space: nowrap; vertical-align: top;'\u003e", "endRow": "\u003c/td\u003e\u003c/tr\u003e", "href": "\u003ca href='https://procedure.unipr.it/rwe2/module_preview.jsp?MODULE_TAG=RIPARTIZIONE_CCT_DSAN' target='_blank'\u003eRipartizione Utili / Compensi - DSAN\u003c/a\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" /] [VAR name="rsp_titolo" type="string"][TAG]GETVALUEBYTAG,RSP_TITOLO,REQUEST,ID_OBJECT[/TAG][/VAR] [VAR name="rsp_cognome" type="string"][TAG]GETVALUEBYTAG,RSP_COGNOME,REQUEST,ID_OBJECT[/TAG][/VAR] [VAR name="rsp_nome" type="string"][TAG]GETVALUEBYTAG,RSP_NOME,REQUEST,ID_OBJECT[/TAG][/VAR] [% responsabileScientificoProponente = rsp_titolo + " " + rsp_cognome + " " + rsp_nome; %] [%= startTable %] [%= startRowColspan %]È necessario compilare la DSAN collegata all'istanza del modulo "Ripartizione Utili / Compensi - Presentazione Proposta" i cui dati sono riportati nel seguito![%= endRow %] [%= startRowColspan %][%= endRow %] [%= startRowColspan %]Riepilogo dei dati della Proposta[%= endRow %] [%= startRowColspan %][%= endRow %] [%= startLabelRow %]Responsabile Scientifico proponente[%= startValueRow %][%= responsabileScientificoProponente %][%= endRow %] [%= startLabelRow %]Codice contratto[%= startValueRow %][TAG]GETVALUEBYTAG,ID_CONTRATTO,REQUEST,ID_OBJECT[/TAG][%= endRow %] [%= startLabelRow %]Titolo contratto[%= startValueRow %][TAG]GETVALUEBYTAG,TITOLO_CONTRATTO,REQUEST,ID_OBJECT[/TAG][%= endRow %] [%= startLabelRow %]Contraente/i[%= startValueRow %][TAG]GETVALUEBYTAG,CONTRATTO_CONTRAENTI,REQUEST,ID_OBJECT[/TAG][%= endRow %] [%= startRowColspan %][%= endRow %] [%= startRowColspan %]Il link al modulo di presentazione della DSAN è: [%= href %][%= endRow %] [%= endTable %] [/EFTL] `); settings: encodeUrl: true timeout: 0 followRedirects: true maxRedirects: 5