add other collections
This commit is contained in:
@@ -0,0 +1,260 @@
|
||||
info:
|
||||
name: Login
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/authentication/login/v1"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"username\": \"{{elixFormsApiUsername}}\",\r
|
||||
|
||||
\ \"password\": \"{{elixFormsApiPassword}}\"\r
|
||||
|
||||
}"
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: after-response
|
||||
code: "test(\"Status code is 200\", function () {\r
|
||||
|
||||
\ expect(res.getStatus()).to.equal(200);\r
|
||||
|
||||
\ var jsonData = res.getBody();\r
|
||||
|
||||
\ bru.setVar(\"elixFormsApiAuthToken\", jsonData.value.authToken);\r
|
||||
|
||||
});"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Login - Success
|
||||
request:
|
||||
url: "{{elixFormsApiUrl}}/authentication/login/v1"
|
||||
method: POST
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: password
|
||||
value: "{{elixFormsApiPassword}}"
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/json;charset=UTF-8
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
- name: transfer-encoding
|
||||
value: chunked
|
||||
- name: vary
|
||||
value: Accept-Encoding
|
||||
- name: content-encoding
|
||||
value: gzip
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"resultNumber": 1,
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.1.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "9d0ba2e7-8e98-4a7a-9fa1-67d421d0aa1e",
|
||||
"version": "3.0.0",
|
||||
"matchingEntitiesSize": 1,
|
||||
"authToken": "2coDKQPTPJAQxWLSNRItM="
|
||||
}
|
||||
}
|
||||
- name: Login - Failure
|
||||
request:
|
||||
url: "{{elixFormsApiUrl}}/authentication/login/v1"
|
||||
method: POST
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: password
|
||||
value: "{{elixFormsApiPassword}}x"
|
||||
response:
|
||||
statusText: "401"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-language
|
||||
value: ""
|
||||
- name: content-type
|
||||
value: text/html;charset=UTF-8
|
||||
- name: content-length
|
||||
value: "1074"
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
body:
|
||||
type: html
|
||||
data: |-
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Payara Server 6.2025.1 #badassfish - Error report</title>
|
||||
<style type="text/css">
|
||||
<!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}HR {color : #525D76;}-->
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>HTTP Status 401 - Unauthorized</h1>
|
||||
<hr/>
|
||||
<p>
|
||||
<b>type</b> Status report
|
||||
</p>
|
||||
<p>
|
||||
<b>message</b>Unauthorized
|
||||
</p>
|
||||
<p>
|
||||
<b>description</b>This request requires HTTP authentication.
|
||||
</p>
|
||||
<hr/>
|
||||
<h3>Payara Server 6.2025.1 #badassfish</h3>
|
||||
</body>
|
||||
</html>
|
||||
- name: Login
|
||||
request:
|
||||
url: "{{elixFormsApiUrl}}/authentication/login/v1"
|
||||
method: POST
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: password
|
||||
value: "{{elixFormsApiPassword}}"
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/json;charset=UTF-8
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
- name: transfer-encoding
|
||||
value: chunked
|
||||
- name: vary
|
||||
value: Accept-Encoding
|
||||
- name: content-encoding
|
||||
value: gzip
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"resultNumber": 1,
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "31ee57d5-01b9-4fce-94e2-a224282c08ec",
|
||||
"version": "3.0.0",
|
||||
"matchingEntitiesSize": 1,
|
||||
"authToken": "Z8uKwrp86iSWykuRlRM1k="
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,165 @@
|
||||
info:
|
||||
name: Logout
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/authentication/:username/logout/v1"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: path
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Logout - Success
|
||||
request:
|
||||
url: "{{elixFormsApiUrl}}/authentication/:username/logout/v1"
|
||||
method: POST
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: path
|
||||
body:
|
||||
type: form-urlencoded
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/json;charset=UTF-8
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
- name: transfer-encoding
|
||||
value: chunked
|
||||
- name: vary
|
||||
value: Accept-Encoding
|
||||
- name: content-encoding
|
||||
value: gzip
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "4db3952b-ee30-4614-994d-db161b5b833c",
|
||||
"version": "3.0.0",
|
||||
"matchingEntitiesSize": 0
|
||||
}
|
||||
}
|
||||
- name: Logout - Failure
|
||||
request:
|
||||
url: "{{elixFormsApiUrl}}/authentication/:username/logout/v1"
|
||||
method: POST
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: path
|
||||
body:
|
||||
type: form-urlencoded
|
||||
response:
|
||||
statusText: "401"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-store, no-transform
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: www-authenticate
|
||||
value: Bearer realm="https://procedure.unipr.it"
|
||||
- name: content-language
|
||||
value: ""
|
||||
- name: content-type
|
||||
value: text/html;charset=UTF-8
|
||||
- name: content-length
|
||||
value: "1074"
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
body:
|
||||
type: html
|
||||
data: |-
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Payara Server 6.2025.1 #badassfish - Error report</title>
|
||||
<style type="text/css">
|
||||
<!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}HR {color : #525D76;}-->
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>HTTP Status 401 - Unauthorized</h1>
|
||||
<hr/>
|
||||
<p>
|
||||
<b>type</b> Status report
|
||||
</p>
|
||||
<p>
|
||||
<b>message</b>Unauthorized
|
||||
</p>
|
||||
<p>
|
||||
<b>description</b>This request requires HTTP authentication.
|
||||
</p>
|
||||
<hr/>
|
||||
<h3>Payara Server 6.2025.1 #badassfish</h3>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: Authorization
|
||||
type: folder
|
||||
seq: 3
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
@@ -0,0 +1,101 @@
|
||||
info:
|
||||
name: Get appointments
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{elixFormsApiUrl}}/calendar/appointments/get/v1?username={{elixFormsApiUsername}}&tag=xyz"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
- name: tag
|
||||
value: xyz
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Get appointments - Not enabled?
|
||||
request:
|
||||
url: "{{elixFormsApiUrl}}/calendar/appointments/get/v1?username={{elixFormsApiUsername}}&tag=xyz"
|
||||
method: GET
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
- name: tag
|
||||
value: xyz
|
||||
type: query
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/json;charset=UTF-8
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
- name: transfer-encoding
|
||||
value: chunked
|
||||
- name: vary
|
||||
value: Accept-Encoding
|
||||
- name: content-encoding
|
||||
value: gzip
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "ERROR",
|
||||
"description": "Errore 404 invocando il servizio \"exportAppointments\"",
|
||||
"complete": true,
|
||||
"globalStatus": "ERROR",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.0.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "ERROR",
|
||||
"description": "Errore 404 invocando il servizio \"exportAppointments\"",
|
||||
"detailStatus": "ERROR"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "6e65e591-3c79-4f54-98ca-aad877b309e0",
|
||||
"version": "3.9.2.17",
|
||||
"resultSize": 0
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
info:
|
||||
name: Set acquired appointments
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: PUT
|
||||
url: "{{elixFormsApiUrl}}/calendar/appointments/set-acquired/v1"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: tag
|
||||
value: xyz
|
||||
- name: date
|
||||
value: "{{elixSetAcquiredAppointmentDate}}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: bru.setVar("elixSetAcquiredAppointmentDate", JSON.stringify(new Date().toISOString()));
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Set acquired appointments - No timestamp?
|
||||
request:
|
||||
url: "{{elixFormsApiUrl}}/calendar/appointments/set-acquired/v1"
|
||||
method: PUT
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: tag
|
||||
value: xyz
|
||||
- name: date
|
||||
value: "{{elixSetAcquiredAppointmentDate}}"
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/json;charset=UTF-8
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
- name: transfer-encoding
|
||||
value: chunked
|
||||
- name: vary
|
||||
value: Accept-Encoding
|
||||
- name: content-encoding
|
||||
value: gzip
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "ERROR",
|
||||
"description": "No timestamp provided in form params",
|
||||
"complete": false,
|
||||
"globalStatus": "ERROR",
|
||||
"resultNumber": -1,
|
||||
"uuid": "58bbd1b4-6abc-474a-89ac-ac55d203982b",
|
||||
"version": "3.0.0",
|
||||
"resultSize": 0
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: Calendar 2.0
|
||||
type: folder
|
||||
seq: 9
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
info:
|
||||
name: Acquisizione istanze elaborate da processo esterno
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl_Default}}/request/:request_id/set-acquired"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
params:
|
||||
- name: request_id
|
||||
value: "7007"
|
||||
type: path
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: outcome
|
||||
value: OK
|
||||
description: OK, KO
|
||||
- name: resultCode
|
||||
value: VAL
|
||||
description: 'possibili valori: VAL("Validata"), IMP("Importata"), IMPW("Impostata con warning"), KO("Rifiutata")'
|
||||
- name: resultDescription
|
||||
value: ""
|
||||
description: descrizione esito processo esterno
|
||||
disabled: true
|
||||
- name: resultReceiptId
|
||||
value: "123"
|
||||
description: id pratica processo esterno di riferimento
|
||||
- name: resultTimestamp
|
||||
value: ""
|
||||
description: timestamp di riferimento dell'elaborazione pratica dal processo esterno in formato standard ISO 8601. Se non impostata viene inizializzata con la data/ora server corrente
|
||||
disabled: true
|
||||
- name: properties
|
||||
value: ""
|
||||
description: mappa chiave,valore/i aggiuntivo/i in formato json
|
||||
disabled: true
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Set Request Status - Success
|
||||
request:
|
||||
url: "{{elixFormsApiUrl}}/request/:request_id/set-status/v1"
|
||||
method: POST
|
||||
params:
|
||||
- name: request_id
|
||||
value: "6085"
|
||||
type: path
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: requestStatus
|
||||
value: SUBMITTED
|
||||
description: "nuovo stato della request, possibili valori: SUBMITTED, PROCESSED"
|
||||
- name: swfOptionKey
|
||||
value: "1"
|
||||
description: indice del valore associato al SWF che si desidera impostare (???)
|
||||
- name: properties
|
||||
value: '[{"key":"COL0004","value":"cambio stato manuale"},{"key":"COL0002","value":"31-03-2025"}]'
|
||||
description: mappa chiave,valore/i aggiuntivo/i in formato json (url-encoding richiesto in UTF-8)
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/json;charset=UTF-8
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
- name: transfer-encoding
|
||||
value: chunked
|
||||
- name: vary
|
||||
value: Accept-Encoding
|
||||
- name: content-encoding
|
||||
value: gzip
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "Report with id 20219 was generated",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.0.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "Report with id 20219 was generated",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "a0cb7057-f4ea-4a12-9cb5-23cac7b651fe",
|
||||
"version": "3.7.0.6",
|
||||
"acquiredRequestReceiptId": "20219",
|
||||
"acquiredRequestsSize": 1
|
||||
}
|
||||
}
|
||||
|
||||
docs: |-
|
||||
Viene ritornato l'esito dell'operazione di storicizzazione si elixForms©.
|
||||
La ricezione di "ok" o "ko" provocherà una decisione nel workflow semplice (analogo a quello di elixFlow©) in base a quanto disposto in
|
||||
elixForms per il modulo.
|
||||
Esempio="OK","VAL","..." imposta lo stato di workflow semplice corrispondente imposta lo step ad "evasa" notifica email
|
||||
Esempio="KO","KO","..." imposta lo stato di workflow semplice corrispondente non cambia lo stato dello step
|
||||
@@ -0,0 +1,150 @@
|
||||
info:
|
||||
name: Clone Request
|
||||
type: http
|
||||
seq: 8
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl_Default}}/request/:request_id/clone?username={{elixFormsApiUsername}}"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-key
|
||||
value: "{{elixFormsWsAuthenticationToken}}"
|
||||
- name: x-api-username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
- name: request_id
|
||||
value: "7012"
|
||||
type: path
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"clientUsername\": \"MMMPPL74T17E463A\", // string, <(*) username dell'utente che richiede la clonazione>\r
|
||||
|
||||
\ \"cloningReason\": \"Request cloning test\", // string, <(*) motivazione della copia>\r
|
||||
|
||||
\ \"cloningDate\": {{elixRequestCloningDate}}, // dateTime, <(*) data in formato ISO: \"2021-05-18T00:00:00\">\r
|
||||
|
||||
\ \"cloneLogId\": null // number, <generic id dello storico di clonazione eventualmente da aggiornare; se non specificato viene automaticamente generato un nuovo log (Scheda \"RW2 - Clone\")>\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: "var currentDate = new Date().toISOString();\r
|
||||
|
||||
\r
|
||||
|
||||
console.log(currentDate);\r
|
||||
|
||||
\r
|
||||
|
||||
bru.setVar(\"elixRequestCloningDate\", JSON.stringify(currentDate));"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Clone Request - Error
|
||||
request:
|
||||
url: "{{elixFormsApiUrl_Default}}/request/:request_id/clone?username={{elixFormsApiUsername}}"
|
||||
method: POST
|
||||
headers:
|
||||
- name: x-api-key
|
||||
value: "{{elixFormsWsAuthenticationToken}}"
|
||||
- name: x-api-username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
- name: request_id
|
||||
value: "7007"
|
||||
type: path
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"clientUsername\": \"MMMPPL74T17E463A\", // string, <(*) username dell'utente che richiede la clonazione>\r
|
||||
|
||||
\ \"cloningReason\": \"Request cloning test\", // string, <(*) motivazione della copia>\r
|
||||
|
||||
\ \"cloningDate\": {{elixRequestCloningDate}}, // dateTime, <(*) data in formato ISO: \"2021-05-18T00:00:00\">\r
|
||||
|
||||
\ \"cloneLogId\": null // number, <generic id dello storico di clonazione eventualmente da aggiornare; se non specificato viene automaticamente generato un nuovo log (Scheda \"RW2 - Clone\")>\r
|
||||
|
||||
}"
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/json;charset=UTF-8
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
- name: transfer-encoding
|
||||
value: chunked
|
||||
- name: vary
|
||||
value: Accept-Encoding
|
||||
- name: content-encoding
|
||||
value: gzip
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "ERROR",
|
||||
"description": "Unmanaged exception thrown. Contact technical support.",
|
||||
"complete": false,
|
||||
"globalStatus": "ERROR",
|
||||
"resultNumber": -1,
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"complete": false,
|
||||
"serviceVersion": "V1",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "500",
|
||||
"description": "[Internal Server Error] - IllegalArgumentException: No entity manager defined for named query \"lookupGalleryInfoByMetadataIdAndSchemaField\" of class \"com.anthesi.elixforms.core.entity.multitenancy.upload.GalleryInfoEntity\"",
|
||||
"detailStatus": "ERROR"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "472dd247-f034-43c1-9633-32ea5cd5d817",
|
||||
"version": "3.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
docs: La chiamata assume che l'istanza in oggetto non sia in corso di compilazione.
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+124
@@ -0,0 +1,124 @@
|
||||
info:
|
||||
name: Set Request Status (OLD)
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/request/:request_id/set-status/v1"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
params:
|
||||
- name: request_id
|
||||
value: "6085"
|
||||
type: path
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: requestStatus
|
||||
value: SUBMITTED
|
||||
description: "nuovo stato della request, possibili valori: SUBMITTED, PROCESSED"
|
||||
- name: swfOptionKey
|
||||
value: "1"
|
||||
description: indice del valore associato al SWF che si desidera impostare (???)
|
||||
- name: properties
|
||||
value: '[{"key":"COL0004","value":"cambio stato manuale"},{"key":"COL0002","value":"31-03-2025"}]'
|
||||
description: mappa chiave,valore/i aggiuntivo/i in formato json (url-encoding richiesto in UTF-8)
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Set Request Status - Success
|
||||
request:
|
||||
url: "{{elixFormsApiUrl}}/request/:request_id/set-status/v1"
|
||||
method: POST
|
||||
params:
|
||||
- name: request_id
|
||||
value: "6085"
|
||||
type: path
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: requestStatus
|
||||
value: SUBMITTED
|
||||
description: "nuovo stato della request, possibili valori: SUBMITTED, PROCESSED"
|
||||
- name: swfOptionKey
|
||||
value: "1"
|
||||
description: indice del valore associato al SWF che si desidera impostare (???)
|
||||
- name: properties
|
||||
value: '[{"key":"COL0004","value":"cambio stato manuale"},{"key":"COL0002","value":"31-03-2025"}]'
|
||||
description: mappa chiave,valore/i aggiuntivo/i in formato json (url-encoding richiesto in UTF-8)
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/json;charset=UTF-8
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
- name: transfer-encoding
|
||||
value: chunked
|
||||
- name: vary
|
||||
value: Accept-Encoding
|
||||
- name: content-encoding
|
||||
value: gzip
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "Report with id 20219 was generated",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.0.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "Report with id 20219 was generated",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "a0cb7057-f4ea-4a12-9cb5-23cac7b651fe",
|
||||
"version": "3.7.0.6",
|
||||
"acquiredRequestReceiptId": "20219",
|
||||
"acquiredRequestsSize": 1
|
||||
}
|
||||
}
|
||||
+131
@@ -0,0 +1,131 @@
|
||||
info:
|
||||
name: "Set Request Status: Register result (OLD)"
|
||||
type: http
|
||||
seq: 3
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/request/:request_id/swf/columns;{{elixRegisterResultColumns}}/v1/?username={{elixFormsApiUsername}}"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
- name: request_id
|
||||
value: "6085"
|
||||
type: path
|
||||
body:
|
||||
type: form-urlencoded
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: "Set Request Status: Register result - Success"
|
||||
request:
|
||||
url: "{{elixFormsApiUrl}}/request/:request_id/swf/columns;{{elixRegisterResultColumns}}/v1/?username={{elixFormsApiUsername}}"
|
||||
method: POST
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
- name: request_id
|
||||
value: "6085"
|
||||
type: path
|
||||
body:
|
||||
type: form-urlencoded
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/json;charset=UTF-8
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
- name: transfer-encoding
|
||||
value: chunked
|
||||
- name: vary
|
||||
value: Accept-Encoding
|
||||
- name: content-encoding
|
||||
value: gzip
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "Report with id 26507 was generated",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "Report with id 26507 was generated",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "b5cb8917-5aeb-4497-a619-64e3b9d73148",
|
||||
"version": "3.9.2.17",
|
||||
"acquiredRequestReceiptId": "26507",
|
||||
"acquiredRequestsSize": 1
|
||||
}
|
||||
}
|
||||
|
||||
docs: |-
|
||||
The elixRegisterResultColumns variable must be built like the following:
|
||||
|
||||
- one index=value couple for every field in the SWF schema that must be updated, where index is the "name" of the schema field (e.g.: COL0003, if the field is found in the SWF schema) and the value is the string content that must be assigned
|
||||
|
||||
- each couple must be separated by a semi-period (\`;\` character)
|
||||
|
||||
|
||||
For example, suppose the request has a SWF schema with ID 356, containing:
|
||||
|
||||
- State = COL0001
|
||||
|
||||
- Date = COL0002
|
||||
|
||||
- Email = COL0003
|
||||
|
||||
- Message = COL0004
|
||||
|
||||
|
||||
If you want to change the CURRENT state's date and message values, you will put into the variable the following value:
|
||||
|
||||
`COL0002=31-03-2025;COL0004=this is the new message`
|
||||
|
||||
Keep in mind that Postman automatically encodes the parameter, so it's allowed to use spaces and other symbols (maybe?).
|
||||
@@ -0,0 +1,128 @@
|
||||
info:
|
||||
name: Set Request Status
|
||||
type: http
|
||||
seq: 5
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl_Default}}/request/:request_id/set-status"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
params:
|
||||
- name: request_id
|
||||
value: "6085"
|
||||
type: path
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: requestStatus
|
||||
value: SUBMITTED
|
||||
description: "nuovo stato della request, possibili valori: SUBMITTED, PROCESSED"
|
||||
- name: swfOptionKey
|
||||
value: "1"
|
||||
description: indice del valore associato al SWF che si desidera impostare
|
||||
- name: properties
|
||||
value: '[{"key":"COL0004","value":"cambio stato manuale"},{"key":"COL0002","value":"31-03-2025"}]'
|
||||
description: mappa chiave,valore/i aggiuntivo/i in formato json (url-encoding richiesto in UTF-8)
|
||||
- name: requestStatusDescription
|
||||
value: ""
|
||||
description: descrizione "human readable" della motivazione del passaggio di stato
|
||||
disabled: true
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Set Request Status - Success
|
||||
request:
|
||||
url: "{{elixFormsApiUrl_Default}}/request/:request_id/set-status"
|
||||
method: POST
|
||||
params:
|
||||
- name: request_id
|
||||
value: "6085"
|
||||
type: path
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: requestStatus
|
||||
value: SUBMITTED
|
||||
description: "nuovo stato della request, possibili valori: SUBMITTED, PROCESSED"
|
||||
- name: swfOptionKey
|
||||
value: "1"
|
||||
description: indice del valore associato al SWF che si desidera impostare
|
||||
- name: properties
|
||||
value: '[{"key":"COL0004","value":"cambio stato manuale"},{"key":"COL0002","value":"31-03-2025"}]'
|
||||
description: mappa chiave,valore/i aggiuntivo/i in formato json (url-encoding richiesto in UTF-8)
|
||||
- name: requestStatusDescription
|
||||
value: ""
|
||||
description: descrizione "human readable" della motivazione del passaggio di stato
|
||||
disabled: true
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/it.elixforms.api.v1.2+json;charset=UTF-8
|
||||
- name: content-length
|
||||
value: "478"
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
body:
|
||||
type: text
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "Report with id 26880 was generated",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "Report with id 26880 was generated",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "4fb5e314-8765-4a51-8666-20568d50bade",
|
||||
"version": "3.9.2.17",
|
||||
"acquiredRequestReceiptId": "26880",
|
||||
"acquiredRequestsSize": 1
|
||||
}
|
||||
}
|
||||
+127
@@ -0,0 +1,127 @@
|
||||
info:
|
||||
name: Update Request SWF values
|
||||
type: http
|
||||
seq: 6
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl_Default}}/request/:request_id/swf/columns;{{elixRegisterResultColumns}}?username={{elixFormsApiUsername}}"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
- name: request_id
|
||||
value: "6085"
|
||||
type: path
|
||||
body:
|
||||
type: form-urlencoded
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Update Request SWF values - Success
|
||||
request:
|
||||
url: "{{elixFormsApiUrl_Default}}/request/:request_id/swf/columns;{{elixRegisterResultColumns}}?username={{elixFormsApiUsername}}"
|
||||
method: POST
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
- name: request_id
|
||||
value: "6085"
|
||||
type: path
|
||||
body:
|
||||
type: form-urlencoded
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/it.elixforms.api.v1.2+json;charset=UTF-8
|
||||
- name: content-length
|
||||
value: "478"
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
body:
|
||||
type: text
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "Report with id 26883 was generated",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "Report with id 26883 was generated",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "87845b63-e710-4dff-a37d-cc23229ce6aa",
|
||||
"version": "3.9.2.17",
|
||||
"acquiredRequestReceiptId": "26883",
|
||||
"acquiredRequestsSize": 1
|
||||
}
|
||||
}
|
||||
|
||||
docs: |-
|
||||
The elixRegisterResultColumns variable must be built like the following:
|
||||
|
||||
- one index=value couple for every field in the SWF schema that must be updated, where index is the "name" of the schema field (e.g.: COL0003, if the field is found in the SWF schema) and the value is the string content that must be assigned
|
||||
|
||||
- each couple must be separated by a semi-period (\`;\` character)
|
||||
|
||||
|
||||
For example, suppose the request has a SWF schema with ID 356, containing:
|
||||
|
||||
- State = COL0001
|
||||
|
||||
- Date = COL0002
|
||||
|
||||
- Email = COL0003
|
||||
|
||||
- Message = COL0004
|
||||
|
||||
|
||||
If you want to change the CURRENT state's date and message values, you will put into the variable the following value:
|
||||
|
||||
`COL0002=31-03-2025;COL0004=this is the new message`
|
||||
|
||||
Keep in mind that Postman automatically encodes the parameter, so it's allowed to use spaces and other symbols (maybe?).
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: Cambio stato e/o integrazione
|
||||
type: folder
|
||||
seq: 7
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
@@ -0,0 +1,200 @@
|
||||
info:
|
||||
name: Invio comunicazione formale
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/request/:request_id/user-formal-communication"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
params:
|
||||
- name: request_id
|
||||
value: "7012"
|
||||
type: path
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"message\": \"Test message\",\r
|
||||
|
||||
\ \"documentType\": \"Autorizzazione\", // <tipo di documento> La corrispondente funzionalità in elixForms prevede un elenco preso da una property di piattaforma (globalparam.formalcommunications.available.list , i cui valori, di default possono essere i seguenti: Appuntamento,Autorizzazione,Comunicazione,Esito,Licenza,Permesso,Richiesta di integrazione\r
|
||||
|
||||
\ \"documentNumber\": \"123123_AZ\",\r
|
||||
|
||||
\ \"documentDate\": {{elixFormalCommunicationDate}},\r
|
||||
|
||||
\ \"attachments\": [ // da 0 a 5 max\r
|
||||
|
||||
\ /*\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"attachFile\": \"<Base 64 encoded string>\", // <file> rappresentato da una stringa in formato Base64, encoding del byte array del file originale in UTF-8\r
|
||||
|
||||
\ \"attachMimeType\": \"application/pdf\", // <mime type> del documento allegato. Se vuoto viene impostato come application/octet-steam\r
|
||||
|
||||
\ \"attachFileName\": \"test.pdf\", // <nome del file> da assengare al file in upload\r
|
||||
|
||||
\ \"attachSize\": null // <dimensione del file> dichiarata. Se non specificato, viene calcolato in funzione del file ricevuto\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"attachFile\": \"<Base 64 encoded string>\",\r
|
||||
|
||||
\ \"attachMimeType\": \"image/jpeg\",\r
|
||||
|
||||
\ \"attachFileName\": \"test1.jpeg\"\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ */\r
|
||||
|
||||
\ ],\r
|
||||
|
||||
\ \"senderUsername\": \"MMMPPL74T17E463A\" // <username> di un utente presente sul DB elixforms (isi_users) da indicare come mittente; nel caso non sia specificato, verrà forzato con lo username in header \"x-api-username\" titolare di accesso al servizio, ma anch'esso deve essere presente sul DB elixforms (isi_users).\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: "var currentDate = new Date().toISOString();\r
|
||||
|
||||
\r
|
||||
|
||||
console.log(currentDate);\r
|
||||
|
||||
\r
|
||||
|
||||
bru.setVar(\"elixFormalCommunicationDate\", JSON.stringify(currentDate));"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Invio comunicazione formale - Success
|
||||
request:
|
||||
url: "{{elixFormsApiUrl}}/request/:request_id/user-formal-communication"
|
||||
method: POST
|
||||
headers:
|
||||
- name: x-api-username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
params:
|
||||
- name: request_id
|
||||
value: "7012"
|
||||
type: path
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"message\": \"Test message\",\r
|
||||
|
||||
\ \"documentType\": \"Autorizzazione\", // <tipo di documento> La corrispondente funzionalità in elixForms prevede un elenco preso da una property di piattaforma (globalparam.formalcommunications.available.list , i cui valori, di default possono essere i seguenti: Appuntamento,Autorizzazione,Comunicazione,Esito,Licenza,Permesso,Richiesta di integrazione\r
|
||||
|
||||
\ \"documentNumber\": \"123123_AZ\",\r
|
||||
|
||||
\ \"documentDate\": {{elixFormalCommunicationDate}},\r
|
||||
|
||||
\ \"attachments\": [ // da 0 a 5 max\r
|
||||
|
||||
\ /*\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"attachFile\": \"<Base 64 encoded string>\", // <file> rappresentato da una stringa in formato Base64, encoding del byte array del file originale in UTF-8\r
|
||||
|
||||
\ \"attachMimeType\": \"application/pdf\", // <mime type> del documento allegato. Se vuoto viene impostato come application/octet-steam\r
|
||||
|
||||
\ \"attachFileName\": \"test.pdf\", // <nome del file> da assengare al file in upload\r
|
||||
|
||||
\ \"attachSize\": null // <dimensione del file> dichiarata. Se non specificato, viene calcolato in funzione del file ricevuto\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"attachFile\": \"<Base 64 encoded string>\",\r
|
||||
|
||||
\ \"attachMimeType\": \"image/jpeg\",\r
|
||||
|
||||
\ \"attachFileName\": \"test1.jpeg\"\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ */\r
|
||||
|
||||
\ ],\r
|
||||
|
||||
\ \"senderUsername\": \"MMMPPL74T17E463A\" // <username> di un utente presente sul DB elixforms (isi_users) da indicare come mittente; nel caso non sia specificato, verrà forzato con lo username in header \"x-api-username\" titolare di accesso al servizio, ma anch'esso deve essere presente sul DB elixforms (isi_users).\r
|
||||
|
||||
}"
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/it.elixforms.api.v1.2+json;charset=UTF-8
|
||||
- name: content-length
|
||||
value: "424"
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
body:
|
||||
type: text
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "24b41fec-d621-40b5-8907-cf08fef2ece3",
|
||||
"version": "3.9.2.17",
|
||||
"userFormalCommunicationData": 1,
|
||||
"userFormalCommunicationDataId": 26936
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: Comunicazioni formali
|
||||
type: folder
|
||||
seq: 8
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
+196
@@ -0,0 +1,196 @@
|
||||
info:
|
||||
name: Proposta CCT determina contratti conto terzi NO EFTL
|
||||
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: "10971"
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"userDocument\": \"{{elixBase64EftlDocument}}\", // see the pre-request script\r
|
||||
|
||||
\ \"userContext\": {\r
|
||||
|
||||
\ \"lang\": \"IT\",\r
|
||||
|
||||
\ \"tipologiePunto1\": \"CRCT_RA;CRCT_RAS;CRCT_RB\",\r
|
||||
|
||||
\ \"tipologiePunto2\": \"SERV_CON\",\r
|
||||
|
||||
\ \"tipologiePunto3\": \"FORM_COM\",\r
|
||||
|
||||
\ \"tipologiePunto4\": \"\"\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: "// Copy-pasta your EFTL document below inside the template literals (`)\r
|
||||
|
||||
var eftlDocumentToBeProcessed = `\r
|
||||
|
||||
[EFTL]\r
|
||||
|
||||
[VAR name=\"corrispettivo\" type=\"string\"][TAG]SCHEMAID,341,COL0094,IUQOID, , [/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"presenzaOneri\" type=\"boolean\"][TAG]SCHEMAID,341,COL0084,IUQOID, , [/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"mostraRitenute\" type=\"string\"][TAG]SCHEMAID,341,COL0090,IUQOID, , [/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"ulterioreRitenuta2Max\" type=\"string\"][TAG]SCHEMAID,337,COL0017,IUQOID, , [/TAG][/VAR]\r
|
||||
|
||||
<html>\r
|
||||
|
||||
\ <head>\r
|
||||
|
||||
\ <style>\r
|
||||
|
||||
\ h2 {\r
|
||||
|
||||
\ text-align: center;\r
|
||||
|
||||
\ font-size: 14pt;\r
|
||||
|
||||
\ font-weight: bold;\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ p {\r
|
||||
|
||||
\ text-align: justify;\r
|
||||
|
||||
\ font-size: 12pt;\r
|
||||
|
||||
\ line-height: 1.5;\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ ol {\r
|
||||
|
||||
\ text-align: justify;\r
|
||||
|
||||
\ font-size: 12pt;\r
|
||||
|
||||
\ line-height: 1.5;\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ .firma {\r
|
||||
|
||||
\ float: right;\r
|
||||
|
||||
\ margin: 2em;\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ </style>\r
|
||||
|
||||
\ </head>\r
|
||||
|
||||
\ <body>\r
|
||||
|
||||
\ <!-- Header con logo UniPR come nel template standard -->\r
|
||||
|
||||
\r
|
||||
|
||||
\ <h2>IL DIRIGENTE</h2>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>visti lo Statuto dell'Università degli Studi di Parma ed il Regolamento Generale di Ateneo;</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>visto il Regolamento di Ateneo per l'amministrazione, la finanza e la contabilità, emanato con Decreto Rettorale n. 1674/2024, prot. 198495 del 17 luglio 2024;</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>visto il Regolamento sulla disciplina delle attività di ricerca, consulenza e didattica e alta formazione eseguite dall'Università degli Studi di Parma a fronte di contratti o accordi con soggetti terzi, emanato con Decreto Rettorale n. 2298/2024, prot. n. 264866 del 4 ottobre 2024;</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>visto il Regolamento dell'Università degli Studi di Parma in materia di brevetti e tutela dell'invenzione, emanato con Decreto Rettorale n. 1033/2024, prot. n. 113244 del 30 aprile 2024;</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <!-- <p>preso atto che, con nota assunta a Prot. n. ___, il [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG] ha trasmesso:</p> -->\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>richiamato integralmente il testo del contratto da stipularsi tra l'Università degli Studi di Parma, nell'interesse del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG], avente ad oggetto [TAG]SCHEMAID,341,COL0005,IUQOID, , [/TAG] sotto la responsabilità scientifica di [TAG]SCHEMAID,341,COL0049,IUQOID, , [/TAG], con durata di mesi [TAG]SCHEMAID,341,COL0008,IUQOID, , [/TAG], per un corrispettivo pari a euro [TAG]SCHEMAID,341,COL0094,IUQOID, , [/TAG];</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>ritenuto, per quanto premesso, di aderire alla richiesta di [TAG]SCHEMAID,341,COL0049,IUQOID, , [/TAG] di approvazione della stipula del contratto con [TAG]SCHEMAID,341,COL0086,IUQOID, , [/TAG] per [TAG]SCHEMAID,341,COL0005,IUQOID, , [/TAG] in premessa, ai sensi e per gli effetti di quanto previsto dal sopra citato Regolamento sulla disciplina delle attività di ricerca, consulenza, didattica e alta formazione eseguite dall'Università degli Studi di Parma a fronte di contratti o accordi con soggetti terzi con riferimento all'Art.2, punto A;</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <h2>determina</h2>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <ol>\r
|
||||
|
||||
\ <li>di approvare la stipula del contratto tra [TAG]SCHEMAID,341,COL0086,IUQOID, , [/TAG] e l'Università degli Studi di Parma, nell'interesse del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG], avente ad oggetto [TAG]SCHEMAID,341,COL0005,IUQOID, , [/TAG] sotto la responsabilità scientifica di [TAG]SCHEMAID,341,COL0049,IUQOID, , [/TAG], con durata di mesi [TAG]SCHEMAID,341,COL0008,IUQOID, , [/TAG];</li>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <li>di autorizzare l'introito del corrispettivo pari ad euro [TAG]SCHEMAID,341,COL0094,IUQOID, , [/TAG] che verrà erogato da [TAG]SCHEMAID,341,COL0086,IUQOID, , [/TAG] a favore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG][IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0090,IUQOID, , [/TAG] != \"N\" %]--][% mostraRitenute != \"N\" %][/CONDITION][THEN], da assoggettare alle ritenute secondo le modalità previste dall'art. 6, comma 1 del \"Regolamento sulla disciplina delle attività di ricerca, consulenza e didattica e alta formazione eseguite dall'Università degli Studi di Parma a fronte di contratti o accordi con soggetti terzi\" nella misura del 3% (euro [TAG]SCHEMAID,337,COL0014,IUQOID, , [/TAG]) per l'Amministrazione di Ateneo, del 4% (euro [TAG]SCHEMAID,337,COL0015,IUQOID, , [/TAG]) per il Fondo Comune di Ateneo e del 1% (euro [TAG]SCHEMAID,337,COL0016,IUQOID, , [/TAG]) per l'incremento dei fondi di cui agli artt. 119, comma 2, punto a) e 121, comma 2, punto a) del CCNL di comparto per l'attuazione dell'art. 110, comma 2 del medesimo contratto[IF][CONDITION][!--[% [TAG]SCHEMAID,337,COL0017,IUQOID, , [/TAG] != \"\" && [TAG]SCHEMAID,337,COL0017,IUQOID, , [/TAG] > 0 %]--][% ulterioreRitenuta2Max > 0 %][/CONDITION][THEN] e del [TAG]SCHEMAID,337,COL0057,IUQOID, , [/TAG]% (euro [TAG]SCHEMAID,337,COL0063,IUQOID, , [/TAG]) a favore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG][/THEN][/IF][/THEN][/IF];</li>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <li>di dare mandato al Direttore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG] per ogni adempimento relativo.</li>\r
|
||||
|
||||
\ </ol>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <div class=\"firma\">\r
|
||||
|
||||
\ <p style=\"text-align: center;\">Parma, li [TAG]SCHEMAID,340,COL0022,IUQOID, , [/TAG]</p>\r
|
||||
|
||||
\ <p style=\"text-align: center;\">[TAG]SCHEMAID,341,COL0093,IUQOID, , [/TAG]</p>\r
|
||||
|
||||
\ <p style=\"text-align: center;\">Firmato digitalmente ai sensi del D.Lgs. n. 82/2005</p>\r
|
||||
|
||||
\ </div>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <!-- Footer con logo UniPR come nel template standard -->\r
|
||||
|
||||
\ </body>\r
|
||||
|
||||
</html>\r
|
||||
|
||||
[/EFTL]\r
|
||||
|
||||
`;\r
|
||||
|
||||
\r
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);\r
|
||||
|
||||
\r
|
||||
|
||||
bru.setVar(\"elixBase64EftlDocument\", base64EncodedDocument);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+196
@@ -0,0 +1,196 @@
|
||||
info:
|
||||
name: Proposta CCT determina contratti conto terzi
|
||||
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: "9717"
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"userDocument\": \"{{elixBase64EftlDocument}}\", // see the pre-request script\r
|
||||
|
||||
\ \"userContext\": {\r
|
||||
|
||||
\ \"lang\": \"IT\",\r
|
||||
|
||||
\ \"tipologiePunto1\": \"CRCT_RA;CRCT_RAS;CRCT_RB\",\r
|
||||
|
||||
\ \"tipologiePunto2\": \"SERV_CON\",\r
|
||||
|
||||
\ \"tipologiePunto3\": \"FORM_COM\",\r
|
||||
|
||||
\ \"tipologiePunto4\": \"\"\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: "// Copy-pasta your EFTL document below inside the template literals (`)\r
|
||||
|
||||
var eftlDocumentToBeProcessed = `\r
|
||||
|
||||
[EFTL]\r
|
||||
|
||||
[VAR name=\"corrispettivo\" type=\"string\"][TAG]SCHEMAID,341,COL0094,IUQOID, , [/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"presenzaOneri\" type=\"boolean\"][TAG]SCHEMAID,341,COL0084,IUQOID, , [/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"mostraRitenute\" type=\"string\"][TAG]SCHEMAID,341,COL0090,IUQOID, , [/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"ulterioreRitenuta2Max\" type=\"string\"][TAG]SCHEMAID,337,COL0057,IUQOID, , [/TAG][/VAR]\r
|
||||
|
||||
<html>\r
|
||||
|
||||
\ <head>\r
|
||||
|
||||
\ <style>\r
|
||||
|
||||
\ h2 {\r
|
||||
|
||||
\ text-align: center;\r
|
||||
|
||||
\ font-size: 14pt;\r
|
||||
|
||||
\ font-weight: bold;\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ p {\r
|
||||
|
||||
\ text-align: justify;\r
|
||||
|
||||
\ font-size: 12pt;\r
|
||||
|
||||
\ line-height: 1.5;\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ ol {\r
|
||||
|
||||
\ text-align: justify;\r
|
||||
|
||||
\ font-size: 12pt;\r
|
||||
|
||||
\ line-height: 1.5;\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ .firma {\r
|
||||
|
||||
\ float: right;\r
|
||||
|
||||
\ margin: 2em;\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ </style>\r
|
||||
|
||||
\ </head>\r
|
||||
|
||||
\ <body>\r
|
||||
|
||||
\ <!-- Header con logo UniPR come nel template standard -->\r
|
||||
|
||||
\r
|
||||
|
||||
\ <h2>IL DIRIGENTE</h2>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>visti lo Statuto dell'Università degli Studi di Parma ed il Regolamento Generale di Ateneo;</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>visto il Regolamento di Ateneo per l'amministrazione, la finanza e la contabilità, emanato con Decreto Rettorale n. 1674/2024, prot. 198495 del 17 luglio 2024;</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>visto il Regolamento sulla disciplina delle attività di ricerca, consulenza e didattica e alta formazione eseguite dall'Università degli Studi di Parma a fronte di contratti o accordi con soggetti terzi, emanato con Decreto Rettorale n. 2298/2024, prot. n. 264866 del 4 ottobre 2024;</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>visto il Regolamento dell'Università degli Studi di Parma in materia di brevetti e tutela dell'invenzione, emanato con Decreto Rettorale n. 1033/2024, prot. n. 113244 del 30 aprile 2024;</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <!-- <p>preso atto che, con nota assunta a Prot. n. ___, il [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG] ha trasmesso:</p> -->\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>richiamato integralmente il testo del contratto da stipularsi tra l'Università degli Studi di Parma, nell'interesse del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG], avente ad oggetto [TAG]SCHEMAID,341,COL0005,IUQOID, , [/TAG] sotto la responsabilità scientifica di [TAG]SCHEMAID,341,COL0049,IUQOID, , [/TAG], con durata di mesi [TAG]SCHEMAID,341,COL0008,IUQOID, , [/TAG], per un corrispettivo pari a euro [TAG]SCHEMAID,341,COL0094,IUQOID, , [/TAG];</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>ritenuto, per quanto premesso, di aderire alla richiesta di [TAG]SCHEMAID,341,COL0049,IUQOID, , [/TAG] di approvazione della stipula del contratto con [TAG]SCHEMAID,341,COL0086,IUQOID, , [/TAG] per [TAG]SCHEMAID,341,COL0005,IUQOID, , [/TAG] in premessa, ai sensi e per gli effetti di quanto previsto dal sopra citato Regolamento sulla disciplina delle attività di ricerca, consulenza, didattica e alta formazione eseguite dall'Università degli Studi di Parma a fronte di contratti o accordi con soggetti terzi con riferimento all'Art.2, punto A;</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <h2>determina</h2>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <ol>\r
|
||||
|
||||
\ <li>di approvare la stipula del contratto tra [TAG]SCHEMAID,341,COL0086,IUQOID, , [/TAG] e l'Università degli Studi di Parma, nell'interesse del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG], avente ad oggetto [TAG]SCHEMAID,341,COL0005,IUQOID, , [/TAG] sotto la responsabilità scientifica di [TAG]SCHEMAID,341,COL0049,IUQOID, , [/TAG], con durata di mesi [TAG]SCHEMAID,341,COL0008,IUQOID, , [/TAG];</li>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <li>di autorizzare l'introito del corrispettivo pari ad euro [TAG]SCHEMAID,341,COL0094,IUQOID, , [/TAG] che verrà erogato da [TAG]SCHEMAID,341,COL0086,IUQOID, , [/TAG] a favore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG][IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0090,IUQOID, , [/TAG] != \"N\" %]--][% mostraRitenute != \"N\" %][/CONDITION][THEN], da assoggettare alle ritenute di cui all'art. 6, comma 1 del \"Regolamento sulla disciplina delle attività di ricerca, consulenza e didattica e alta formazione eseguite dall'Università degli Studi di Parma a fronte di contratti o accordi con soggetti terzi\" nella misura del 3% (euro [TAG]SCHEMAID,337,COL0014,IUQOID, , [/TAG]) per l'Amministrazione di Ateneo, del 4% (euro [TAG]SCHEMAID,337,COL0015,IUQOID, , [/TAG]) per il Fondo Comune di Ateneo e del 1% (euro [TAG]SCHEMAID,337,COL0016,IUQOID, , [/TAG]) per l'incremento dei fondi di cui agli artt. 119, comma 2, punto a) e 121, comma 2, punto a) del CCNL di comparto per l'attuazione dell'art. 110, comma 2 del medesimo contratto[IF][CONDITION][!--[% [TAG]SCHEMAID,337,COL0017,IUQOID, , [/TAG] != \"\" && [TAG]SCHEMAID,337,COL0017,IUQOID, , [/TAG] > 0 %]--][% ulterioreRitenuta2Max > 0 %][/CONDITION][THEN] e del [TAG]SCHEMAID,337,COL0057,IUQOID, , [/TAG]% (euro [TAG]SCHEMAID,337,COL0063,IUQOID, , [/TAG]) a favore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG][/THEN][/IF][/THEN][/IF];</li>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <li>di dare mandato al Direttore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG] per ogni adempimento relativo.</li>\r
|
||||
|
||||
\ </ol>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <div class=\"firma\">\r
|
||||
|
||||
\ <p style=\"text-align: center;\">Parma, li [TAG]SCHEMAID,340,COL0022,IUQOID, , [/TAG]</p>\r
|
||||
|
||||
\ <p style=\"text-align: center;\">[TAG]SCHEMAID,341,COL0093,IUQOID, , [/TAG]</p>\r
|
||||
|
||||
\ <p style=\"text-align: center;\">Firmato digitalmente ai sensi del D.Lgs. n. 82/2005</p>\r
|
||||
|
||||
\ </div>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <!-- Footer con logo UniPR come nel template standard -->\r
|
||||
|
||||
\ </body>\r
|
||||
|
||||
</html>\r
|
||||
|
||||
[/EFTL]\r
|
||||
|
||||
`;\r
|
||||
|
||||
\r
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);\r
|
||||
|
||||
\r
|
||||
|
||||
bru.setVar(\"elixBase64EftlDocument\", base64EncodedDocument);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+520
File diff suppressed because one or more lines are too long
+224
@@ -0,0 +1,224 @@
|
||||
info:
|
||||
name: Proposta CCT determina ex art 15
|
||||
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: "9717"
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"userDocument\": \"{{elixBase64EftlDocument}}\", // see the pre-request script\r
|
||||
|
||||
\ \"userContext\": {\r
|
||||
|
||||
\ \"lang\": \"IT\",\r
|
||||
|
||||
\ \"tipologiePunto1\": \"\",\r
|
||||
|
||||
\ \"tipologiePunto2\": \"\",\r
|
||||
|
||||
\ \"tipologiePunto3\": \"CCS_IST_RA;CCS_IST_RAS;CCS_IST_RB\",\r
|
||||
|
||||
\ \"tipologiePunto4\": \"\",\r
|
||||
|
||||
\ \"tipologiePunto5\": \"MTA;NDA\"\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: "// Copy-pasta your EFTL document below inside the template literals (`)\r
|
||||
|
||||
var eftlDocumentToBeProcessed = `\r
|
||||
|
||||
[EFTL]\r
|
||||
|
||||
[VAR name=\"corrispettivo\" type=\"string\"][TAG]SCHEMAID,341,COL0094,IUQOID, , [/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"speseGenerali\" type=\"string\"][TAG]SCHEMAID,341,COL0051,IUQOID, , [/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"presenzaOneri\" type=\"boolean\"][TAG]SCHEMAID,341,COL0084,IUQOID, , [/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"mostraRitenute\" type=\"string\"][TAG]SCHEMAID,341,COL0090,IUQOID, , [/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"ulterioreRitenuta2Max\" type=\"string\"][TAG]SCHEMAID,337,COL0067,IUQOID, , [/TAG][/VAR]\r
|
||||
|
||||
<html>\r
|
||||
|
||||
\ <head>\r
|
||||
|
||||
\ <style>\r
|
||||
|
||||
\ h2 {\r
|
||||
|
||||
\ text-align: center;\r
|
||||
|
||||
\ font-size: 14pt;\r
|
||||
|
||||
\ font-weight: bold;\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ p {\r
|
||||
|
||||
\ text-align: justify;\r
|
||||
|
||||
\ font-size: 12pt;\r
|
||||
|
||||
\ line-height: 1.5;\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ ol {\r
|
||||
|
||||
\ text-align: justify;\r
|
||||
|
||||
\ font-size: 12pt;\r
|
||||
|
||||
\ line-height: 1.5;\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ .firma {\r
|
||||
|
||||
\ float: right;\r
|
||||
|
||||
\ margin: 2em;\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ </style>\r
|
||||
|
||||
\ </head>\r
|
||||
|
||||
\ <body>\r
|
||||
|
||||
\ <!-- Header con logo UniPR come nel template standard -->\r
|
||||
|
||||
\r
|
||||
|
||||
\ <h2>IL DIRIGENTE</h2>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>visto l'art.15 della legge 7 agosto 1990 n. 241 che disciplina gli \"Accordi tra Pubbliche Amministrazioni\";</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>richiamato l'art. 7, comma 4 del D. Lgs. 31 marzo 2023, n. 36 \"Codice dei contratti pubblici in attuazione dell'articolo 1 della legge 21 giugno 2022, n. 78, recante delega al Governo in materia di contratti pubblici\";</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>visti lo Statuto dell'Università degli Studi di Parma ed il Regolamento Generale di Ateneo;</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>visto il Regolamento sulla disciplina delle attività di ricerca, consulenza e didattica e alta formazione eseguite dall'Università degli Studi di Parma a fronte di contratti o accordi con soggetti terzi, emanato con Decreto Rettorale n. 2298/2024, prot. n. 264866 del 4 ottobre 2024;</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>visto il Regolamento dell'Università degli Studi di Parma in materia di brevetti e tutela dell'invenzione, emanato con Decreto Rettorale n. 1033/2024, prot. n. 113244 del 30 aprile 2024;</p>\r
|
||||
|
||||
\r
|
||||
|
||||
[IF][CONDITION][!-- [% [TAG]SCHEMAID,341,COL0094,IUQOID, , [/TAG] > 0 %] --][% corrispettivo > 0 %][/CONDITION][THEN]\r
|
||||
|
||||
\ <p>visto il Regolamento di Ateneo per l'amministrazione, la finanza e la contabilità, emanato con Decreto Rettorale n. 1674/2024, prot. 198495 del 17 luglio 2024;</p>\r
|
||||
|
||||
[/THEN][/IF]\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>preso atto del rispetto da parte dell'Università degli Studi di Parma del parametro di cui all'art. 7, comma 4, lettera d), del D.Lgs. n. 36/2023, in relazione all'avvenuto accertamento sul bilancio unico di Ateneo delle poste relative;</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <!--<p>preso atto che, con nota assunta a Prot. n. ___, il [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG] ha trasmesso:</p>-->\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>verificata l'applicabilità dell'art. 15 \"Accordi fra Pubbliche Amministrazioni\" della legge n. 241/1990 sul procedimento amministrativo, sussistendone i presupposti, incluso l'interesse reciproco, il contributo di tutti i soggetti sottoscrittori, la proprietà condivisa dei risultati secondo quanto stabilito dall'Accordo e la compartecipazione alle spese finalizzate al raggiungimento degli obiettivi specificati nel testo della stessa;</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>richiamato integralmente il testo dell'accordo da stipularsi tra l'Università degli Studi di Parma, nell'interesse del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG], avente ad oggetto [TAG]SCHEMAID,341,COL0005,IUQOID, , [/TAG] sotto la responsabilità scientifica di [TAG]SCHEMAID,341,COL0049,IUQOID, , [/TAG], con durata di mesi [TAG]SCHEMAID,341,COL0008,IUQOID, , [/TAG][IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0084,IUQOID, , [/TAG] == false %]--][% presenzaOneri == false %][/CONDITION][THEN], senza oneri a carico del budget dell'Amministrazione Centrale[/THEN][/IF];</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>ritenuto, per quanto premesso, di aderire alla richiesta di [TAG]SCHEMAID,341,COL0049,IUQOID, , [/TAG] di approvazione della stipula Accordo con [TAG]SCHEMAID,341,COL0086,IUQOID, , [/TAG] per [TAG]SCHEMAID,341,COL0005,IUQOID, , [/TAG] in premessa, ai sensi e per gli effetti di quanto previsto dal sopra citato Regolamento sulla disciplina delle attività di ricerca, consulenza, didattica e alta formazione eseguite dall'Università degli Studi di Parma a fronte di contratti o accordi con soggetti terzi con riferimento all'Art.2, punto B;</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <h2>determina</h2>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <ol>\r
|
||||
|
||||
\ <li>richiamate le premesse, parti integranti del presente dispositivo, di approvare la stipula dell'Accordo tra [TAG]SCHEMAID,341,COL0086,IUQOID, , [/TAG] e l'Università degli Studi di Parma, nell'interesse del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG], avente ad oggetto [TAG]SCHEMAID,341,COL0005,IUQOID, , [/TAG] sotto la responsabilità scientifica di [TAG]SCHEMAID,341,COL0049,IUQOID, , [/TAG], con durata di mesi [TAG]SCHEMAID,341,COL0008,IUQOID, , [/TAG][IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0084,IUQOID, , [/TAG] == false %]--][% presenzaOneri == false %][/CONDITION][THEN], senza oneri a carico del budget dell'Amministrazione Centrale[/THEN][/IF];</li>\r
|
||||
|
||||
\r
|
||||
|
||||
[IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0094,IUQOID, , [/TAG] > 0 %]--][% corrispettivo > 0 %][/CONDITION][THEN]\r
|
||||
|
||||
\ <li>di autorizzare l'introito del contributo di euro [TAG]SCHEMAID,341,COL0094,IUQOID, , [/TAG] da parte di [TAG]SCHEMAID,341,COL0086,IUQOID, , [/TAG] a favore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG][IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0090,IUQOID, , [/TAG] != \"N\" %]--][% mostraRitenute != \"N\" %][/CONDITION][THEN][IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0051,IUQOID, , [/TAG] > 0 %]--][% speseGenerali > 0 %][/CONDITION][THEN], da assoggettare alle ritenute secondo le modalità previste dall'art. 6, comma 2 del \"Regolamento sulla disciplina delle attività di ricerca, consulenza e didattica e alta formazione eseguite dall'Università degli Studi di Parma a fronte di contratti o accordi con soggetti terzi\" nella misura del 6% (euro [TAG]SCHEMAID,337,COL0049,IUQOID, , [/TAG]) per l'Amministrazione di Ateneo, del 8% (euro [TAG]SCHEMAID,337,COL0050,IUQOID, , [/TAG]) per il Fondo Comune di Ateneo e del 2% (euro [TAG]SCHEMAID,337,COL0051,IUQOID, , [/TAG]) per l'incremento dei fondi di cui agli artt. 119, comma 2, punto a) e 121, comma 2, punto a) del CCNL di comparto per l'attuazione dell'art. 110, comma 2 del medesimo contratto[/THEN][/IF][IF][CONDITION][!--[% [TAG]SCHEMAID,337,COL0064,IUQOID, , [/TAG] != \"\" && [TAG]SCHEMAID,337,COL0064,IUQOID, , [/TAG] > 0 %]--][% ulterioreRitenuta2Max > 0 %][/CONDITION][THEN], con una ritenuta ulteriore del [TAG]SCHEMAID,337,COL0067,IUQOID, , [/TAG]% (euro [TAG]SCHEMAID,337,COL0068,IUQOID, , [/TAG]) a favore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG][/THEN][/IF][/THEN][/IF];</li>\r
|
||||
|
||||
[/THEN][/IF]\r
|
||||
|
||||
\r
|
||||
|
||||
\ <li>di conferire mandato al Direttore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG] per l'adempimento di ogni attività relativa.</li>\r
|
||||
|
||||
\ </ol>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <div class=\"firma\">\r
|
||||
|
||||
\ <p style=\"text-align: center;\">Parma, li [TAG]SCHEMAID,340,COL0022,IUQOID, , [/TAG]</p>\r
|
||||
|
||||
\ <p style=\"text-align: center;\">[TAG]SCHEMAID,341,COL0093,IUQOID, , [/TAG]</p>\r
|
||||
|
||||
\ <p style=\"text-align: center;\">Firmato digitalmente ai sensi del D.Lgs. n. 82/2005</p>\r
|
||||
|
||||
\ </div>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <!-- Footer con logo UniPR come nel template standard -->\r
|
||||
|
||||
\ </body>\r
|
||||
|
||||
</html>\r
|
||||
|
||||
[/EFTL]\r
|
||||
|
||||
`;\r
|
||||
|
||||
\r
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);\r
|
||||
|
||||
\r
|
||||
|
||||
bru.setVar(\"elixBase64EftlDocument\", base64EncodedDocument);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+408
File diff suppressed because one or more lines are too long
+214
@@ -0,0 +1,214 @@
|
||||
info:
|
||||
name: Proposta CCT determina sperimentazioni cliniche
|
||||
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: "9717"
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"userDocument\": \"{{elixBase64EftlDocument}}\", // see the pre-request script\r
|
||||
|
||||
\ \"userContext\": {\r
|
||||
|
||||
\ \"lang\": \"IT\",\r
|
||||
|
||||
\ \"tipologiePunto1\": \"CRCT_RA;CRCT_RAS;CRCT_RB\",\r
|
||||
|
||||
\ \"tipologiePunto2\": \"SERV_CON\",\r
|
||||
|
||||
\ \"tipologiePunto3\": \"FORM_COM\",\r
|
||||
|
||||
\ \"tipologiePunto4\": \"\"\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: "// Copy-pasta your EFTL document below inside the template literals (`)\r
|
||||
|
||||
var eftlDocumentToBeProcessed = `\r
|
||||
|
||||
[EFTL]\r
|
||||
|
||||
[VAR name=\"corrispettivo\" type=\"string\"][TAG]SCHEMAID,341,COL0094,IUQOID, , [/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"speseGenerali\" type=\"string\"][TAG]SCHEMAID,341,COL0051,IUQOID, , [/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"presenzaOneri\" type=\"boolean\"][TAG]SCHEMAID,341,COL0084,IUQOID, , [/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"mostraRitenute\" type=\"string\"][TAG]SCHEMAID,341,COL0090,IUQOID, , [/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"ulterioreRitenuta2Max\" type=\"string\"][TAG]SCHEMAID,337,COL0067,IUQOID, , [/TAG][/VAR]\r
|
||||
|
||||
<html>\r
|
||||
|
||||
\ <head>\r
|
||||
|
||||
\ <style>\r
|
||||
|
||||
\ h2 {\r
|
||||
|
||||
\ text-align: center;\r
|
||||
|
||||
\ font-size: 14pt;\r
|
||||
|
||||
\ font-weight: bold;\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ p {\r
|
||||
|
||||
\ text-align: justify;\r
|
||||
|
||||
\ font-size: 12pt;\r
|
||||
|
||||
\ line-height: 1.5;\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ ol {\r
|
||||
|
||||
\ text-align: justify;\r
|
||||
|
||||
\ font-size: 12pt;\r
|
||||
|
||||
\ line-height: 1.5;\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ .firma {\r
|
||||
|
||||
\ float: right;\r
|
||||
|
||||
\ margin: 2em;\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ </style>\r
|
||||
|
||||
\ </head>\r
|
||||
|
||||
\ <body>\r
|
||||
|
||||
\ <!-- Header con logo UniPR come nel template standard -->\r
|
||||
|
||||
\r
|
||||
|
||||
\ <h2>IL DIRIGENTE</h2>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>visto il Decreto Ministeriale 30 novembre 2021 recante \"Misure volte a facilitare e sostenere la realizzazione degli studi clinici di medicinali senza scopo di lucro e degli studi osservazionali e a disciplinare la cessione di dati e risultati di sperimentazioni senza scopo di lucro a fini registrativi, ai sensi dell'art. 1, comma 1, lettera c), del decreto legislativo 14 maggio 2019, n. 52\";</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>visto il Decreto Legislativo 196/2003 e ss.mm.ii. e il Regolamento europeo GDPR 679/2016, relativo alla protezione delle persone fisiche con riguardo al trattamento dei dati personali;</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>visti lo Statuto dell'Università degli Studi di Parma ed il Regolamento Generale di Ateneo;</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>visto il Regolamento sulla disciplina delle attività di ricerca, consulenza e didattica e alta formazione eseguite dall'Università degli Studi di Parma a fronte di contratti o accordi con soggetti terzi, emanato con Decreto Rettorale n. 2298/2024, prot. n. 264866 del 4 ottobre 2024;</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>visto il Regolamento dell'Università degli Studi di Parma in materia di brevetti e tutela dell'invenzione, emanato con Decreto Rettorale n. 1033/2024, prot. n. 113244 del 30 aprile 2024;</p>\r
|
||||
|
||||
\r
|
||||
|
||||
[IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0094,IUQOID, , [/TAG] > 0 %]--][% corrispettivo > 0 %][/CONDITION][THEN]\r
|
||||
|
||||
\ <p>visto il Regolamento di Ateneo per l'amministrazione, la finanza e la contabilità, emanato con Decreto Rettorale n. 1674/2024, prot. 198495 del 17 luglio 2024;</p>\r
|
||||
|
||||
[/THEN][/IF]\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>preso atto del testo dell'accordo che, tra l'altro, prevede quanto segue:</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>preso atto dell'autorizzazione all'avvio dello studio rilasciata in data ___ da ___;</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <p>ritenuto, per quanto premesso, di aderire alla richiesta avanzata da [TAG]SCHEMAID,341,COL0049,IUQOID, , [/TAG] di approvazione della stipula del contratto con [TAG]SCHEMAID,341,COL0086,IUQOID, , [/TAG] per la conduzione della sperimentazione sopra descritta, ai sensi e per gli effetti di quanto previsto dal sopra citato Regolamento sulla disciplina delle attività di ricerca, consulenza, didattica e alta formazione eseguite dall'Università degli Studi di Parma a fronte di contratti o accordi con soggetti terzi con riferimento all'Art.2, lettera B;</p>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <h2>determina</h2>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <ol>\r
|
||||
|
||||
\ <li>richiamate le premesse, parti integranti del presente dispositivo, di approvare la stipula del contratto tra [TAG]SCHEMAID,341,COL0086,IUQOID, , [/TAG] e l'Università degli Studi di Parma, nell'interesse del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG], avente ad oggetto la conduzione della sperimentazione clinica dal titolo [TAG]SCHEMAID,341,COL0005,IUQOID, , [/TAG] sotto la responsabilità scientifica di [TAG]SCHEMAID,341,COL0049,IUQOID, , [/TAG], con decorrenza dalla data di sottoscrizione e durata fino a mesi [TAG]SCHEMAID,341,COL0008,IUQOID, , [/TAG][IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0084,IUQOID, , [/TAG] == false %]--][% presenzaOneri == false %][/CONDITION][THEN], senza oneri a carico del budget dell'Amministrazione Centrale[/THEN][/IF];</li>\r
|
||||
|
||||
\r
|
||||
|
||||
[IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0094,IUQOID, , [/TAG] > 0 %]--][% corrispettivo > 0 %][/CONDITION][THEN]\r
|
||||
|
||||
\ <li>di autorizzare l'introito del contributo di euro [TAG]SCHEMAID,341,COL0094,IUQOID, , [/TAG] da parte di [TAG]SCHEMAID,341,COL0086,IUQOID, , [/TAG] a favore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG][IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0090,IUQOID, , [/TAG] != \"N\" %]--][% mostraRitenute != \"N\" %][/CONDITION][THEN][IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0051,IUQOID, , [/TAG] > 0 %]--][% speseGenerali > 0 %][/CONDITION][THEN], da assoggettare alle ritenute secondo le modalità previste dall'art. 6, comma 2 del \"Regolamento sulla disciplina delle attività di ricerca, consulenza e didattica e alta formazione eseguite dall'Università degli Studi di Parma a fronte di contratti o accordi con soggetti terzi\" nella misura del 6% (euro [TAG]SCHEMAID,337,COL0049,IUQOID, , [/TAG]) per l'Amministrazione di Ateneo, del 8% (euro [TAG]SCHEMAID,337,COL0050,IUQOID, , [/TAG]) per il Fondo Comune di Ateneo e del 2% (euro [TAG]SCHEMAID,337,COL0051,IUQOID, , [/TAG]) per l'incremento dei fondi di cui agli artt. 119, comma 2, punto a) e 121, comma 2, punto a) del CCNL di comparto per l'attuazione dell'art. 110, comma 2 del medesimo contratto, calcolate sulle sole quote di overheads[/THEN][/IF][IF][CONDITION][!--[% [TAG]SCHEMAID,337,COL0064,IUQOID, , [/TAG] > 0 && [TAG]SCHEMAID,337,COL0064,IUQOID, , [/TAG] != \"\" %]--][% ulterioreRitenuta2Max > 0 %][/CONDITION][THEN], con una ritenuta ulteriore del [TAG]SCHEMAID,337,COL0067,IUQOID, , [/TAG]% (euro [TAG]SCHEMAID,337,COL0068,IUQOID, , [/TAG]) a favore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG][/THEN][/IF][/THEN][/IF];</li>\r
|
||||
|
||||
[/THEN][/IF]\r
|
||||
|
||||
\r
|
||||
|
||||
\ <li>di dare mandato al Direttore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG] per ogni ulteriore adempimento relativo.</li>\r
|
||||
|
||||
\ </ol>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <div class=\"firma\">\r
|
||||
|
||||
\ <p style=\"text-align: center;\">Parma, li [TAG]SCHEMAID,340,COL0022,IUQOID, , [/TAG]</p>\r
|
||||
|
||||
\ <p style=\"text-align: center;\">[TAG]SCHEMAID,341,COL0093,IUQOID, , [/TAG]</p>\r
|
||||
|
||||
\ <p style=\"text-align: center;\">Firmato digitalmente ai sensi del D.Lgs. n. 82/2005</p>\r
|
||||
|
||||
\ </div>\r
|
||||
|
||||
\r
|
||||
|
||||
\ <!-- Footer con logo UniPR come nel template standard -->\r
|
||||
|
||||
\ </body>\r
|
||||
|
||||
</html>\r
|
||||
|
||||
[/EFTL]\r
|
||||
|
||||
`;\r
|
||||
|
||||
\r
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);\r
|
||||
|
||||
\r
|
||||
|
||||
bru.setVar(\"elixBase64EftlDocument\", base64EncodedDocument);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+106
@@ -0,0 +1,106 @@
|
||||
info:
|
||||
name: Punto A regolamento
|
||||
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: "8760"
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"userDocument\": \"{{elixBase64EftlDocument}}\", // see the pre-request script\r
|
||||
|
||||
\ \"userContext\": {\r
|
||||
|
||||
\ \"lang\": \"IT\",\r
|
||||
|
||||
\ \"tipologiePunto1\": \"CRCT_RA;CRCT_RAS;CRCT_RB\",\r
|
||||
|
||||
\ \"tipologiePunto2\": \"SERV_CON\",\r
|
||||
|
||||
\ \"tipologiePunto3\": \"FORM_COM\",\r
|
||||
|
||||
\ \"tipologiePunto4\": \"\"\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: "// Copy-pasta your EFTL document below inside the template literals (`)\r
|
||||
|
||||
var eftlDocumentToBeProcessed = `\r
|
||||
|
||||
[EFTL][HEADER name=\"trimDocument\" value=\"true\" type=\"boolean\" /]\r
|
||||
|
||||
[VAR name=\"tipologiaContratto\" type=\"string\"][TAG]GETVALUEBYTAG,TIPOLOGIA_CODICE,REQUEST,IUQOID[/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"puntoAregolamento\" type=\"number\"][% puntoAregolamento = 0; %][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[IF]\r
|
||||
|
||||
\ [CONDITION][CONTAINS varname=\"tipologiePunto1\"][VALUE_OF varname=\"tipologiaContratto\" /][/CONTAINS][/CONDITION]\r
|
||||
|
||||
\ [THEN][% puntoAregolamento = 1; %][/THEN]\r
|
||||
|
||||
\ [ELSE IF]\r
|
||||
|
||||
\ [CONDITION][CONTAINS varname=\"tipologiePunto2\"][VALUE_OF varname=\"tipologiaContratto\" /][/CONTAINS][/CONDITION]\r
|
||||
|
||||
\ [THEN][% puntoAregolamento = 2; %][/THEN]\r
|
||||
|
||||
\ [/ELSE IF]\r
|
||||
|
||||
\ [ELSE IF]\r
|
||||
|
||||
\ [CONDITION][CONTAINS varname=\"tipologiePunto3\"][VALUE_OF varname=\"tipologiaContratto\" /][/CONTAINS][/CONDITION]\r
|
||||
|
||||
\ [THEN][% puntoAregolamento = 3; %][/THEN]\r
|
||||
|
||||
\ [/ELSE IF]\r
|
||||
|
||||
\ [ELSE IF]\r
|
||||
|
||||
\ [CONDITION][CONTAINS varname=\"tipologiePunto4\"][VALUE_OF varname=\"tipologiaContratto\" /][/CONTAINS][/CONDITION]\r
|
||||
|
||||
\ [THEN][% puntoAregolamento = 4; %][/THEN]\r
|
||||
|
||||
\ [/ELSE IF]\r
|
||||
|
||||
[/IF]\r
|
||||
|
||||
\r
|
||||
|
||||
[%= puntoAregolamento %]\r
|
||||
|
||||
[/EFTL]\r
|
||||
|
||||
`;\r
|
||||
|
||||
\r
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);\r
|
||||
|
||||
\r
|
||||
|
||||
bru.setVar(\"elixBase64EftlDocument\", base64EncodedDocument);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+150
@@ -0,0 +1,150 @@
|
||||
info:
|
||||
name: Punto B regolamento
|
||||
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: "8760"
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"userDocument\": \"{{elixBase64EftlDocument}}\", // see the pre-request script\r
|
||||
|
||||
\ \"userContext\": {\r
|
||||
|
||||
\ \"lang\": \"IT\",\r
|
||||
|
||||
\ \"tipologiePunto1\": \"\",\r
|
||||
|
||||
\ \"tipologiePunto2\": \"\",\r
|
||||
|
||||
\ \"tipologiePunto3\": \"CCS_IST_RA;CCS_IST_RAS;CCS_IST_RB\",\r
|
||||
|
||||
\ \"tipologiePunto4\": \"\",\r
|
||||
|
||||
\ \"tipologiePunto5\": \"MTA;NDA\"\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: "// Copy-pasta your EFTL document below inside the template literals (`)\r
|
||||
|
||||
var eftlDocumentToBeProcessed = `\r
|
||||
|
||||
[EFTL][HEADER name=\"trimDocument\" value=\"true\" type=\"boolean\" /]\r
|
||||
|
||||
[!--\r
|
||||
|
||||
\ \"tipologiePunto1\": \"\",\r
|
||||
|
||||
\ \"tipologiePunto2\": \"\",\r
|
||||
|
||||
\ \"tipologiePunto3\": \"CCS_IST_RA;CCS_IST_RAS;CCS_IST_RB\",\r
|
||||
|
||||
\ \"tipologiePunto4\": \"\",\r
|
||||
|
||||
\ \"tipologiePunto5\": \"MTA;NDA\"\r
|
||||
|
||||
--]\r
|
||||
|
||||
\r
|
||||
|
||||
[VAR name=\"tipologiaContratto\" type=\"string\"][TAG]GETVALUEBYTAG,TIPOLOGIA_CODICE,REQUEST,IUQOID[/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"puntoBregolamento\" type=\"number\"][% puntoBregolamento = 0; %][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[!--\r
|
||||
|
||||
3 CCS_IST_RA\tConvenzioni di collaborazione scientifica istituzionali - ricerca applicata\r
|
||||
|
||||
3 CCS_IST_RAS\tConvenzioni di collaborazione scientifica istituzionali - ricerca applicata alla sanità\r
|
||||
|
||||
3 CCS_IST_RB\tConvenzioni di collaborazione scientifica istituzionali - ricerca di base\r
|
||||
|
||||
5 MTA\tMaterial Transfer Agreement\r
|
||||
|
||||
5 NDA\tNon Disclosure Agreement\r
|
||||
|
||||
? CONV_QUA\tConvenzioni quadro\r
|
||||
|
||||
--]\r
|
||||
|
||||
\r
|
||||
|
||||
[IF]\r
|
||||
|
||||
\ [CONDITION][CONTAINS varname=\"tipologiePunto1\"][VALUE_OF varname=\"tipologiaContratto\" /][/CONTAINS][/CONDITION]\r
|
||||
|
||||
\ [THEN][% puntoBregolamento = 1; %][/THEN]\r
|
||||
|
||||
\ [ELSE IF]\r
|
||||
|
||||
\ [CONDITION][CONTAINS varname=\"tipologiePunto2\"][VALUE_OF varname=\"tipologiaContratto\" /][/CONTAINS][/CONDITION]\r
|
||||
|
||||
\ [THEN][% puntoBregolamento = 2; %][/THEN]\r
|
||||
|
||||
\ [/ELSE IF]\r
|
||||
|
||||
\ [ELSE IF]\r
|
||||
|
||||
\ [CONDITION][CONTAINS varname=\"tipologiePunto3\"][VALUE_OF varname=\"tipologiaContratto\" /][/CONTAINS][/CONDITION]\r
|
||||
|
||||
\ [THEN][% puntoBregolamento = 3; %][/THEN]\r
|
||||
|
||||
\ [/ELSE IF]\r
|
||||
|
||||
\ [ELSE IF]\r
|
||||
|
||||
\ [CONDITION][CONTAINS varname=\"tipologiePunto4\"][VALUE_OF varname=\"tipologiaContratto\" /][/CONTAINS][/CONDITION]\r
|
||||
|
||||
\ [THEN][% puntoBregolamento = 4; %][/THEN]\r
|
||||
|
||||
\ [/ELSE IF]\r
|
||||
|
||||
\ [ELSE IF]\r
|
||||
|
||||
\ [CONDITION][CONTAINS varname=\"tipologiePunto5\"][VALUE_OF varname=\"tipologiaContratto\" /][/CONTAINS][/CONDITION]\r
|
||||
|
||||
\ [THEN][% puntoBregolamento = 5; %][/THEN]\r
|
||||
|
||||
\ [/ELSE IF]\r
|
||||
|
||||
[/IF]\r
|
||||
|
||||
\r
|
||||
|
||||
[FORMAT type=\"number\" pattern=\"#\"][% puntoBregolamento %][/FORMAT]\r
|
||||
|
||||
[/EFTL]\r
|
||||
|
||||
`;\r
|
||||
|
||||
\r
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);\r
|
||||
|
||||
\r
|
||||
|
||||
bru.setVar(\"elixBase64EftlDocument\", base64EncodedDocument);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: CCT - Determina da Proposta
|
||||
type: folder
|
||||
seq: 2
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
+87
@@ -0,0 +1,87 @@
|
||||
info:
|
||||
name: Calcolo ripartizione per tipologia persona
|
||||
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: "22737"
|
||||
disabled: true
|
||||
- name: x-ef-request-id
|
||||
value: "22224"
|
||||
disabled: true
|
||||
- name: x-ef-request-id
|
||||
value: "22744"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT",
|
||||
"crlf": "\r\n",
|
||||
"qualificheDocenti": ";Docente;Ricercatore;"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: |-
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
var eftlDocumentToBeProcessed = String.raw`
|
||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||
[VAR name="arrayCFdocenti" type="string"][TAG]GETVALUEBYTAG,PARTECIPANTI_QUALIFICA_DOCENTE,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[VAR name="arrayCFaltro" type="string"][TAG]GETVALUEBYTAG,PARTECIPANTI_QUALIFICA_ALTRO,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[VAR name="totalePersonaleDocente" type="number"][% totalePersonaleDocente = 0; %][/VAR]
|
||||
[VAR name="totalePersonaleAltro" type="number"][% totalePersonaleAltro = 0; %][/VAR]
|
||||
|
||||
[VAR name="ripartizioniNominativiIterable" type="iterable"][SPLIT regex="#"][TAG]GETVALUEBYTAG,PARTECIPANTE,REQUEST,IUQOID,CONCAT,#[/TAG][/SPLIT][/VAR]
|
||||
[VAR name="ripartizioniImportiIterable" type="iterable"][SPLIT regex="#"][TAG]GETVALUEBYTAG,IMPORTO_RIPARTIZIONE,REQUEST,IUQOID,CONCAT,#[/TAG][/SPLIT][/VAR]
|
||||
|
||||
[VAR name="ripartizioniCount" type="string"][SIZE_OF varname="ripartizioniNominativiIterable" /][/VAR]
|
||||
[IF][CONDITION][% ripartizioniCount > 0 %][/CONDITION][THEN]
|
||||
[VAR name="ripartizioneIdx" type="string"][% ripartizioneIdx = 0; %][/VAR]
|
||||
[VAR name="firstItem" type="number"][% firstItem = 0; %][/VAR]
|
||||
[VAR name="secondItem" type="number"][% secondItem = 1; %][/VAR]
|
||||
|
||||
[WHILE threshold="99"]
|
||||
[CONDITION][% ripartizioneIdx < ripartizioniCount %][/CONDITION]
|
||||
[DO]
|
||||
[VAR name="personaImporto" type="number"][VALUE_OF varname="ripartizioniImportiIterable" index="ripartizioneIdx" /][/VAR]
|
||||
[VAR name="personaNominativoIterable" type="iterable"][SPLIT regex=" \(CF: "][VALUE_OF varname="ripartizioniNominativiIterable" index="ripartizioneIdx" /][/SPLIT][/VAR]
|
||||
[VAR name="personaNominativoRightIterable" type="iterable"][SPLIT regex="\)"][VALUE_OF varname="personaNominativoIterable" index="secondItem" /][/SPLIT][/VAR]
|
||||
[VAR name="personaCF" type="string"][VALUE_OF varname="personaNominativoRightIterable" index="firstItem" /][/VAR]
|
||||
[IF]
|
||||
[CONDITION][CONTAINS varname="arrayCFdocenti" value="personaCF" /][/CONDITION]
|
||||
[THEN][% totalePersonaleDocente = totalePersonaleDocente + personaImporto; %][/THEN]
|
||||
[ELSE][% totalePersonaleAltro = totalePersonaleAltro + personaImporto; %][/ELSE]
|
||||
[/IF]
|
||||
|
||||
[% ripartizioneIdx = ripartizioneIdx + 1; %]
|
||||
[/DO]
|
||||
[/WHILE]
|
||||
[/THEN][/IF]
|
||||
|
||||
[%= totalePersonaleDocente %]
|
||||
[%= totalePersonaleAltro %]
|
||||
[/EFTL]
|
||||
`;
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);
|
||||
|
||||
bru.setVar("elixBase64EftlDocument", base64EncodedDocument);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+128
@@ -0,0 +1,128 @@
|
||||
info:
|
||||
name: Check richiedente in partecipanti by CodFis
|
||||
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: "21306"
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"userDocument\": \"{{elixBase64EftlDocument}}\", // see the pre-request script\r
|
||||
|
||||
\ \"userContext\": {\r
|
||||
|
||||
\ \"lang\": \"IT\",\r
|
||||
|
||||
\ \"crlf\": \"\\r\\n\",\r
|
||||
|
||||
\ \"codiciFiscaliAmmessi\": \";XMMPPL74T17E463A;;\"\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: "// Copy-pasta your EFTL document below inside the template literals (`)\r
|
||||
|
||||
var eftlDocumentToBeProcessed = String.raw`\r
|
||||
|
||||
[EFTL][HEADER name=\"trimDocument\" value=\"true\" type=\"boolean\" /]\r
|
||||
|
||||
[VAR name=\"checkUtentePartecipante\" type=\"string\"][% utentePartecipante = \"Utente non ammesso alla compilazione perché non partecipante al contratto!\"; %][/VAR]\r
|
||||
|
||||
[VAR name=\"richiedenteCF\" type=\"string\"][TAG]GETVALUEBYTAG,RICHIEDENTE_CODFIS,REQUEST,IUQOID[/TAG][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[VAR name=\"rsProponenteCF\" type=\"string\"][TAG]GETVALUEBYTAG,RSP_CODFIS,REQUEST,IUQOID[/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"responsabili\" type=\"string\"][TAG]GETVALUEBYTAG,CONTRATTO_RESPONSABILI,REQUEST,IUQOID[/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"partecipanti\" type=\"string\"][TAG]GETVALUEBYTAG,CONTRATTO_PARTECIPANTI,REQUEST,IUQOID[/TAG][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
\r
|
||||
|
||||
[!-- Hack for the CONTAIN below... --]\r
|
||||
|
||||
[VAR name=\"richiedenteCFcontain\" type=\"string\"][% richiedenteCFcontain = \", CF: \" + richiedenteCF + \", Qualifica: \"; %][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[!-- Il richiedente non deve essere il RS proponente --]\r
|
||||
|
||||
[!-- Il richiedente deve comparire fra i responsabili --]\r
|
||||
|
||||
[!-- Il richiedente deve comparire fra i partecipanti --]\r
|
||||
|
||||
[!-- Il richiedente deve comparire fra i nominativi ammessi (DEBUG) --]\r
|
||||
|
||||
\r
|
||||
|
||||
[IF]\r
|
||||
|
||||
\ [CONDITION][% richiedenteCF == rsProponenteCF %][/CONDITION]\r
|
||||
|
||||
\ [THEN][% checkUtentePartecipante = \"Il Responsabile Scientifico proponente non deve compilare la DSAN\"; %][/THEN]\r
|
||||
|
||||
\ [ELSE IF]\r
|
||||
|
||||
\ [CONDITION][CONTAINS varname=\"responsabili\"][VALUE_OF varname=\"richiedenteCFcontain\" /][/CONTAINS][/CONDITION]\r
|
||||
|
||||
\ [THEN][% checkUtentePartecipante = \"1\"; %][/THEN]\r
|
||||
|
||||
\ [/ELSE IF]\r
|
||||
|
||||
\ [ELSE IF]\r
|
||||
|
||||
\ [CONDITION][CONTAINS varname=\"partecipanti\"][VALUE_OF varname=\"richiedenteCFcontain\" /][/CONTAINS][/CONDITION]\r
|
||||
|
||||
\ [THEN][% checkUtentePartecipante = \"2\"; %][/THEN]\r
|
||||
|
||||
\ [/ELSE IF]\r
|
||||
|
||||
\ [ELSE IF]\r
|
||||
|
||||
\ [CONDITION][CONTAINS varname=\"codiciFiscaliAmmessi\"][VALUE_OF varname=\"richiedenteCF\" /][/CONTAINS][/CONDITION]\r
|
||||
|
||||
\ [THEN][% checkUtentePartecipante = \"\"; %][/THEN]\r
|
||||
|
||||
\ [/ELSE IF]\r
|
||||
|
||||
[/IF]\r
|
||||
|
||||
\r
|
||||
|
||||
[%= checkUtentePartecipante %]\r
|
||||
|
||||
[/EFTL]\r
|
||||
|
||||
`;\r
|
||||
|
||||
\r
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);\r
|
||||
|
||||
\r
|
||||
|
||||
bru.setVar(\"elixBase64EftlDocument\", base64EncodedDocument);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+132
@@ -0,0 +1,132 @@
|
||||
info:
|
||||
name: Check richiedente in partecipanti
|
||||
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: "21223"
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"userDocument\": \"{{elixBase64EftlDocument}}\", // see the pre-request script\r
|
||||
|
||||
\ \"userContext\": {\r
|
||||
|
||||
\ \"lang\": \"IT\",\r
|
||||
|
||||
\ \"crlf\": \"\\r\\n\",\r
|
||||
|
||||
\ \"nominativiAmmessi\": \";MAMMI Pier Paolo;;\"\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: "// Copy-pasta your EFTL document below inside the template literals (`)\r
|
||||
|
||||
var eftlDocumentToBeProcessed = String.raw`\r
|
||||
|
||||
[EFTL][HEADER name=\"trimDocument\" value=\"true\" type=\"boolean\" /]\r
|
||||
|
||||
[VAR name=\"checkUtentePartecipante\" type=\"string\"][% utentePartecipante = \"Utente non ammesso alla compilazione perché non partecipante al contratto!\"; %][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[VAR name=\"rsProponenteCognome\" type=\"string\"][TAG]GETVALUEBYTAG,RSP_COGNOME,REQUEST,IUQOID[/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"rsProponenteNome\" type=\"string\"][TAG]GETVALUEBYTAG,RSP_COGNOME,REQUEST,IUQOID[/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"responsabili\" type=\"string\"][TAG]GETVALUEBYTAG,CONTRATTO_RESPONSABILI,REQUEST,IUQOID[/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"partecipanti\" type=\"string\"][TAG]GETVALUEBYTAG,CONTRATTO_PARTECIPANTI,REQUEST,IUQOID[/TAG][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[!-- [VAR name=\"nominativoUtentePlain\" type=\"string\"][TAG]GETVALUEBYTAG,RICHIEDENTE_NOMINATIVO,REQUEST,IUQOID[/TAG][/VAR] --]\r
|
||||
|
||||
[VAR name=\"nominativoUtentePlain\" type=\"string\"][% nominativoUtentePlain = \"mammi Pier Paolo\"; %][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[!-- Hack for the CONTAIN below... --]\r
|
||||
|
||||
[VAR name=\"nominativoUtente\" type=\"string\"][% nominativoUtente = \" \" + nominativoUtentePlain + \", CF: \"; %][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[!-- Il richiedente non deve essere il RS proponente --]\r
|
||||
|
||||
[!-- Il richiedente deve comparire fra i responsabili --]\r
|
||||
|
||||
[!-- Il richiedente deve comparire fra i partecipanti --]\r
|
||||
|
||||
[!-- Il richiedente deve comparire fra i nominativi ammessi (DEBUG) --]\r
|
||||
|
||||
\r
|
||||
|
||||
[IF]\r
|
||||
|
||||
\ [CONDITION][% nominativoUtentePlain == rsProponenteCognome + \" \" + rsProponenteNome %][/CONDITION]\r
|
||||
|
||||
\ [THEN][% checkUtentePartecipante = \"Il Responsabile Scientifico proponente non deve compilare la DSAN\"; %][/THEN]\r
|
||||
|
||||
\ [ELSE IF]\r
|
||||
|
||||
\ [CONDITION][CONTAINS varname=\"responsabili\"][VALUE_OF varname=\"nominativoUtente\" /][/CONTAINS][/CONDITION]\r
|
||||
|
||||
\ [THEN][% checkUtentePartecipante = \"\"; %][/THEN]\r
|
||||
|
||||
\ [/ELSE IF]\r
|
||||
|
||||
\ [ELSE IF]\r
|
||||
|
||||
\ [CONDITION][CONTAINS varname=\"partecipanti\"][VALUE_OF varname=\"nominativoUtente\" /][/CONTAINS][/CONDITION]\r
|
||||
|
||||
\ [THEN][% checkUtentePartecipante = \"\"; %][/THEN]\r
|
||||
|
||||
\ [/ELSE IF]\r
|
||||
|
||||
\ [ELSE IF]\r
|
||||
|
||||
\ [CONDITION][CONTAINS varname=\"nominativiAmmessi\"][VALUE_OF varname=\"nominativoUtentePlain\" /][/CONTAINS][/CONDITION]\r
|
||||
|
||||
\ [THEN][% checkUtentePartecipante = \"\"; %][/THEN]\r
|
||||
|
||||
\ [/ELSE IF]\r
|
||||
|
||||
[/IF]\r
|
||||
|
||||
\r
|
||||
|
||||
[%= checkUtentePartecipante %]\r
|
||||
|
||||
[/EFTL]\r
|
||||
|
||||
`;\r
|
||||
|
||||
\r
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);\r
|
||||
|
||||
\r
|
||||
|
||||
bru.setVar(\"elixBase64EftlDocument\", base64EncodedDocument);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+64
@@ -0,0 +1,64 @@
|
||||
info:
|
||||
name: Codice fiscale ammesso
|
||||
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: "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: |-
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
var eftlDocumentToBeProcessed = String.raw`
|
||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||
[VAR name="isRichiedenteInRS" type="string"][% isRichiedenteInRS = "Utente non ammesso alla compilazione perché non RS del contratto!"; %][/VAR]
|
||||
[VAR name="responsabiliScientifici" type="string"][TAG]GETVALUEBYTAG,CONTRATTO_RESPONSABILI,REQUEST,IUQOID[/TAG][/VAR]
|
||||
|
||||
[VAR name="codiceFiscaleUtente" type="string"][TAG]GETVALUEBYTAG,RICHIEDENTE_CODFIS,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[VAR name="codiceFiscaleUtenteDebug" type="string"][TAG]GETVALUEBYTAG,RICHIEDENTE_CODFIS,REQUEST,IUQOID[/TAG][/VAR]
|
||||
|
||||
[% codiceFiscaleUtente = ", CF: " + codiceFiscaleUtente + " "; %]
|
||||
|
||||
[IF]
|
||||
[CONDITION][CONTAINS varname="responsabiliScientifici"][VALUE_OF varname="codiceFiscaleUtente" /][/CONTAINS][/CONDITION]
|
||||
[THEN][% isRichiedenteInRS = ""; %][/THEN]
|
||||
[ELSE IF]
|
||||
[CONDITION][CONTAINS varname="codiciFiscaliAmmessi"][VALUE_OF varname="codiceFiscaleUtenteDebug" /][/CONTAINS][/CONDITION]
|
||||
[THEN][% isRichiedenteInRS = ""; %][/THEN]
|
||||
[/ELSE IF]
|
||||
[/IF]
|
||||
|
||||
[%= isRichiedenteInRS %]
|
||||
[/EFTL]
|
||||
`;
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);
|
||||
|
||||
bru.setVar("elixBase64EftlDocument", base64EncodedDocument);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+118
@@ -0,0 +1,118 @@
|
||||
info:
|
||||
name: Codici fiscali ripartizioni Simple-minded
|
||||
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: "21223"
|
||||
disabled: true
|
||||
- name: x-ef-request-id
|
||||
value: "21334"
|
||||
disabled: true
|
||||
- name: x-ef-request-id
|
||||
value: "21344"
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"userDocument\": \"{{elixBase64EftlDocument}}\", // see the pre-request script\r
|
||||
|
||||
\ \"userContext\": {\r
|
||||
|
||||
\ \"lang\": \"IT\",\r
|
||||
|
||||
\ \"crlf\": \"\\r\\n\",\r
|
||||
|
||||
\ \"codiciFiscaliAmmessi\": \";MMMPPL74T17E463A;;\"\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: "// Copy-pasta your EFTL document below inside the template literals (`)\r
|
||||
|
||||
var eftlDocumentToBeProcessed = String.raw`\r
|
||||
|
||||
[EFTL][HEADER name=\"trimDocument\" value=\"true\" type=\"boolean\" /]\r
|
||||
|
||||
[VAR name=\"checkUtentePartecipante\" type=\"string\"][% utentePartecipante = \"Il richiedente non è ammesso alla compilazione perché non rientra tra le ripartizioni proposte\"; %][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[VAR name=\"ripartizioniDaProposta\" type=\"string\"][TAG]GETVALUEBYTAG,RIPARTIZIONI,REQUEST,IUQOID[/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"rsProponenteCF\" type=\"string\"][TAG]GETVALUEBYTAG,RSP_CODFIS,REQUEST,IUQOID[/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"richiedenteCF\" type=\"string\"][TAG]GETVALUEBYTAG,RICHIEDENTE_CODFIS,REQUEST,IUQOID[/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"richiedenteCFregex\" type=\"string\"][% richiedenteCFregex = \" (CF: \" + richiedenteCF + \")\"; %][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[!-- Il richiedente non deve essere il RS proponente --]\r
|
||||
|
||||
[!-- Il richiedente deve comparire fra i responsabili --]\r
|
||||
|
||||
[!-- Il richiedente deve comparire fra i partecipanti --]\r
|
||||
|
||||
[!-- Il richiedente deve comparire fra i nominativi ammessi (DEBUG) --]\r
|
||||
|
||||
\r
|
||||
|
||||
[IF]\r
|
||||
|
||||
\ [CONDITION][% richiedenteCF == rsProponenteCF %][/CONDITION]\r
|
||||
|
||||
\ [THEN][% checkUtentePartecipante = \"Il Responsabile Scientifico proponente non deve compilare la DSAN\"; %][/THEN]\r
|
||||
|
||||
\ [ELSE IF]\r
|
||||
|
||||
\ [CONDITION][CONTAINS varname=\"ripartizioniDaProposta\"][VALUE_OF varname=\"richiedenteCFregex\" /][/CONTAINS][/CONDITION]\r
|
||||
|
||||
\ [THEN][% checkUtentePartecipante = \"\"; %][/THEN]\r
|
||||
|
||||
\ [/ELSE IF]\r
|
||||
|
||||
\ [ELSE IF]\r
|
||||
|
||||
\ [CONDITION][CONTAINS varname=\"codiciFiscaliAmmessi\"][VALUE_OF varname=\"richiedenteCF\" /][/CONTAINS][/CONDITION]\r
|
||||
|
||||
\ [THEN][% checkUtentePartecipante = \"\"; %][/THEN]\r
|
||||
|
||||
\ [/ELSE IF]\r
|
||||
|
||||
[/IF]\r
|
||||
|
||||
\r
|
||||
|
||||
[%= checkUtentePartecipante %]\r
|
||||
|
||||
[/EFTL]\r
|
||||
|
||||
`;\r
|
||||
|
||||
\r
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);\r
|
||||
|
||||
\r
|
||||
|
||||
bru.setVar(\"elixBase64EftlDocument\", base64EncodedDocument);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+135
@@ -0,0 +1,135 @@
|
||||
info:
|
||||
name: Codici fiscali ripartizioni
|
||||
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: "21223"
|
||||
disabled: true
|
||||
- name: x-ef-request-id
|
||||
value: "21334"
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"userDocument\": \"{{elixBase64EftlDocument}}\", // see the pre-request script\r
|
||||
|
||||
\ \"userContext\": {\r
|
||||
|
||||
\ \"lang\": \"IT\",\r
|
||||
|
||||
\ \"crlf\": \"\\r\\n\"\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: "// Copy-pasta your EFTL document below inside the template literals (`)\r
|
||||
|
||||
var eftlDocumentToBeProcessed = String.raw`\r
|
||||
|
||||
[EFTL][HEADER name=\"trimDocument\" value=\"true\" type=\"boolean\" /]\r
|
||||
|
||||
[VAR name=\"ripartizioniIterableWithSep\" type=\"iterable\"][SPLIT regex=\"#\"][TAG]GETVALUEBYTAG,PARTECIPANTE,REQUEST,IUQOID,CONCAT,#[/TAG][/SPLIT][/VAR]\r
|
||||
|
||||
[VAR name=\"ripartizioniCount\" type=\"string\"][SIZE_OF varname=\"ripartizioniIterableWithSep\" /][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[VAR name=\"ripartizioniJoin\" type=\"string\"][% ripartizioniJoin = \"\"; %][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[IF][CONDITION][% ripartizioniCount > 0 %][/CONDITION][THEN]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneIdx\" type=\"string\"][% ripartizioneIdx = 0; %][/VAR]\r
|
||||
|
||||
\ [VAR name=\"firstItem\" type=\"number\"][% firstItem = 0; %][/VAR]\r
|
||||
|
||||
\ [VAR name=\"secondItem\" type=\"number\"][% secondItem = 1; %][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [WHILE threshold=\"99\"]\r
|
||||
|
||||
\ [CONDITION][% ripartizioneIdx < ripartizioniCount %][/CONDITION]\r
|
||||
|
||||
\ [DO]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneFull\" type=\"string\"][VALUE_OF varname=\"ripartizioniIterableWithSep\" index=\"ripartizioneIdx\" /][/VAR]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneFullIterable\" type=\"iterable\"][SPLIT regex=\" \\(CF: \"][TRIM][VALUE_OF varname=\"ripartizioneFull\" /][/TRIM][/SPLIT][/VAR]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneCFIterable\" type=\"iterable\"][SPLIT regex=\"\\)\"][VALUE_OF varname=\"ripartizioneFullIterable\" index=\"secondItem\" /][/SPLIT][/VAR]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneCF\" type=\"string\"][VALUE_OF varname=\"ripartizioneCFIterable\" index=\"firstItem\" /][/VAR]\r
|
||||
|
||||
\ [% ripartizioniJoin = ripartizioniJoin + ripartizioneCF; %]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [% ripartizioneIdx = ripartizioneIdx + 1; %]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [IF][CONDITION][% ripartizioneIdx < ripartizioniCount %][/CONDITION][THEN]\r
|
||||
|
||||
\ [% ripartizioniJoin = ripartizioniJoin + \"#\"; %]\r
|
||||
|
||||
\ [/THEN][/IF]\r
|
||||
|
||||
\ [/DO]\r
|
||||
|
||||
\ [/WHILE]\r
|
||||
|
||||
[/THEN][/IF]\r
|
||||
|
||||
\r
|
||||
|
||||
[!--\r
|
||||
|
||||
[%= ripartizioniCount %]\r
|
||||
|
||||
[%= crlf %]\r
|
||||
|
||||
[%= ripartizioneIdx %]\r
|
||||
|
||||
[%= crlf %]\r
|
||||
|
||||
[%= \"JOIN: \" ripartizioniJoin %]\r
|
||||
|
||||
--]\r
|
||||
|
||||
\r
|
||||
|
||||
[%= ripartizioniJoin %]\r
|
||||
|
||||
[/EFTL]\r
|
||||
|
||||
`;\r
|
||||
|
||||
\r
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);\r
|
||||
|
||||
\r
|
||||
|
||||
bru.setVar(\"elixBase64EftlDocument\", base64EncodedDocument);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+238
@@ -0,0 +1,238 @@
|
||||
info:
|
||||
name: Elenco contraenti formattati
|
||||
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: "8760"
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"userDocument\": \"{{elixBase64EftlDocument}}\", // see the pre-request script\r
|
||||
|
||||
\ \"userContext\": {\r
|
||||
|
||||
\ \"lang\": \"IT\",\r
|
||||
|
||||
\ \"docs\": [\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"name\": \"doc1\",\r
|
||||
|
||||
\ \"quantity\": 3,\r
|
||||
|
||||
\ \"price\": 123.3\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"name\": \"doc2\",\r
|
||||
|
||||
\ \"quantity\": 5,\r
|
||||
|
||||
\ \"price\": 213.3\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"name\": \"doc3\",\r
|
||||
|
||||
\ \"quantity\": 10,\r
|
||||
|
||||
\ \"price\": 321.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ ],\r
|
||||
|
||||
\ \"docsAsEntities\": [\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"eftlEntityType\": \"com.anthesi.elixforms.api.eftl.model.mock.EftlDoc\",\r
|
||||
|
||||
\ \"eftlEntity\": {\r
|
||||
|
||||
\ \"name\": \"doc1\",\r
|
||||
|
||||
\ \"quantity\": 3,\r
|
||||
|
||||
\ \"price\": 123.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"eftlEntityType\": \"com.anthesi.elixforms.api.eftl.model.mock.EftlDoc\",\r
|
||||
|
||||
\ \"eftlEntity\": {\r
|
||||
|
||||
\ \"name\": \"doc2\",\r
|
||||
|
||||
\ \"quantity\": 5,\r
|
||||
|
||||
\ \"price\": 213.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"eftlEntityType\": \"com.anthesi.elixforms.api.eftl.model.mock.EftlDoc\",\r
|
||||
|
||||
\ \"eftlEntity\": {\r
|
||||
|
||||
\ \"name\": \"doc3\",\r
|
||||
|
||||
\ \"quantity\": 10,\r
|
||||
|
||||
\ \"price\": 321.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ ],\r
|
||||
|
||||
\ \"singleEntity\": {\r
|
||||
|
||||
\ \"eftlEntityType\": \"com.anthesi.elixforms.api.eftl.model.mock.EftlDoc\",\r
|
||||
|
||||
\ \"eftlEntity\": {\r
|
||||
|
||||
\ \"name\": \"doc1\",\r
|
||||
|
||||
\ \"quantity\": 3,\r
|
||||
|
||||
\ \"price\": 123.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ \"simpleList\": [\r
|
||||
|
||||
\ \"s1\",\r
|
||||
|
||||
\ \"s2\",\r
|
||||
|
||||
\ \"s3\"\r
|
||||
|
||||
\ ],\r
|
||||
|
||||
\ \"docsSize\": 3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: "// Copy-pasta your EFTL document below inside the template literals (`)\r
|
||||
|
||||
var eftlDocumentToBeProcessed = `\r
|
||||
|
||||
[EFTL][HEADER name=\"trimDocument\" value=\"true\" type=\"boolean\" /]\r
|
||||
|
||||
[VAR name=\"idxNome\" type=\"number\"][% idxNome = 0; %][/VAR]\r
|
||||
|
||||
[VAR name=\"idxCfPIva\" type=\"number\"][% idxCfPIva = 1; %][/VAR]\r
|
||||
|
||||
[VAR name=\"idxSede\" type=\"number\"][% idxSede = 2; %][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[VAR name=\"elencoContraentiCompleto\" type=\"string\"][% elencoContraentiCompleto = \"\"; %][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[VAR name=\"contraenti\" type=\"iterable\"][SPLIT regex=\"\\n\"][TAG]SCHEMAID,341,COL0004,IUQOID, , [/TAG][/SPLIT][/VAR]\r
|
||||
|
||||
[VAR name=\"countContraenti\" type=\"number\"][SIZE_OF varname=\"contraenti\" /][/VAR]\r
|
||||
|
||||
[VAR name=\"idxContraente\" type=\"number\"][% idxContraente = 0; %][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[!-- Estraggo i dati del primo contraente (ce ne sarà sempre almeno uno) --]\r
|
||||
|
||||
[VAR name=\"currContraente\" type=\"string\"][VALUE_OF varname=\"contraenti\" index=\"idxContraente\" /][/VAR]\r
|
||||
|
||||
[VAR name=\"currContraenteSplit\" type=\"iterable\"][SPLIT regex=\", (.*?):\"][TRIM][VALUE_OF varname=\"currContraente\" /][/TRIM][/SPLIT][/VAR]\r
|
||||
|
||||
[VAR name=\"currContraenteNome\" type=\"string\"][TRIM][VALUE_OF varname=\"currContraenteSplit\" index=\"idxNome\" /][/TRIM][/VAR]\r
|
||||
|
||||
[VAR name=\"currContraenteCfPIva\" type=\"string\"][TRIM][VALUE_OF varname=\"currContraenteSplit\" index=\"idxCfPIva\" /][/TRIM][/VAR]\r
|
||||
|
||||
[VAR name=\"currContraenteSede\" type=\"string\"][TRIM][VALUE_OF varname=\"currContraenteSplit\" index=\"idxSede\" /][/TRIM][/VAR]\r
|
||||
|
||||
[% elencoContraentiCompleto = currContraenteNome + \" (CF/PIVA: \" + currContraenteCfPIva + \") con sede legale in \" + currContraenteSede; %]\r
|
||||
|
||||
\r
|
||||
|
||||
[!-- Se c'è più di un contraente, ciclo su tutti i rimanenti (tutto questo per non avere una \", \" in fondo alla stringa finale...) --]\r
|
||||
|
||||
[WHILE]\r
|
||||
|
||||
\ [CONDITION][% idxContraente < countContraenti - 1 %][/CONDITION]\r
|
||||
|
||||
\ [DO]\r
|
||||
|
||||
\ [% idxContraente = idxContraente + 1; %]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [VAR name=\"currContraente\" type=\"string\"][VALUE_OF varname=\"contraenti\" index=\"idxContraente\" /][/VAR]\r
|
||||
|
||||
\ [VAR name=\"currContraenteSplit\" type=\"iterable\"][SPLIT regex=\", (.*?):\"][TRIM][VALUE_OF varname=\"currContraente\" /][/TRIM][/SPLIT][/VAR]\r
|
||||
|
||||
\ [VAR name=\"currContraenteNome\" type=\"string\"][VALUE_OF varname=\"currContraenteSplit\" index=\"idxNome\" /][/VAR]\r
|
||||
|
||||
\ [VAR name=\"currContraenteCfPIva\" type=\"string\"][VALUE_OF varname=\"currContraenteSplit\" index=\"idxCfPIva\" /][/VAR]\r
|
||||
|
||||
\ [VAR name=\"currContraenteSede\" type=\"string\"][VALUE_OF varname=\"currContraenteSplit\" index=\"idxSede\" /][/VAR]\r
|
||||
|
||||
\ [% elencoContraentiCompleto = elencoContraentiCompleto + \", \" + currContraenteNome + \" (CF/PIVA: \" + currContraenteCfPIva + \") con sede legale in \" + currContraenteSede; %]\r
|
||||
|
||||
\ [/DO]\r
|
||||
|
||||
[/WHILE]\r
|
||||
|
||||
\r
|
||||
|
||||
[%= elencoContraentiCompleto %]\r
|
||||
|
||||
[/EFTL]\r
|
||||
|
||||
`;\r
|
||||
|
||||
\r
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);\r
|
||||
|
||||
\r
|
||||
|
||||
bru.setVar(\"elixBase64EftlDocument\", base64EncodedDocument);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+246
@@ -0,0 +1,246 @@
|
||||
info:
|
||||
name: Elenco partecipanti per dropdown con chiave
|
||||
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: "21223"
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"userDocument\": \"{{elixBase64EftlDocument}}\", // see the pre-request script\r
|
||||
|
||||
\ \"userContext\": {\r
|
||||
|
||||
\ \"lang\": \"IT\",\r
|
||||
|
||||
\ \"crlf\": \"\\r\\n\"\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: "// Copy-pasta your EFTL document below inside the template literals (`)\r
|
||||
|
||||
var eftlDocumentToBeProcessed = String.raw`\r
|
||||
|
||||
[EFTL][HEADER name=\"trimDocument\" value=\"true\" type=\"boolean\" /]\r
|
||||
|
||||
[VAR name=\"newLine\" type=\"string\"][VALUE_OF varname=\"crlf\" /][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[VAR name=\"responsabili\" type=\"string\"][TRIM][TAG]GETVALUEBYTAG,CONTRATTO_RESPONSABILI,REQUEST,IUQOID[/TAG][/TRIM][/VAR]\r
|
||||
|
||||
[VAR name=\"partecipanti\" type=\"string\"][TRIM][TAG]GETVALUEBYTAG,CONTRATTO_PARTECIPANTI,REQUEST,IUQOID[/TAG][/TRIM][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[!-- Aggiungi primo elemento \"nullo\" --]\r
|
||||
|
||||
[VAR name=\"ripartizioniElenco\" type=\"string\"][% ripartizioniElenco = \"[0] ---\" + newLine; %][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[VAR name=\"responsabiliIterable\" type=\"iterable\"][SPLIT regex=\"\\n\"][VALUE_OF varname=\"responsabili\" /][/SPLIT][/VAR]\r
|
||||
|
||||
[VAR name=\"partecipantiIterable\" type=\"iterable\"][SPLIT regex=\"\\n\"][VALUE_OF varname=\"partecipanti\" /][/SPLIT][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[VAR name=\"responsabiliCount\" type=\"number\"][SIZE_OF varname=\"responsabiliIterable\" /][/VAR]\r
|
||||
|
||||
[VAR name=\"partecipantiCount\" type=\"number\"][SIZE_OF varname=\"partecipantiIterable\" /][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[VAR name=\"personaIdx\" type=\"string\"][% personaIdx = 0; %][/VAR]\r
|
||||
|
||||
[VAR name=\"dropdownIdx\" type=\"string\"][% dropdownIdx = 0; %][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[VAR name=\"firstItem\" type=\"number\"][% firstItem = 0; %][/VAR]\r
|
||||
|
||||
[VAR name=\"secondItem\" type=\"number\"][% secondItem = 1; %][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[WHILE threshold=\"99\"]\r
|
||||
|
||||
\ [CONDITION][% personaIdx < responsabiliCount %][/CONDITION]\r
|
||||
|
||||
\ [DO]\r
|
||||
|
||||
\ [VAR name=\"responsabileFull\" type=\"string\"][VALUE_OF varname=\"responsabiliIterable\" index=\"personaIdx\" /][/VAR]\r
|
||||
|
||||
\ [VAR name=\"responsabileIterable\" type=\"iterable\"][SPLIT regex=\", CF: \"][TRIM][VALUE_OF varname=\"responsabileFull\" /][/TRIM][/SPLIT][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [!-- Recupera il nominativo --]\r
|
||||
|
||||
\ [VAR name=\"responsabileNominativo\" type=\"string\"][VALUE_OF varname=\"responsabileIterable\" index=\"firstItem\" /][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [!-- Recupera il codice fiscale --]\r
|
||||
|
||||
\ [VAR name=\"responsabileResto\" type=\"string\"][VALUE_OF varname=\"responsabileIterable\" index=\"secondItem\" /][/VAR]\r
|
||||
|
||||
\ [VAR name=\"responsabileRestoIterable\" type=\"iterable\"][SPLIT regex=\", Qualifica: \"][VALUE_OF varname=\"responsabileResto\" /][/SPLIT][/VAR]\r
|
||||
|
||||
\ [VAR name=\"responsabileCodiceFiscale\" type=\"string\"][VALUE_OF varname=\"responsabileRestoIterable\" index=\"firstItem\" /][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [% personaIdx = personaIdx + 1; %]\r
|
||||
|
||||
\ [% dropdownIdx = dropdownIdx + 1; %]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [!-- HACK ignobile per recuperare il numero che altrimenti verrebbe emesso come \"1.0\", etc... --]\r
|
||||
|
||||
\ [VAR name=\"responsabileKeyIterable\" type=\"iterable\"][SPLIT regex=\"\\.\"][% dropdownIdx + \"\" %][/SPLIT][/VAR]\r
|
||||
|
||||
\ [VAR name=\"responsabileKey\" type=\"string\"][VALUE_OF varname=\"responsabileKeyIterable\" index=\"firstItem\" /][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [% ripartizioniElenco = ripartizioniElenco + \"[\" + responsabileKey + \"] \" + responsabileNominativo + \" (CF: \" + responsabileCodiceFiscale + \")\"; %]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [IF]\r
|
||||
|
||||
\ [CONDITION][% personaIdx < responsabiliCount %][/CONDITION]\r
|
||||
|
||||
\ [THEN]\r
|
||||
|
||||
\ [% ripartizioniElenco = ripartizioniElenco + newLine; %]\r
|
||||
|
||||
\ [/THEN]\r
|
||||
|
||||
\ [ELSE IF]\r
|
||||
|
||||
\ [CONDITION][IS_NOT_EMPTY varname=\"partecipanti\" /][/CONDITION]\r
|
||||
|
||||
\ [THEN]\r
|
||||
|
||||
\ [% ripartizioniElenco = ripartizioniElenco + newLine; %]\r
|
||||
|
||||
\ [/THEN]\r
|
||||
|
||||
\ [/ELSE IF]\r
|
||||
|
||||
\ [/IF]\r
|
||||
|
||||
\ [/DO]\r
|
||||
|
||||
[/WHILE]\r
|
||||
|
||||
\r
|
||||
|
||||
[IF][CONDITION][IS_NOT_EMPTY varname=\"partecipanti\" /][/CONDITION][THEN]\r
|
||||
|
||||
\ [% personaIdx = 0; %]\r
|
||||
|
||||
\ [WHILE threshold=\"99\"]\r
|
||||
|
||||
\ [CONDITION][% personaIdx < partecipantiCount %][/CONDITION]\r
|
||||
|
||||
\ [DO]\r
|
||||
|
||||
\ [VAR name=\"partecipanteFull\" type=\"string\"][VALUE_OF varname=\"partecipantiIterable\" index=\"personaIdx\" /][/VAR]\r
|
||||
|
||||
\ [VAR name=\"partecipanteIterable\" type=\"iterable\"][SPLIT regex=\", CF: \"][TRIM][VALUE_OF varname=\"partecipanteFull\" /][/TRIM][/SPLIT][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [!-- Recupera il nominativo --]\r
|
||||
|
||||
\ [VAR name=\"partecipanteNominativo\" type=\"string\"][VALUE_OF varname=\"partecipanteIterable\" index=\"firstItem\" /][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [!-- Recupera il codice fiscale --]\r
|
||||
|
||||
\ [VAR name=\"partecipanteResto\" type=\"string\"][VALUE_OF varname=\"partecipanteIterable\" index=\"secondItem\" /][/VAR]\r
|
||||
|
||||
\ [VAR name=\"partecipanteRestoIterable\" type=\"iterable\"][SPLIT regex=\", Qualifica: \"][VALUE_OF varname=\"partecipanteResto\" /][/SPLIT][/VAR]\r
|
||||
|
||||
\ [VAR name=\"partecipanteCodiceFiscale\" type=\"string\"][VALUE_OF varname=\"partecipanteRestoIterable\" index=\"firstItem\" /][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [% personaIdx = personaIdx + 1; %]\r
|
||||
|
||||
\ [% dropdownIdx = dropdownIdx + 1; %]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [!-- HACK ignobile per recuperare il numero che altrimenti verrebbe emesso come \"1.0\", etc... --]\r
|
||||
|
||||
\ [VAR name=\"partecipanteKeyIterable\" type=\"iterable\"][SPLIT regex=\"\\.\"][% dropdownIdx + \"\" %][/SPLIT][/VAR]\r
|
||||
|
||||
\ [VAR name=\"partecipanteKey\" type=\"string\"][VALUE_OF varname=\"partecipanteKeyIterable\" index=\"firstItem\" /][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [% ripartizioniElenco = ripartizioniElenco + \"[\" + partecipanteKey + \"] \" + partecipanteNominativo + \" (CF: \" + partecipanteCodiceFiscale + \")\"; %]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [IF]\r
|
||||
|
||||
\ [CONDITION][% personaIdx < partecipantiCount %][/CONDITION]\r
|
||||
|
||||
\ [THEN]\r
|
||||
|
||||
\ [% ripartizioniElenco = ripartizioniElenco + newLine; %]\r
|
||||
|
||||
\ [/THEN]\r
|
||||
|
||||
\ [/IF]\r
|
||||
|
||||
\ [/DO]\r
|
||||
|
||||
\ [/WHILE]\r
|
||||
|
||||
[/THEN][/IF]\r
|
||||
|
||||
\r
|
||||
|
||||
[%= ripartizioniElenco %]\r
|
||||
|
||||
[/EFTL]\r
|
||||
|
||||
`;\r
|
||||
|
||||
\r
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);\r
|
||||
|
||||
\r
|
||||
|
||||
bru.setVar(\"elixBase64EftlDocument\", base64EncodedDocument);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+142
@@ -0,0 +1,142 @@
|
||||
info:
|
||||
name: Elenco partecipanti per tabella HTML Copy
|
||||
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: "19758"
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"userDocument\": \"{{elixBase64EftlDocument}}\", // see the pre-request script\r
|
||||
|
||||
\ \"userContext\": {\r
|
||||
|
||||
\ \"lang\": \"IT\",\r
|
||||
|
||||
\ \"crlf\": \"\\r\\n\"\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: "// Copy-pasta your EFTL document below inside the template literals (`)\r
|
||||
|
||||
var eftlDocumentToBeProcessed = String.raw`\r
|
||||
|
||||
[EFTL]\r
|
||||
|
||||
[VAR name=\"newLine\" type=\"string\"][VALUE_OF varname=\"crlf\" /][/VAR]\r
|
||||
|
||||
[VAR name=\"ripartizioniNominativiWithSep\" type=\"string\"][TAG]SCHEMAID,538,COL0005,ID_OBJECT,,#[/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"ripartizioniImportiWithSep\" type=\"string\"][TAG]SCHEMAID,538,COL0002,ID_OBJECT,,#[/TAG][/VAR]\r
|
||||
|
||||
<table>\r
|
||||
|
||||
<tr><th>Partecipante</th><th>Importo (EUR)</th></tr>\r
|
||||
|
||||
[IF][CONDITION][IS_NOT_EMPTY varname=\"ripartizioniNominativiWithSep\" /][/CONDITION][THEN]\r
|
||||
|
||||
\ [VAR name=\"ripartizioniNominativiIterable\" type=\"iterable\"][SPLIT regex=\"#\"][VALUE_OF varname=\"ripartizioniNominativiWithSep\" /][/SPLIT][/VAR]\r
|
||||
|
||||
\ [VAR name=\"ripartizioniImportiIterable\" type=\"iterable\"][SPLIT regex=\"#\"][VALUE_OF varname=\"ripartizioniImportiWithSep\" /][/SPLIT][/VAR]\r
|
||||
|
||||
\ [VAR name=\"ripartizioniCount\" type=\"number\"][SIZE_OF varname=\"ripartizioniNominativiIterable\" /][/VAR]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneIdx\" type=\"string\"][% ripartizioneIdx = 0; %][/VAR]\r
|
||||
|
||||
\ [VAR name=\"firstItem\" type=\"number\"][% firstItem = 0; %][/VAR]\r
|
||||
|
||||
\ [VAR name=\"secondItem\" type=\"number\"][% secondItem = 1; %][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
\r
|
||||
|
||||
\ [FOR varName=\"ripartizione\" iterable=\"ripartizioniNominativiIterable\"]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneNominativoFull\" type=\"string\"][VALUE_OF varname=\"ripartizioniNominativiIterable\" index=\"ripartizioneIdx\" /][/VAR]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneImporto\" type=\"string\"][VALUE_OF varname=\"ripartizioniImportiIterable\" index=\"ripartizioneIdx\" /][/VAR]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneNominativoIterable\" type=\"iterable\"][SPLIT regex=\"] \"][TRIM][VALUE_OF varname=\"ripartizioneNominativoFull\" /][/TRIM][/SPLIT][/VAR]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneNominativo\" type=\"string\"][VALUE_OF varname=\"ripartizioneNominativoIterable\" index=\"secondItem\" /][/VAR]\r
|
||||
|
||||
\ [% ripartizioneIdx = ripartizioneIdx + 1; %]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneKeyIterable\" type=\"iterable\"][SPLIT regex=\"\\.\"][% ripartizioneIdx + \"\" %][/SPLIT][/VAR]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneKey\" type=\"string\"][VALUE_OF varname=\"ripartizioneKeyIterable\" index=\"firstItem\" /][/VAR]\r
|
||||
|
||||
\ <tr><td>[VALUE_OF varname=\"ripartizioneNominativo\" /]</td><td>[VALUE_OF varname=\"ripartizioneImporto\" /]</td></tr>\r
|
||||
|
||||
\ [/FOR]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [!--\r
|
||||
|
||||
\ [WHILE threshold=\"99\"]\r
|
||||
|
||||
\ [CONDITION][% ripartizioneIdx < ripartizioniCount %][/CONDITION]\r
|
||||
|
||||
\ [DO]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneNominativoFull\" type=\"string\"][VALUE_OF varname=\"ripartizioniNominativiIterable\" index=\"ripartizioneIdx\" /][/VAR]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneImporto\" type=\"string\"][VALUE_OF varname=\"ripartizioniImportiIterable\" index=\"ripartizioneIdx\" /][/VAR]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneNominativoIterable\" type=\"iterable\"][SPLIT regex=\"] \"][TRIM][VALUE_OF varname=\"ripartizioneNominativoFull\" /][/TRIM][/SPLIT][/VAR]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneNominativo\" type=\"string\"][VALUE_OF varname=\"ripartizioneNominativoIterable\" index=\"secondItem\" /][/VAR]\r
|
||||
|
||||
\ [% ripartizioneIdx = ripartizioneIdx + 1; %]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneKeyIterable\" type=\"iterable\"][SPLIT regex=\"\\.\"][% ripartizioneIdx + \"\" %][/SPLIT][/VAR]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneKey\" type=\"string\"][VALUE_OF varname=\"ripartizioneKeyIterable\" index=\"firstItem\" /][/VAR]\r
|
||||
|
||||
<tr><td>[VALUE_OF varname=\"ripartizioneNominativo\" /]</td><td>[VALUE_OF varname=\"ripartizioneImporto\" /]</td></tr>\r
|
||||
|
||||
\ [/DO]\r
|
||||
|
||||
\ [/WHILE]\r
|
||||
|
||||
\ --]\r
|
||||
|
||||
[/THEN][/IF]\r
|
||||
|
||||
</table>\r
|
||||
|
||||
[/EFTL]\r
|
||||
|
||||
`;\r
|
||||
|
||||
\r
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);\r
|
||||
|
||||
\r
|
||||
|
||||
bru.setVar(\"elixBase64EftlDocument\", base64EncodedDocument);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+130
@@ -0,0 +1,130 @@
|
||||
info:
|
||||
name: Elenco partecipanti per tabella HTML
|
||||
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: "19758"
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"userDocument\": \"{{elixBase64EftlDocument}}\", // see the pre-request script\r
|
||||
|
||||
\ \"userContext\": {\r
|
||||
|
||||
\ \"lang\": \"IT\",\r
|
||||
|
||||
\ \"crlf\": \"\\r\\n\"\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: "// Copy-pasta your EFTL document below inside the template literals (`)\r
|
||||
|
||||
var eftlDocumentToBeProcessed = String.raw`\r
|
||||
|
||||
[EFTL]\r
|
||||
|
||||
[HEADER name=\"trimDocument\" value=\"true\" type=\"boolean\" /]\r
|
||||
|
||||
[VAR name=\"ripartizioniNominativiWithSep\" type=\"string\"][TAG]SCHEMAID,538,COL0005,ID_OBJECT,,#[/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"ripartizioniImportiWithSep\" type=\"string\"][TAG]SCHEMAID,538,COL0002,ID_OBJECT,,#[/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"tabellaRipartizioni\" type=\"string\"][% tabellaRipartizioni = \"<table><tr><th>Partecipante</th><th>Importo (EUR)</th></tr>\"; %][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[IF][CONDITION][IS_NOT_EMPTY varname=\"ripartizioniNominativiWithSep\" /][/CONDITION][THEN]\r
|
||||
|
||||
\ [VAR name=\"ripartizioniNominativiIterable\" type=\"iterable\"][SPLIT regex=\"#\"][VALUE_OF varname=\"ripartizioniNominativiWithSep\" /][/SPLIT][/VAR]\r
|
||||
|
||||
\ [VAR name=\"ripartizioniImportiIterable\" type=\"iterable\"][SPLIT regex=\"#\"][VALUE_OF varname=\"ripartizioniImportiWithSep\" /][/SPLIT][/VAR]\r
|
||||
|
||||
\ [VAR name=\"ripartizioniCount\" type=\"number\"][SIZE_OF varname=\"ripartizioniNominativiIterable\" /][/VAR]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneIdx\" type=\"string\"][% ripartizioneIdx = 0; %][/VAR]\r
|
||||
|
||||
\ [VAR name=\"firstItem\" type=\"number\"][% firstItem = 0; %][/VAR]\r
|
||||
|
||||
\ [VAR name=\"secondItem\" type=\"number\"][% secondItem = 1; %][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [WHILE threshold=\"99\"]\r
|
||||
|
||||
\ [CONDITION][% ripartizioneIdx != ripartizioniCount %][/CONDITION]\r
|
||||
|
||||
\ [DO]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneNominativoFull\" type=\"string\"][VALUE_OF varname=\"ripartizioniNominativiIterable\" index=\"ripartizioneIdx\" /][/VAR]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneImporto\" type=\"string\"][VALUE_OF varname=\"ripartizioniImportiIterable\" index=\"ripartizioneIdx\" /][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [VAR name=\"ripartizioneNominativoIterable\" type=\"iterable\"][SPLIT regex=\"] \"][TRIM][VALUE_OF varname=\"ripartizioneNominativoFull\" /][/TRIM][/SPLIT][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [!-- Recupera il nominativo --]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneNominativo\" type=\"string\"][VALUE_OF varname=\"ripartizioneNominativoIterable\" index=\"secondItem\" /][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [% ripartizioneIdx = ripartizioneIdx + 1; %]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [!-- HACK ignobile per recuperare il numero che altrimenti verrebbe emesso come \"1.0\", etc... --]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneKeyIterable\" type=\"iterable\"][SPLIT regex=\"\\.\"][% ripartizioneIdx + \"\" %][/SPLIT][/VAR]\r
|
||||
|
||||
\ [VAR name=\"ripartizioneKey\" type=\"string\"][VALUE_OF varname=\"ripartizioneKeyIterable\" index=\"firstItem\" /][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
\ [% tabellaRipartizioni = tabellaRipartizioni + \"<tr><td>\" + ripartizioneNominativo + \"</td><td>\" + ripartizioneImporto + \"</td></tr>\"; %]\r
|
||||
|
||||
\ [/DO]\r
|
||||
|
||||
\ [/WHILE]\r
|
||||
|
||||
[/THEN][/IF]\r
|
||||
|
||||
[% tabellaRipartizioni = tabellaRipartizioni + \"</table>\"; %]\r
|
||||
|
||||
[%= tabellaRipartizioni %]\r
|
||||
|
||||
[/EFTL]\r
|
||||
|
||||
`;\r
|
||||
|
||||
\r
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);\r
|
||||
|
||||
\r
|
||||
|
||||
bru.setVar(\"elixBase64EftlDocument\", base64EncodedDocument);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+104
@@ -0,0 +1,104 @@
|
||||
info:
|
||||
name: Elenco partecipanti per tendina
|
||||
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: "19375"
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"userDocument\": \"{{elixBase64EftlDocument}}\", // see the pre-request script\r
|
||||
|
||||
\ \"userContext\": {\r
|
||||
|
||||
\ \"lang\": \"IT\",\r
|
||||
|
||||
\ \"crlf\": \"\\r\\n\"\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: "// Copy-pasta your EFTL document below inside the template literals (`)\r
|
||||
|
||||
var eftlDocumentToBeProcessed = String.raw`\r
|
||||
|
||||
[EFTL][HEADER name=\"trimDocument\" value=\"true\" type=\"boolean\" /]\r
|
||||
|
||||
[VAR name=\"elencoPartecipantiDebug\" type=\"string\"][% elencoPartecipantiDebug = \"\"; %][/VAR]\r
|
||||
|
||||
[VAR name=\"elencoPartecipantiCompleto\" type=\"string\"][% elencoContraentiCompleto = \"\"; %][/VAR]\r
|
||||
|
||||
[VAR name=\"partecipanti\" type=\"string\"][TRIM][TAG]SCHEMAID,542,COL0018,IUQOID, , [/TAG][/TRIM][/VAR]\r
|
||||
|
||||
[%= \"\" %]\r
|
||||
|
||||
[IF][CONDITION][IS_NOT_EMPTY varname=\"partecipanti\" /][/CONDITION][THEN]\r
|
||||
|
||||
[VAR name=\"partecipantiSplit\" type=\"iterable\"][SPLIT regex=\"\\n\"][VALUE_OF varname=\"partecipanti\" /][/SPLIT][/VAR]\r
|
||||
|
||||
[VAR name=\"partecipantiCount\" type=\"number\"][SIZE_OF varname=\"partecipantiSplit\" /][/VAR]\r
|
||||
|
||||
[VAR name=\"partecipanteIdx\" type=\"number\"][% partecipanteIdx = 0; %][/VAR]\r
|
||||
|
||||
[VAR name=\"partecipanteNominativoIdx\" type=\"number\"][% partecipanteNominativoIdx = 0; %][/VAR]\r
|
||||
|
||||
[VAR name=\"partecipanteRestoIdx\" type=\"number\"][% partecipanteRestoIdx = 1; %][/VAR]\r
|
||||
|
||||
[WHILE threshold=\"99\"][CONDITION][% partecipanteIdx < partecipantiCount %][/CONDITION][DO]\r
|
||||
|
||||
[VAR name=\"partecipanteFull\" type=\"string\"][VALUE_OF varname=\"partecipantiSplit\" index=\"partecipanteIdx\" /][/VAR]\r
|
||||
|
||||
[VAR name=\"partecipanteSplit\" type=\"iterable\"][SPLIT regex=\", CF: \"][TRIM][VALUE_OF varname=\"partecipanteFull\" /][/TRIM][/SPLIT][/VAR]\r
|
||||
|
||||
[!-- Recupera il nominativo --]\r
|
||||
|
||||
[VAR name=\"partecipanteNominativo\" type=\"string\"][VALUE_OF varname=\"partecipanteSplit\" index=\"partecipanteNominativoIdx\" /][/VAR]\r
|
||||
|
||||
[!-- Recupera il codice fiscale --]\r
|
||||
|
||||
[VAR name=\"partecipanteResto\" type=\"string\"][VALUE_OF varname=\"partecipanteSplit\" index=\"partecipanteRestoIdx\" /][/VAR]\r
|
||||
|
||||
[VAR name=\"partecipanteRestoSplit\" type=\"iterable\"][SPLIT regex=\", Qualifica: \"][VALUE_OF varname=\"partecipanteResto\" /][/SPLIT][/VAR]\r
|
||||
|
||||
[VAR name=\"partecipanteCodiceFiscale\" type=\"string\"][VALUE_OF varname=\"partecipanteRestoSplit\" index=\"partecipanteNominativoIdx\" /][/VAR]\r
|
||||
|
||||
[%= \"[\" %][FORMAT type=\"number\" pattern=\"integer\"][% partecipanteIdx + 1 %][/FORMAT][%= \"] \" + partecipanteNominativo + \" (CF: \" + partecipanteCodiceFiscale + \")\" %]\r
|
||||
|
||||
[% partecipanteIdx = partecipanteIdx + 1; %]\r
|
||||
|
||||
[/DO][/WHILE]\r
|
||||
|
||||
[/THEN][/IF]\r
|
||||
|
||||
[/EFTL]\r
|
||||
|
||||
`;\r
|
||||
|
||||
\r
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);\r
|
||||
|
||||
\r
|
||||
|
||||
bru.setVar(\"elixBase64EftlDocument\", base64EncodedDocument);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
info:
|
||||
name: Numero partecipanti meno RS (se c'è)
|
||||
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: "22737"
|
||||
disabled: true
|
||||
- name: x-ef-request-id
|
||||
value: "22224"
|
||||
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: |-
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
var eftlDocumentToBeProcessed = String.raw`
|
||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||
[VAR name="newline"][% newline = ""; %][/VAR]
|
||||
[VAR name="codiceFiscaleProponente"][TAG]GETVALUEBYTAG,RICHIEDENTE_CODFIS,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[% codiceFiscaleProponente = "SPGNDR67C24A944V"; %]
|
||||
[VAR name="ripartizioniConcat" type="string"][TRIM][TAG]GETVALUEBYTAG,PARTECIPANTE,REQUEST,IUQOID,CONCAT,#[/TAG][/TRIM][/VAR]
|
||||
|
||||
[VAR name="ripartizioniIterable" type="iterable"][SPLIT regex="#"][VALUE_OF varname="ripartizioniConcat" /][/SPLIT][/VAR]
|
||||
[VAR name="ripartizioniCount" type="string"][SIZE_OF varname="ripartizioniIterable" /][/VAR]
|
||||
|
||||
[IF]
|
||||
[CONDITION][CONTAINS varname="ripartizioniConcat" value="codiceFiscaleProponente" /][/CONDITION]
|
||||
[THEN][% ripartizioniCount = ripartizioniCount - 1; %][/THEN]
|
||||
[/IF]
|
||||
|
||||
[%= ripartizioniConcat %]
|
||||
[%= newline %]
|
||||
[%= codiceFiscaleProponente %]
|
||||
[%= newline %]
|
||||
[%= ripartizioniCount %]
|
||||
[/EFTL]
|
||||
`;
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);
|
||||
|
||||
bru.setVar("elixBase64EftlDocument", base64EncodedDocument);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+66
@@ -0,0 +1,66 @@
|
||||
info:
|
||||
name: Numero ripartizioni da form partecipanti
|
||||
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: "19758"
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"userDocument\": \"{{elixBase64EftlDocument}}\", // see the pre-request script\r
|
||||
|
||||
\ \"userContext\": {\r
|
||||
|
||||
\ \"lang\": \"IT\",\r
|
||||
|
||||
\ \"crlf\": \"\\r\\n\"\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: "// Copy-pasta your EFTL document below inside the template literals (`)\r
|
||||
|
||||
var eftlDocumentToBeProcessed = String.raw`\r
|
||||
|
||||
[EFTL][HEADER name=\"trimDocument\" value=\"true\" type=\"boolean\" /]\r
|
||||
|
||||
[VAR name=\"ripartizioniIterable\" type=\"iterable\"][SPLIT regex=\"#\"][TAG]SCHEMAID,538,COL0005,ID_OBJECT,,#[/TAG][/SPLIT][/VAR]\r
|
||||
|
||||
[VAR name=\"ripartizioniCount\" type=\"string\"][SIZE_OF varname=\"ripartizioniIterable\" /][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[%= ripartizioniCount %]\r
|
||||
|
||||
[/EFTL]\r
|
||||
|
||||
`;\r
|
||||
|
||||
\r
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);\r
|
||||
|
||||
\r
|
||||
|
||||
bru.setVar(\"elixBase64EftlDocument\", base64EncodedDocument);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+88
@@ -0,0 +1,88 @@
|
||||
info:
|
||||
name: Partecipanti per Qualifica
|
||||
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: "22085"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT",
|
||||
"crlf": "\r\n",
|
||||
"qualificheDocenti": ";Docente;Ricercatore;"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: |-
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
var eftlDocumentToBeProcessed = String.raw`
|
||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||
[!-- Must be defined in EftlSolver attribute! --]
|
||||
[VAR name="newLine" type="string"][VALUE_OF varname="crlf" /][/VAR]
|
||||
[VAR name="qualificheDocentiIterable" type="iterable"][SPLIT regex=";"][VALUE_OF varname="qualificheDocenti" /][/SPLIT][/VAR]
|
||||
|
||||
[VAR name="responsabiliScientifici" type="string"][TAG]GETVALUEBYTAG,CONTRATTO_RESPONSABILI,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[VAR name="partecipanti" type="string"][TAG]GETVALUEBYTAG,CONTRATTO_PARTECIPANTI,REQUEST,IUQOID[/TAG][/VAR]
|
||||
|
||||
[VAR name="soggettiIterable" type="iterable"][SPLIT regex="\n"][% responsabiliScientifici + newLine + partecipanti %][/SPLIT][/VAR]
|
||||
|
||||
[VAR name="elencoCodFisPersonaleDocente" type="string"][% elencoCodFisPersonaleDocente = ";"; %]][/VAR]
|
||||
[VAR name="elencoCodFisPersonaleAltro" type="string"][% elencoCodFisPersonaleAltro = ";"; %]][/VAR]
|
||||
|
||||
[VAR name="firstItem" type="number"][% firstItem = 0; %][/VAR]
|
||||
[VAR name="secondItem" type="number"][% secondItem = 1; %][/VAR]
|
||||
|
||||
[FOR varname="persona" iterable="soggettiIterable"]
|
||||
[!-- Estraggo il Codice Fiscale --]
|
||||
[VAR name="personaIterable" type="iterable"][SPLIT regex=", CF: "][TRIM][VALUE_OF varname="persona" /][/TRIM][/SPLIT][/VAR]
|
||||
[VAR name="personaRight" type="string"][VALUE_OF varname="personaIterable" index="secondItem" /][/VAR]
|
||||
[VAR name="personaIterable" type="iterable"][SPLIT regex=", Qualifica: "][TRIM][VALUE_OF varname="personaRight" /][/TRIM][/SPLIT][/VAR]
|
||||
[VAR name="codiceFiscale" type="string"][VALUE_OF varname="personaIterable" index="firstItem" /][/VAR]
|
||||
[!-- Estraggo la Qualifica --]
|
||||
[VAR name="personaRight" type="string"][VALUE_OF varname="personaIterable" index="secondItem" /][/VAR]
|
||||
[VAR name="personaIterable" type="iterable"][SPLIT regex=", Struttura di afferenza: "][TRIM][VALUE_OF varname="personaRight" /][/TRIM][/SPLIT][/VAR]
|
||||
[VAR name="qualifica" type="string"][VALUE_OF varname="personaIterable" index="firstItem" /][/VAR]
|
||||
|
||||
[IF]
|
||||
[CONDITION][CONTAINS varname="qualificheDocentiIterable" value="qualifica" /][/CONDITION]
|
||||
[THEN][% elencoCodFisPersonaleDocente = elencoCodFisPersonaleDocente + codiceFiscale + ";"; %][/THEN]
|
||||
[ELSE][% elencoCodFisPersonaleAltro = elencoCodFisPersonaleAltro + codiceFiscale + ";"; %][/ELSE]
|
||||
[/IF]
|
||||
[/FOR]
|
||||
|
||||
|
||||
|
||||
[%= "Docenti: " elencoCodFisPersonaleDocente %]
|
||||
[%= newLine %]
|
||||
[%= "Altro: " elencoCodFisPersonaleAltro %]
|
||||
[%= newLine %]
|
||||
[%= newLine %]
|
||||
[%= responsabiliScientifici + newLine + partecipanti %]
|
||||
[/EFTL]
|
||||
`;
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);
|
||||
|
||||
bru.setVar("elixBase64EftlDocument", base64EncodedDocument);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+66
@@ -0,0 +1,66 @@
|
||||
info:
|
||||
name: RS proponente completo (multipli)
|
||||
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: "19758"
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"userDocument\": \"{{elixBase64EftlDocument}}\", // see the pre-request script\r
|
||||
|
||||
\ \"userContext\": {\r
|
||||
|
||||
\ \"lang\": \"IT\",\r
|
||||
|
||||
\ \"crlf\": \"\\r\\n\"\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: "// Copy-pasta your EFTL document below inside the template literals (`)\r
|
||||
|
||||
var eftlDocumentToBeProcessed = String.raw`\r
|
||||
|
||||
[EFTL][HEADER name=\"trimDocument\" value=\"true\" type=\"boolean\" /]\r
|
||||
|
||||
[VAR name=\"rspTitolo\" type=\"string\"][TAG]GETVALUEBYTAG,RSP_TITOLO,REQUEST,IUQOID[/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"rspCognome\" type=\"string\"][TAG]GETVALUEBYTAG,RSP_COGNOME,REQUEST,IUQOID[/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"rspNome\" type=\"string\"][TAG]GETVALUEBYTAG,RSP_NOME,REQUEST,IUQOID[/TAG][/VAR]\r
|
||||
|
||||
[%= rspTitolo + \" \" + rspCognome + \" \" rspNome %]\r
|
||||
|
||||
[/EFTL]\r
|
||||
|
||||
`;\r
|
||||
|
||||
\r
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);\r
|
||||
|
||||
\r
|
||||
|
||||
bru.setVar(\"elixBase64EftlDocument\", base64EncodedDocument);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: CCT - Liquidazione Compensi
|
||||
type: folder
|
||||
seq: 3
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
+65
@@ -0,0 +1,65 @@
|
||||
info:
|
||||
name: Calcolo D.1.3 5% con virgole
|
||||
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: "22737"
|
||||
disabled: true
|
||||
- name: x-ef-request-id
|
||||
value: "22224"
|
||||
disabled: true
|
||||
- name: x-ef-request-id
|
||||
value: "22748"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT",
|
||||
"crlf": "\r\n",
|
||||
"qualificheDocenti": ";Docente;Ricercatore;"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: |-
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
var eftlDocumentToBeProcessed = String.raw`
|
||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||
[VAR name="D1_1" type="number"][TAG]GETVALUEBYTAG,PROPOSTA_CCT_CONTRATTO_D_1_1,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[VAR name="D1_2" type="number"][TAG]GETVALUEBYTAG,PROPOSTA_CCT_CONTRATTO_D_1_2,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[VAR name="A" type="number"][TAG]SCHEMAID,338,COL0001,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="D1_3" type="number"][% D1_3 = D1_1 + D1_2 - (A * 0.20); %][/VAR]
|
||||
[VAR name="QuotaAteneo" type="number"][% QuotaAteneo = 0; %][/VAR]
|
||||
|
||||
[IF]
|
||||
[CONDITION][% D1_3 > 0 %][/CONDITION]
|
||||
[THEN][% QuotaAteneo = D1_3 * 0.05; %][/THEN]
|
||||
[/IF]
|
||||
|
||||
[FORMAT type="number" pattern="#,##0.00"][% QuotaAteneo %][/FORMAT]
|
||||
[/EFTL]
|
||||
`;
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);
|
||||
|
||||
bru.setVar("elixBase64EftlDocument", base64EncodedDocument);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
info:
|
||||
name: Calcolo D.1.3 con virgole
|
||||
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: "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: "22754"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT",
|
||||
"crlf": "\r\n",
|
||||
"qualificheDocenti": ";Docente;Ricercatore;"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: |-
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
var eftlDocumentToBeProcessed = String.raw`
|
||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||
[VAR name="ceiling" type="string"][TAG]GETVALUEBYTAG,CORRISPETTIVO_CEILING,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[!-- HACK per numeri corretti!!!1! --]
|
||||
[VAR name="ceilingIterable" type="iterable"][SPLIT regex="\."][TAG]GETVALUEBYTAG,CORRISPETTIVO_CEILING,REQUEST,IUQOID[/TAG][/SPLIT][/VAR]
|
||||
[VAR name="first" type="number"][% first = 0; %][/VAR]
|
||||
[VAR name="second" type="number"][% second = 1; %][/VAR]
|
||||
[VAR name="ceilingInteger" type="string"][VALUE_OF varname="ceilingIterable" index="first" /][/VAR]
|
||||
[VAR name="ceilingDecimal" type="string"][VALUE_OF varname="ceilingIterable" index="second" /][/VAR]
|
||||
[IF][CONDITION][IS_EMPTY varname="ceilingDecimal" /][/CONDITION][THEN][% ceilingDecimal = "00"; %][/THEN][/IF]
|
||||
[VAR name="ceilingNumber" type="number"][% ceilingNumber = ceilingInteger + "," + ceilingDecimal; %][/VAR]
|
||||
|
||||
[%= ceilingNumber %]
|
||||
[%= " --- " %]
|
||||
[%= ceilingNumber * 0.20 %]
|
||||
[%= " --- " %]
|
||||
[%= ceiling %]
|
||||
[%= " --- " %]
|
||||
[%= ceilingInteger %]
|
||||
[%= " --- " %]
|
||||
[%= ceilingDecimal %]
|
||||
|
||||
[VAR name="numberIterable" type="iterable"][SPLIT regex="\."][TAG]SCHEMAID,341,COL0009,IUQOID, , [/TAG][/SPLIT][/VAR]
|
||||
[VAR name="first" type="number"][% first = 0; %][/VAR]
|
||||
[VAR name="second" type="number"][% second = 1; %][/VAR]
|
||||
[VAR name="numberIntegerPart" type="string"][VALUE_OF varname="numberIterable" index="first" /][/VAR]
|
||||
[VAR name="numberDecimalPart" type="string"][VALUE_OF varname="numberIterable" index="second" /][/VAR]
|
||||
[IF][CONDITION][IS_EMPTY varname="numberDecimalPart" /][/CONDITION][THEN][% numberDecimalPart = "00"; %][/THEN][/IF]
|
||||
[VAR name="valueAsNumber" type="number"][% valueAsNumber = numberIntegerPart + "," + numberDecimalPart; %][/VAR]
|
||||
|
||||
[VAR name="fattoreRitenuta2max" type="number"][TAG]SCHEMAID,341,COL0030,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="ritenuta2max" type="number"][% ritenuta2max = valueAsNumber * fattoreRitenuta2max; %][/VAR]
|
||||
[VAR name="ritenuta2maxMessage" type="string"][% ritenuta2maxMessage = "L'importo massimo (2%) dell'ulteriore ritenuta deliberata dalla struttura è: " + ritenuta2max + " €"; %][/VAR]
|
||||
|
||||
[%= ritenuta2maxMessage %]
|
||||
[/EFTL]
|
||||
`;
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);
|
||||
|
||||
bru.setVar("elixBase64EftlDocument", base64EncodedDocument);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+136
@@ -0,0 +1,136 @@
|
||||
info:
|
||||
name: Codice Contratto con caratteri strani
|
||||
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: "16204"
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"userDocument\": \"{{elixBase64EftlDocument}}\", // see the pre-request script\r
|
||||
|
||||
\ \"userContext\": {\r
|
||||
|
||||
\ \"lang\": \"IT\",\r
|
||||
|
||||
\ \"itemCodiceContratto\": \"CRIS_G_25_CCS_IST_RA_UNIVERSITÀPOLITECNICADELL_01\"\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: "// Copy-pasta your EFTL document below inside the template literals (`)\r
|
||||
|
||||
var eftlDocumentToBeProcessed = String.raw`\r
|
||||
|
||||
[EFTL][HEADER name=\"trimDocument\" value=\"true\" type=\"boolean\" /]\r
|
||||
|
||||
[VAR name=\"codiceContratto\" type=\"string\"][VALUE_OF varname=\"itemCodiceContratto\" /][/VAR]\r
|
||||
|
||||
[VAR name=\"debug\" type=\"boolean\"][% debug = false; %][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[!-- Titolo contratto ha il formato \"[codice_contratto] titolo\" --]\r
|
||||
|
||||
[!-- La prima split fatta per \"\\] \" mi restituisce \"[codice_contratto\" --]\r
|
||||
|
||||
[VAR name=\"firstSplit\" type=\"iterable\"][SPLIT regex=\"\\] \"][VALUE_OF varname=\"itemCodiceContratto\" /][/SPLIT][/VAR]\r
|
||||
|
||||
[VAR name=\"firstSplitIdx\"][% firstSplitIdx = 0; %][/VAR]\r
|
||||
|
||||
[!-- La seconda split fatta per \"\\[\" mi restituisce \"codice_contratto\" --]\r
|
||||
|
||||
[VAR name=\"secondSplit\" type=\"iterable\"][SPLIT regex=\"\\[\"][VALUE_OF varname=\"firstSplit\" index=\"firstSplitIdx\" /][/SPLIT][/VAR]\r
|
||||
|
||||
[VAR name=\"secondSplitIdx\"][% secondSplitIdx = 1; %][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[VAR name=\"condizione\"][SIZE_OF varname=\"secondSplit\" /][/VAR]\r
|
||||
|
||||
[IF]\r
|
||||
|
||||
\ [CONDITION][% condizione > 1 %][/CONDITION]\r
|
||||
|
||||
\ [THEN]\r
|
||||
|
||||
\ [VAR name=\"codiceContratto\" type=\"string\"][VALUE_OF varname=\"secondSplit\" index=\"secondSplitIdx\" /][/VAR]\r
|
||||
|
||||
\ [/THEN]\r
|
||||
|
||||
[/IF]\r
|
||||
|
||||
\r
|
||||
|
||||
[VAR name=\"codiceContrattoSplit\" type=\"iterable\"][SPLIT regex=\"Ã\"][VALUE_OF varname=\"codiceContratto\" /][/SPLIT][/VAR]\r
|
||||
|
||||
[VAR name=\"condizioneSplit\"][SIZE_OF varname=\"codiceContrattoSplit\" /][/VAR]\r
|
||||
|
||||
[IF]\r
|
||||
|
||||
\ [CONDITION][% condizioneSplit > 1 %][/CONDITION]\r
|
||||
|
||||
\ [THEN]\r
|
||||
|
||||
\ [% debug = true; %]\r
|
||||
|
||||
\ [VAR name=\"codiceContrattoSplitFirst\" type=\"string\"][VALUE_OF varname=\"codiceContrattoSplit\" index=\"firstSplitIdx\" /][/VAR]\r
|
||||
|
||||
\ [VAR name=\"codiceContrattoSplitSecond\" type=\"string\"][VALUE_OF varname=\"codiceContrattoSplit\" index=\"secondSplitIdx\" /][/VAR]\r
|
||||
|
||||
\ [% codiceContratto = codiceContrattoSplitFirst + \"%C3%80\" + codiceContrattoSplitSecond; %]\r
|
||||
|
||||
\ [/THEN]\r
|
||||
|
||||
[/IF]\r
|
||||
|
||||
\r
|
||||
|
||||
<html>\r
|
||||
|
||||
<ul>\r
|
||||
|
||||
<li>[%= codiceContratto %]</li>\r
|
||||
|
||||
<li>[%= codiceContrattoSplit %]</li>\r
|
||||
|
||||
<li>[%= debug %]</li>\r
|
||||
|
||||
</ul>\r
|
||||
|
||||
</html>\r
|
||||
|
||||
[/EFTL]\r
|
||||
|
||||
`;\r
|
||||
|
||||
\r
|
||||
|
||||
console.log(eftlDocumentToBeProcessed);\r
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);\r
|
||||
|
||||
\r
|
||||
|
||||
bru.setVar(\"elixBase64EftlDocument\", base64EncodedDocument);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+194
@@ -0,0 +1,194 @@
|
||||
info:
|
||||
name: Contratto IS economico
|
||||
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: "8463"
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"userDocument\": \"{{elixBase64EftlDocument}}\", // see the pre-request script\r
|
||||
|
||||
\ \"userContext\": {\r
|
||||
|
||||
\ \"lang\": \"IT\",\r
|
||||
|
||||
\ \"docs\": [\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"name\": \"doc1\",\r
|
||||
|
||||
\ \"quantity\": 3,\r
|
||||
|
||||
\ \"price\": 123.3\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"name\": \"doc2\",\r
|
||||
|
||||
\ \"quantity\": 5,\r
|
||||
|
||||
\ \"price\": 213.3\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"name\": \"doc3\",\r
|
||||
|
||||
\ \"quantity\": 10,\r
|
||||
|
||||
\ \"price\": 321.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ ],\r
|
||||
|
||||
\ \"docsAsEntities\": [\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"eftlEntityType\": \"com.anthesi.elixforms.api.eftl.model.mock.EftlDoc\",\r
|
||||
|
||||
\ \"eftlEntity\": {\r
|
||||
|
||||
\ \"name\": \"doc1\",\r
|
||||
|
||||
\ \"quantity\": 3,\r
|
||||
|
||||
\ \"price\": 123.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"eftlEntityType\": \"com.anthesi.elixforms.api.eftl.model.mock.EftlDoc\",\r
|
||||
|
||||
\ \"eftlEntity\": {\r
|
||||
|
||||
\ \"name\": \"doc2\",\r
|
||||
|
||||
\ \"quantity\": 5,\r
|
||||
|
||||
\ \"price\": 213.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"eftlEntityType\": \"com.anthesi.elixforms.api.eftl.model.mock.EftlDoc\",\r
|
||||
|
||||
\ \"eftlEntity\": {\r
|
||||
|
||||
\ \"name\": \"doc3\",\r
|
||||
|
||||
\ \"quantity\": 10,\r
|
||||
|
||||
\ \"price\": 321.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ ],\r
|
||||
|
||||
\ \"singleEntity\": {\r
|
||||
|
||||
\ \"eftlEntityType\": \"com.anthesi.elixforms.api.eftl.model.mock.EftlDoc\",\r
|
||||
|
||||
\ \"eftlEntity\": {\r
|
||||
|
||||
\ \"name\": \"doc1\",\r
|
||||
|
||||
\ \"quantity\": 3,\r
|
||||
|
||||
\ \"price\": 123.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ \"simpleList\": [\r
|
||||
|
||||
\ \"s1\",\r
|
||||
|
||||
\ \"s2\",\r
|
||||
|
||||
\ \"s3\"\r
|
||||
|
||||
\ ],\r
|
||||
|
||||
\ \"docsSize\": 3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: "// Copy-pasta your EFTL document below inside the template literals (`)\r
|
||||
|
||||
var eftlDocumentToBeProcessed = `\r
|
||||
|
||||
[EFTL][HEADER name=\"trimDocument\" value=\"true\" type=\"boolean\" /]\r
|
||||
|
||||
[VAR name=\"tipologiaCodice\" type=\"string\"][TAG]GETVALUEBYTAG,TIPOLOGIA_CODICE,REQUEST,IUQOID[/TAG][/VAR]\r
|
||||
|
||||
[VAR name=\"isEconomico\" type=\"boolean\"][% isEconomico = true; %][/VAR]\r
|
||||
|
||||
[VAR name=\"tipologieNonEconomico\" type=\"iterable\"][SPLIT regex=\";\"][TAG]GETVALUEBYTAG,TIPOLOGIE_NON_ECONOMICO,REQUEST,IUQOID[/TAG][/SPLIT][/VAR]\r
|
||||
|
||||
\r
|
||||
|
||||
[IF]\r
|
||||
|
||||
\ [CONDITION]\r
|
||||
|
||||
\ [CONTAINS varname=\"tipologieNonEconomico\"][VALUE_OF varname=\"tipologiaCodice\" /][/CONTAINS]\r
|
||||
|
||||
\ [/CONDITION]\r
|
||||
|
||||
\ [THEN][% isEconomico = false; %][/THEN]\r
|
||||
|
||||
[/IF]\r
|
||||
|
||||
\r
|
||||
|
||||
[%= isEconomico %]\r
|
||||
|
||||
[/EFTL]\r
|
||||
|
||||
`;\r
|
||||
|
||||
\r
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);\r
|
||||
|
||||
\r
|
||||
|
||||
bru.setVar(\"elixBase64EftlDocument\", base64EncodedDocument);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+82
@@ -0,0 +1,82 @@
|
||||
info:
|
||||
name: Messaggio ritenute massime
|
||||
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: "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: "22754"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT",
|
||||
"crlf": "\r\n",
|
||||
"qualificheDocenti": ";Docente;Ricercatore;"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: |-
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
var eftlDocumentToBeProcessed = String.raw`
|
||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||
[VAR name="C_B3" type="number"][TAG]GETVALUEBYTAG,C_B3,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[VAR name="D1_1" type="number"][TAG]GETVALUEBYTAG,PROPOSTA_CCT_CONTRATTO_D_1_1,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[VAR name="D1_2" type="number"][TAG]GETVALUEBYTAG,PROPOSTA_CCT_CONTRATTO_D_1_2,REQUEST,IUQOID[/TAG][/VAR]
|
||||
|
||||
[VAR name="numberIterable" type="iterable"][SPLIT regex="\."][TAG]GETVALUEBYTAG,PROPOSTA_CCT_CONTRATTO_A,REQUEST,IUQOID[/TAG][/SPLIT][/VAR]
|
||||
[VAR name="first" type="number"][% first = 0; %][/VAR]
|
||||
[VAR name="second" type="number"][% second = 1; %][/VAR]
|
||||
[VAR name="numberIntegerPart" type="string"][VALUE_OF varname="numberIterable" index="first" /][/VAR]
|
||||
[VAR name="numberDecimalPart" type="string"][VALUE_OF varname="numberIterable" index="second" /][/VAR]
|
||||
[IF][CONDITION][IS_EMPTY varname="numberDecimalPart" /][/CONDITION][THEN][% numberDecimalPart = "00"; %][/THEN][/IF]
|
||||
[VAR name="A" type="number"][% A = numberIntegerPart + "," + numberDecimalPart; %][/VAR]
|
||||
|
||||
[VAR name="D1_3" type="number"][% D1_3 = D1_1 + D1_2 - (A * 0.20); %][/VAR]
|
||||
[VAR name="QuotaAteneo" type="number"][% QuotaAteneo = 0; %][/VAR]
|
||||
|
||||
[IF]
|
||||
[CONDITION][% D1_3 > 0 %][/CONDITION]
|
||||
[THEN][% QuotaAteneo = D1_3 * 0.05; %][/THEN]
|
||||
[/IF]
|
||||
|
||||
[VAR name="D2" type="number"][% D2 = C_B3 - D1_1 - D1_2 - (2 * QuotaAteneo); %][/VAR]
|
||||
|
||||
[FORMAT type="number" pattern="#,##0.00"][% D2 %][/FORMAT]
|
||||
[/EFTL]
|
||||
`;
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);
|
||||
|
||||
bru.setVar("elixBase64EftlDocument", base64EncodedDocument);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: CCT - Proposta Operatore
|
||||
type: folder
|
||||
seq: 1
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
@@ -0,0 +1,756 @@
|
||||
info:
|
||||
name: Process EFTL
|
||||
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: "7792"
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"userDocument\": \"{{elixBase64EftlDocument}}\", // see the pre-request script\r
|
||||
|
||||
\ \"userContext\": {\r
|
||||
|
||||
\ \"lang\": \"IT\",\r
|
||||
|
||||
\ \"docs\": [\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"name\": \"doc1\",\r
|
||||
|
||||
\ \"quantity\": 3,\r
|
||||
|
||||
\ \"price\": 123.3\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"name\": \"doc2\",\r
|
||||
|
||||
\ \"quantity\": 5,\r
|
||||
|
||||
\ \"price\": 213.3\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"name\": \"doc3\",\r
|
||||
|
||||
\ \"quantity\": 10,\r
|
||||
|
||||
\ \"price\": 321.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ ],\r
|
||||
|
||||
\ \"docsAsEntities\": [\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"eftlEntityType\": \"com.anthesi.elixforms.api.eftl.model.mock.EftlDoc\",\r
|
||||
|
||||
\ \"eftlEntity\": {\r
|
||||
|
||||
\ \"name\": \"doc1\",\r
|
||||
|
||||
\ \"quantity\": 3,\r
|
||||
|
||||
\ \"price\": 123.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"eftlEntityType\": \"com.anthesi.elixforms.api.eftl.model.mock.EftlDoc\",\r
|
||||
|
||||
\ \"eftlEntity\": {\r
|
||||
|
||||
\ \"name\": \"doc2\",\r
|
||||
|
||||
\ \"quantity\": 5,\r
|
||||
|
||||
\ \"price\": 213.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"eftlEntityType\": \"com.anthesi.elixforms.api.eftl.model.mock.EftlDoc\",\r
|
||||
|
||||
\ \"eftlEntity\": {\r
|
||||
|
||||
\ \"name\": \"doc3\",\r
|
||||
|
||||
\ \"quantity\": 10,\r
|
||||
|
||||
\ \"price\": 321.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ ],\r
|
||||
|
||||
\ \"singleEntity\": {\r
|
||||
|
||||
\ \"eftlEntityType\": \"com.anthesi.elixforms.api.eftl.model.mock.EftlDoc\",\r
|
||||
|
||||
\ \"eftlEntity\": {\r
|
||||
|
||||
\ \"name\": \"doc1\",\r
|
||||
|
||||
\ \"quantity\": 3,\r
|
||||
|
||||
\ \"price\": 123.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ \"simpleList\": [\r
|
||||
|
||||
\ \"s1\",\r
|
||||
|
||||
\ \"s2\",\r
|
||||
|
||||
\ \"s3\"\r
|
||||
|
||||
\ ],\r
|
||||
|
||||
\ \"docsSize\": 3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: "// Copy-pasta your EFTL document below inside the template literals (`)\r
|
||||
|
||||
var eftlDocumentToBeProcessed = `\r
|
||||
|
||||
<html>\r
|
||||
|
||||
<!-- codice NON processato da EFTL -->\r
|
||||
|
||||
<head>\r
|
||||
|
||||
</head>\r
|
||||
|
||||
<body style=\"font-family: Tahoma, Verdana, Segoe, sans-serif; font-size: 12px; fontstyle: normal; line-height: 19.6px;\">\r
|
||||
|
||||
<p style=\"text-align: center; font-size: 13pt; padding-top: 5pt;\">\r
|
||||
|
||||
<a href=\"#ITALIANO\">VERSIONE ITALIANA</a></p>\r
|
||||
|
||||
<p style=\"padding-bottom: 5pt;\"> </p>\r
|
||||
|
||||
<h2 align=\"center\"><strong>[TAG]SCHEMAID,341,COL0005,IUQOID, , [/TAG]</strong></h2>\r
|
||||
|
||||
<p style=\"text-align: center; font-size: 14pt; padding-top: 25pt;\">Tipologia: <strong>[TAG]SCHEMAID,341,COL0003,IUQOID, , [/TAG]</strong></p>\r
|
||||
|
||||
<p style=\"text-align: center; font-size: 14pt; padding-top: 25pt;\">Corrispettivo: <strong>[TAG]SCHEMAID,341,COL0009,IUQOID, , [/TAG]</strong></p>\r
|
||||
|
||||
<p style=\"text-align: center; font-size: 14pt; padding-top: 5pt;\">Decreto del Rettore</p>\r
|
||||
|
||||
<hr />\r
|
||||
|
||||
\r
|
||||
|
||||
<!-- Questo invece è processato -->\r
|
||||
|
||||
[EFTL]\r
|
||||
|
||||
<h2 align=\"center\"><strong>[TAG]SCHEMAID,341,COL0005,IUQOID, , [/TAG]</strong></h2>\r
|
||||
|
||||
<p style=\"text-align: center; font-size: 14pt; padding-top: 25pt;\">Tipologia: <strong>[TAG]SCHEMAID,341,COL0003,IUQOID, , [/TAG]</strong></p>\r
|
||||
|
||||
<p style=\"text-align: center; font-size: 14pt; padding-top: 25pt;\">Corrispettivo: <strong>[TAG]SCHEMAID,341,COL0009,IUQOID, , [/TAG]</strong></p>\r
|
||||
|
||||
[/EFTL]\r
|
||||
|
||||
\r
|
||||
|
||||
...\r
|
||||
|
||||
\r
|
||||
|
||||
[eftl] [!-- Inizio blocco EFTL --]\r
|
||||
|
||||
[!-- Blocco di codice riportato in output come scrittura non EFTL --]\r
|
||||
|
||||
<tag>testo tra tag html</tag> [!-- Blocco di codice riportato in output come scrittura non EFTL --]\r
|
||||
|
||||
testo senza tags\r
|
||||
|
||||
[VAR name=\"i\" type=\"number\"] [!-- Inizio blocco VAR per la definizione di una variabile --]\r
|
||||
|
||||
[% i = 0; %] [!-- Blocco di assegnazione valore ad una variabile --]\r
|
||||
|
||||
[/VAR]\r
|
||||
|
||||
<p>un po' di testo che verrà riportato</p> [!-- Blocco di codice riportato in output come scrittura non EFTL --]\r
|
||||
|
||||
[!-- Inizio blocco if/then/elese --]\r
|
||||
|
||||
[IF]\r
|
||||
|
||||
[CONDITION] [!-- Condizione del blocco IF da valutare: risultato aspettato di tipo booleano --]\r
|
||||
|
||||
[% lang == \"IT\" %]\r
|
||||
|
||||
[/CONDITION]\r
|
||||
|
||||
[THEN] [!-- Se blocco condizione true --]\r
|
||||
|
||||
\r
|
||||
|
||||
[FOR varName=\"doc\" iterable=\"docs\"]\r
|
||||
|
||||
doc: [%= doc %]\r
|
||||
|
||||
[/FOR]\r
|
||||
|
||||
\r
|
||||
|
||||
[!-- Condizione Blocco while --]\r
|
||||
|
||||
[WHILE]\r
|
||||
|
||||
[CONDITION] [% docs != null && i < docsSize %] [/CONDITION]\r
|
||||
|
||||
[DO] [!-- Blocco while da eseguire se condizione è \"true\" --]\r
|
||||
|
||||
<p> value of var \"i\" is: [%= i %]</p>\r
|
||||
|
||||
[FOR varName=\"doc\" iterable=\"docs\"] [!-- Blocco FOR di iterazione --]\r
|
||||
|
||||
doc corrente: [%= doc %] [!-- Blocco esposizione del valore della variabile --]\r
|
||||
|
||||
<strong> Sto ciclando sul documento con nome e prezzo </strong>\r
|
||||
|
||||
\r
|
||||
|
||||
[/FOR]\r
|
||||
|
||||
[% i = i + 1; %] [!-- Blocco di assegnazione valore ad una variabile --]\r
|
||||
|
||||
<p> value of var \"i\" after increment is: [%= i %]</p>\r
|
||||
|
||||
[/DO]\r
|
||||
|
||||
[/WHILE]\r
|
||||
|
||||
[/THEN]\r
|
||||
|
||||
[ELSE] [!-- Se blocco condizione false --]\r
|
||||
|
||||
<strong>fixed-time RESEARCH ASSISTANT CONTRACT/S for COLLABORATION at RESEARCH ACTIVITY</strong>\r
|
||||
|
||||
[/ELSE]\r
|
||||
|
||||
[/IF]\r
|
||||
|
||||
[!-- Fine blocco EFTL --]\r
|
||||
|
||||
[/EFTL]\r
|
||||
|
||||
<!-- codice NON processato da EFTL -->\r
|
||||
|
||||
\r
|
||||
|
||||
...\r
|
||||
|
||||
\r
|
||||
|
||||
<p>testo tra un documento blocco EFTL© e l'altro</p>\r
|
||||
|
||||
\r
|
||||
|
||||
...\r
|
||||
|
||||
\r
|
||||
|
||||
[EFTL] [!-- Inizio 2° blocco EFTL --]\r
|
||||
|
||||
<ol>\r
|
||||
|
||||
<li>\r
|
||||
|
||||
Decreto del rettore del [TAG]SCHEMAID,202,COL0030,ID_OBJECT, , [/TAG] nr. [TAG]SCHEMAID,202,COL0022,ID_OBJECT, , [/TAG]\r
|
||||
|
||||
</li>\r
|
||||
|
||||
<li>\r
|
||||
|
||||
Decreto del rettore nr. [TAG]GETVALUEBYTAG,NUM_PROT,REQUEST,IUQOID[FILTER]ACTION_NAME=pers_a_inviaPerFirmaRemotaBando_facEcon[/FILTER][/TAG] del [TAG]GETVALUEBYTAG,PROVV_DATE,REQUEST,IUQOID[FILTER]ACTION_NAME=pers_a_inviaPerFirmaRemotaBando_facEcon[/FILTER],,,dd/MM/yyyy[/TAG]\r
|
||||
|
||||
</li>\r
|
||||
|
||||
</ol>\r
|
||||
|
||||
<tag>altro tag</tag>\r
|
||||
|
||||
[!-- Fine 2° blocco EFTL --]\r
|
||||
|
||||
[/EFTL]\r
|
||||
|
||||
<!-- codice NON processato da EFTL -->\r
|
||||
|
||||
<p align=\"center\">\r
|
||||
|
||||
<em>Resto del documento...</em>\r
|
||||
|
||||
</p>\r
|
||||
|
||||
<p> </p>\r
|
||||
|
||||
<p>The Rector</p>\r
|
||||
|
||||
<p>Digitally signed</p>\r
|
||||
|
||||
</body>\r
|
||||
|
||||
</html>\r
|
||||
|
||||
`;\r
|
||||
|
||||
\r
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);\r
|
||||
|
||||
\r
|
||||
|
||||
bru.setVar(\"elixBase64EftlDocument\", base64EncodedDocument);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Process EFTL - Success
|
||||
request:
|
||||
url: "{{elixFormsApiUrl}}/eftl/process/v1"
|
||||
method: POST
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-key
|
||||
value: "{{elixFormsWsAuthenticationToken}}"
|
||||
- name: x-ef-request-id
|
||||
value: "7792"
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"userDocument\": \"{{elixBase64EftlDocument}}\", // see the pre-request script\r
|
||||
|
||||
\ \"userContext\": {\r
|
||||
|
||||
\ \"lang\": \"IT\",\r
|
||||
|
||||
\ \"docs\": [\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"name\": \"doc1\",\r
|
||||
|
||||
\ \"quantity\": 3,\r
|
||||
|
||||
\ \"price\": 123.3\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"name\": \"doc2\",\r
|
||||
|
||||
\ \"quantity\": 5,\r
|
||||
|
||||
\ \"price\": 213.3\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"name\": \"doc3\",\r
|
||||
|
||||
\ \"quantity\": 10,\r
|
||||
|
||||
\ \"price\": 321.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ ],\r
|
||||
|
||||
\ \"docsAsEntities\": [\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"eftlEntityType\": \"com.anthesi.elixforms.api.eftl.model.mock.EftlDoc\",\r
|
||||
|
||||
\ \"eftlEntity\": {\r
|
||||
|
||||
\ \"name\": \"doc1\",\r
|
||||
|
||||
\ \"quantity\": 3,\r
|
||||
|
||||
\ \"price\": 123.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"eftlEntityType\": \"com.anthesi.elixforms.api.eftl.model.mock.EftlDoc\",\r
|
||||
|
||||
\ \"eftlEntity\": {\r
|
||||
|
||||
\ \"name\": \"doc2\",\r
|
||||
|
||||
\ \"quantity\": 5,\r
|
||||
|
||||
\ \"price\": 213.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"eftlEntityType\": \"com.anthesi.elixforms.api.eftl.model.mock.EftlDoc\",\r
|
||||
|
||||
\ \"eftlEntity\": {\r
|
||||
|
||||
\ \"name\": \"doc3\",\r
|
||||
|
||||
\ \"quantity\": 10,\r
|
||||
|
||||
\ \"price\": 321.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ ],\r
|
||||
|
||||
\ \"singleEntity\": {\r
|
||||
|
||||
\ \"eftlEntityType\": \"com.anthesi.elixforms.api.eftl.model.mock.EftlDoc\",\r
|
||||
|
||||
\ \"eftlEntity\": {\r
|
||||
|
||||
\ \"name\": \"doc1\",\r
|
||||
|
||||
\ \"quantity\": 3,\r
|
||||
|
||||
\ \"price\": 123.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ \"simpleList\": [\r
|
||||
|
||||
\ \"s1\",\r
|
||||
|
||||
\ \"s2\",\r
|
||||
|
||||
\ \"s3\"\r
|
||||
|
||||
\ ],\r
|
||||
|
||||
\ \"docsSize\": 3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/json;charset=UTF-8
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
- name: transfer-encoding
|
||||
value: chunked
|
||||
- name: vary
|
||||
value: Accept-Encoding
|
||||
- name: content-encoding
|
||||
value: gzip
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"resultNumber": 1,
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EFTL",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.0.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "a6c6d1c6-14fb-457e-bd82-b1cc137f8c95",
|
||||
"version": "3.9.2.21",
|
||||
"processedDocument": "CjxodG1sPgo8IS0tIGNvZGljZSBOT04gcHJvY2Vzc2F0byBkYSBFRlRMIC0tPgo8aGVhZD4KPC9oZWFkPgo8Ym9keSBzdHlsZT0iZm9udC1mYW1pbHk6IFRhaG9tYSwgVmVyZGFuYSwgU2Vnb2UsIHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMTJweDsgZm9udHN0eWxlOiBub3JtYWw7IGxpbmUtaGVpZ2h0OiAxOS42cHg7Ij4KPHAgc3R5bGU9InRleHQtYWxpZ246IGNlbnRlcjsgZm9udC1zaXplOiAxM3B0OyBwYWRkaW5nLXRvcDogNXB0OyI+CjxhIGhyZWY9IiNJVEFMSUFOTyI+VkVSU0lPTkUgSVRBTElBTkE8L2E+PC9wPgo8cCBzdHlsZT0icGFkZGluZy1ib3R0b206IDVwdDsiPiA8L3A+CjxoMiBhbGlnbj0iY2VudGVyIj48c3Ryb25nPltUQUddU0NIRU1BSUQsMzQxLENPTDAwMDUsSVVRT0lELCAsIFsvVEFHXTwvc3Ryb25nPjwvaDI+CjxwIHN0eWxlPSJ0ZXh0LWFsaWduOiBjZW50ZXI7IGZvbnQtc2l6ZTogMTRwdDsgcGFkZGluZy10b3A6IDI1cHQ7Ij5UaXBvbG9naWE6IDxzdHJvbmc+W1RBR11TQ0hFTUFJRCwzNDEsQ09MMDAwMyxJVVFPSUQsICwgWy9UQUddPC9zdHJvbmc+PC9wPgo8cCBzdHlsZT0idGV4dC1hbGlnbjogY2VudGVyOyBmb250LXNpemU6IDE0cHQ7IHBhZGRpbmctdG9wOiAyNXB0OyI+Q29ycmlzcGV0dGl2bzogPHN0cm9uZz5bVEFHXVNDSEVNQUlELDM0MSxDT0wwMDA5LElVUU9JRCwgLCBbL1RBR108L3N0cm9uZz48L3A+CjxwIHN0eWxlPSJ0ZXh0LWFsaWduOiBjZW50ZXI7IGZvbnQtc2l6ZTogMTRwdDsgcGFkZGluZy10b3A6IDVwdDsiPkRlY3JldG8gZGVsIFJldHRvcmU8L3A+CjxociAvPgoKPCEtLSBRdWVzdG8gaW52ZWNlICZlZ3JhdmU7IHByb2Nlc3NhdG8gLS0+Cgo8aDIgYWxpZ249ImNlbnRlciI+PHN0cm9uZz48L3N0cm9uZz48L2gyPgo8cCBzdHlsZT0idGV4dC1hbGlnbjogY2VudGVyOyBmb250LXNpemU6IDE0cHQ7IHBhZGRpbmctdG9wOiAyNXB0OyI+VGlwb2xvZ2lhOiA8c3Ryb25nPjwvc3Ryb25nPjwvcD4KPHAgc3R5bGU9InRleHQtYWxpZ246IGNlbnRlcjsgZm9udC1zaXplOiAxNHB0OyBwYWRkaW5nLXRvcDogMjVwdDsiPkNvcnJpc3BldHRpdm86IDxzdHJvbmc+PC9zdHJvbmc+PC9wPgoKCi4uLgoKIAoKPHRhZz50ZXN0byB0cmEgdGFnIGh0bWw8L3RhZz4gCnRlc3RvIHNlbnphIHRhZ3MKCjxwPnVuIHBvJyBkaSB0ZXN0byBjaGUgdmVyciZhZ3JhdmU7IHJpcG9ydGF0bzwvcD4gCgogCgoKIAo8cD4gdmFsdWUgb2YgdmFyICJpIiBpczogMC4wPC9wPgogCmRvYyBjb3JyZW50ZTogeyJuYW1lIjoiZG9jMSIsInF1YW50aXR5IjozLCJwcmljZSI6MTIzLjN9CjxzdHJvbmc+IFN0byBjaWNsYW5kbyBzdWwgZG9jdW1lbnRvIGNvbiBub21lIGUgcHJlenpvIDwvc3Ryb25nPgogCmRvYyBjb3JyZW50ZTogeyJuYW1lIjoiZG9jMiIsInF1YW50aXR5Ijo1LCJwcmljZSI6MjEzLjN9CjxzdHJvbmc+IFN0byBjaWNsYW5kbyBzdWwgZG9jdW1lbnRvIGNvbiBub21lIGUgcHJlenpvIDwvc3Ryb25nPgogCmRvYyBjb3JyZW50ZTogeyJuYW1lIjoiZG9jMyIsInF1YW50aXR5IjoxMCwicHJpY2UiOjMyMS4zfQo8c3Ryb25nPiBTdG8gY2ljbGFuZG8gc3VsIGRvY3VtZW50byBjb24gbm9tZSBlIHByZXp6byA8L3N0cm9uZz4KCjxwPiB2YWx1ZSBvZiB2YXIgImkiIGFmdGVyIGluY3JlbWVudCBpczogMS4wPC9wPgogCjxwPiB2YWx1ZSBvZiB2YXIgImkiIGlzOiAxLjA8L3A+CiAKZG9jIGNvcnJlbnRlOiB7Im5hbWUiOiJkb2MxIiwicXVhbnRpdHkiOjMsInByaWNlIjoxMjMuM30KPHN0cm9uZz4gU3RvIGNpY2xhbmRvIHN1bCBkb2N1bWVudG8gY29uIG5vbWUgZSBwcmV6em8gPC9zdHJvbmc+CiAKZG9jIGNvcnJlbnRlOiB7Im5hbWUiOiJkb2MyIiwicXVhbnRpdHkiOjUsInByaWNlIjoyMTMuM30KPHN0cm9uZz4gU3RvIGNpY2xhbmRvIHN1bCBkb2N1bWVudG8gY29uIG5vbWUgZSBwcmV6em8gPC9zdHJvbmc+CiAKZG9jIGNvcnJlbnRlOiB7Im5hbWUiOiJkb2MzIiwicXVhbnRpdHkiOjEwLCJwcmljZSI6MzIxLjN9CjxzdHJvbmc+IFN0byBjaWNsYW5kbyBzdWwgZG9jdW1lbnRvIGNvbiBub21lIGUgcHJlenpvIDwvc3Ryb25nPgoKPHA+IHZhbHVlIG9mIHZhciAiaSIgYWZ0ZXIgaW5jcmVtZW50IGlzOiAyLjA8L3A+CiAKPHA+IHZhbHVlIG9mIHZhciAiaSIgaXM6IDIuMDwvcD4KIApkb2MgY29ycmVudGU6IHsibmFtZSI6ImRvYzEiLCJxdWFudGl0eSI6MywicHJpY2UiOjEyMy4zfQo8c3Ryb25nPiBTdG8gY2ljbGFuZG8gc3VsIGRvY3VtZW50byBjb24gbm9tZSBlIHByZXp6byA8L3N0cm9uZz4KIApkb2MgY29ycmVudGU6IHsibmFtZSI6ImRvYzIiLCJxdWFudGl0eSI6NSwicHJpY2UiOjIxMy4zfQo8c3Ryb25nPiBTdG8gY2ljbGFuZG8gc3VsIGRvY3VtZW50byBjb24gbm9tZSBlIHByZXp6byA8L3N0cm9uZz4KIApkb2MgY29ycmVudGU6IHsibmFtZSI6ImRvYzMiLCJxdWFudGl0eSI6MTAsInByaWNlIjozMjEuM30KPHN0cm9uZz4gU3RvIGNpY2xhbmRvIHN1bCBkb2N1bWVudG8gY29uIG5vbWUgZSBwcmV6em8gPC9zdHJvbmc+Cgo8cD4gdmFsdWUgb2YgdmFyICJpIiBhZnRlciBpbmNyZW1lbnQgaXM6IDMuMDwvcD4KCgoKPCEtLSBjb2RpY2UgTk9OIHByb2Nlc3NhdG8gZGEgRUZUTCAtLT4KCi4uLgoKPHA+dGVzdG8gdHJhIHVuIGRvY3VtZW50byBibG9jY28gRUZUTCZjb3B5OyBlIGwnYWx0cm88L3A+CgouLi4KCiAKPG9sPgo8bGk+CkRlY3JldG8gZGVsIHJldHRvcmUgZGVsICBuci4gCjwvbGk+CjxsaT4KRGVjcmV0byBkZWwgcmV0dG9yZSBuci4gIGRlbCAKPC9saT4KPC9vbD4KPHRhZz5hbHRybyB0YWc8L3RhZz4KCgo8IS0tIGNvZGljZSBOT04gcHJvY2Vzc2F0byBkYSBFRlRMIC0tPgo8cCBhbGlnbj0iY2VudGVyIj4KPGVtPlJlc3RvIGRlbCBkb2N1bWVudG8uLi48L2VtPgo8L3A+CjxwPiA8L3A+CjxwPlRoZSBSZWN0b3I8L3A+CjxwPkRpZ2l0YWxseSBzaWduZWQ8L3A+CjwvYm9keT4KPC9odG1sPgo="
|
||||
}
|
||||
}
|
||||
- name: "Process EFTL - TEST #1"
|
||||
request:
|
||||
url: "{{elixFormsApiUrl}}/eftl/process/v1"
|
||||
method: POST
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-key
|
||||
value: "{{elixFormsWsAuthenticationToken}}"
|
||||
- name: x-ef-request-id
|
||||
value: "8463"
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"userDocument\": \"{{elixBase64EftlDocument}}\", // see the pre-request script\r
|
||||
|
||||
\ \"userContext\": {\r
|
||||
|
||||
\ \"lang\": \"IT\",\r
|
||||
|
||||
\ \"docs\": [\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"name\": \"doc1\",\r
|
||||
|
||||
\ \"quantity\": 3,\r
|
||||
|
||||
\ \"price\": 123.3\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"name\": \"doc2\",\r
|
||||
|
||||
\ \"quantity\": 5,\r
|
||||
|
||||
\ \"price\": 213.3\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"name\": \"doc3\",\r
|
||||
|
||||
\ \"quantity\": 10,\r
|
||||
|
||||
\ \"price\": 321.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ ],\r
|
||||
|
||||
\ \"docsAsEntities\": [\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"eftlEntityType\": \"com.anthesi.elixforms.api.eftl.model.mock.EftlDoc\",\r
|
||||
|
||||
\ \"eftlEntity\": {\r
|
||||
|
||||
\ \"name\": \"doc1\",\r
|
||||
|
||||
\ \"quantity\": 3,\r
|
||||
|
||||
\ \"price\": 123.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"eftlEntityType\": \"com.anthesi.elixforms.api.eftl.model.mock.EftlDoc\",\r
|
||||
|
||||
\ \"eftlEntity\": {\r
|
||||
|
||||
\ \"name\": \"doc2\",\r
|
||||
|
||||
\ \"quantity\": 5,\r
|
||||
|
||||
\ \"price\": 213.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ {\r
|
||||
|
||||
\ \"eftlEntityType\": \"com.anthesi.elixforms.api.eftl.model.mock.EftlDoc\",\r
|
||||
|
||||
\ \"eftlEntity\": {\r
|
||||
|
||||
\ \"name\": \"doc3\",\r
|
||||
|
||||
\ \"quantity\": 10,\r
|
||||
|
||||
\ \"price\": 321.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ ],\r
|
||||
|
||||
\ \"singleEntity\": {\r
|
||||
|
||||
\ \"eftlEntityType\": \"com.anthesi.elixforms.api.eftl.model.mock.EftlDoc\",\r
|
||||
|
||||
\ \"eftlEntity\": {\r
|
||||
|
||||
\ \"name\": \"doc1\",\r
|
||||
|
||||
\ \"quantity\": 3,\r
|
||||
|
||||
\ \"price\": 123.3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ },\r
|
||||
|
||||
\ \"simpleList\": [\r
|
||||
|
||||
\ \"s1\",\r
|
||||
|
||||
\ \"s2\",\r
|
||||
|
||||
\ \"s3\"\r
|
||||
|
||||
\ ],\r
|
||||
|
||||
\ \"docsSize\": 3\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/json;charset=UTF-8
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
- name: transfer-encoding
|
||||
value: chunked
|
||||
- name: vary
|
||||
value: Accept-Encoding
|
||||
- name: content-encoding
|
||||
value: gzip
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"resultNumber": 1,
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EFTL",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.0.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "ffaa1626-1841-41cd-8b7e-827b171e439e",
|
||||
"version": "3.9.2.21",
|
||||
"processedDocument": "ZmFsc2U="
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
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: |-
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
var eftlDocumentToBeProcessed = 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]
|
||||
`;
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);
|
||||
|
||||
bru.setVar("elixBase64EftlDocument", base64EncodedDocument);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,89 @@
|
||||
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: |-
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
var eftlDocumentToBeProcessed = 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]
|
||||
`;
|
||||
|
||||
var base64EncodedDocument = btoa(eftlDocumentToBeProcessed);
|
||||
|
||||
bru.setVar("elixBase64EftlDocument", base64EncodedDocument);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: Test vari
|
||||
type: folder
|
||||
seq: 4
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
@@ -0,0 +1,13 @@
|
||||
info:
|
||||
name: EFTL processing
|
||||
type: folder
|
||||
seq: 10
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
scripts:
|
||||
- type: after-response
|
||||
code: |-
|
||||
const { visualize } = require("./elixFormsJs.js")
|
||||
|
||||
visualize(res);
|
||||
@@ -0,0 +1,365 @@
|
||||
info:
|
||||
name: Get ExportTags
|
||||
type: http
|
||||
seq: 5
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{elixFormsApiUrl}}/request/:request_id/view/:view_name/exportTags/get/v1?exportGroup=TEST"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
disabled: true
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_OPERATORE
|
||||
type: query
|
||||
disabled: true
|
||||
- name: exportGroup
|
||||
value: TEST
|
||||
type: query
|
||||
- name: request_id
|
||||
value: "19943"
|
||||
type: path
|
||||
- name: view_name
|
||||
value: _DEFAULT
|
||||
type: path
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Get ExportTags - Success
|
||||
request:
|
||||
url: "{{elixFormsApiUrl}}/request/:request_id/view/:view_name/exportTags/get/v1?username={{elixFormsApiUsername}}&moduleTag=PROPOSTA_CCT_DOCENTE&exportGroup=PROPOSTA_CCT_DOCENTE_GROUP"
|
||||
method: GET
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_DOCENTE
|
||||
type: query
|
||||
- name: exportGroup
|
||||
value: PROPOSTA_CCT_DOCENTE_GROUP
|
||||
type: query
|
||||
- name: request_id
|
||||
value: "7007"
|
||||
type: path
|
||||
- name: view_name
|
||||
value: _DEFAULT
|
||||
type: path
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/json;charset=UTF-8
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
- name: transfer-encoding
|
||||
value: chunked
|
||||
- name: vary
|
||||
value: Accept-Encoding
|
||||
- name: content-encoding
|
||||
value: gzip
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.0.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "79ac308f-da1a-48ff-90f0-49f5f21a65e8",
|
||||
"version": "3.9.2.17",
|
||||
"exportTags": [
|
||||
{
|
||||
"name": "contratto.Titolo",
|
||||
"value": "Titolo"
|
||||
},
|
||||
{
|
||||
"name": "contratto.corrispettivo",
|
||||
"value": "12500"
|
||||
},
|
||||
{
|
||||
"name": "contratto.durataInMesi",
|
||||
"value": "17"
|
||||
}
|
||||
],
|
||||
"requestSize": 3
|
||||
}
|
||||
}
|
||||
- name: Get ExportTags - Not Found
|
||||
request:
|
||||
url: "{{elixFormsApiUrl}}/request/:request_id/view/:view_name/exportTags/get/v1?username={{elixFormsApiUsername}}&moduleTag=xyz&exportGroup=API"
|
||||
method: GET
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
- name: moduleTag
|
||||
value: xyz
|
||||
type: query
|
||||
- name: exportGroup
|
||||
value: API
|
||||
type: query
|
||||
- name: request_id
|
||||
value: "6502"
|
||||
type: path
|
||||
- name: view_name
|
||||
value: _DEFAULT
|
||||
type: path
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/json;charset=UTF-8
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
- name: transfer-encoding
|
||||
value: chunked
|
||||
- name: vary
|
||||
value: Accept-Encoding
|
||||
- name: content-encoding
|
||||
value: gzip
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "WARNING",
|
||||
"description": "Nessuna pratica trovata per l'id 6502",
|
||||
"complete": true,
|
||||
"globalStatus": "WARNING",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.0.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "WARNING",
|
||||
"description": "Nessuna pratica trovata per l'id 6502",
|
||||
"detailStatus": "WARNING"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "dbd5d36e-0663-4446-99ba-26a119c7aad6",
|
||||
"version": "3.9.2.17",
|
||||
"requestSize": 0
|
||||
}
|
||||
}
|
||||
- name: Get ExportTags - Success
|
||||
request:
|
||||
url: "{{elixFormsApiUrl}}/request/:request_id/view/:view_name/exportTags/get/v1?username={{elixFormsApiUsername}}&moduleTag=PROPOSTA_CCT_OPERATORE&exportGroup=PROPOSTA_CCT_OPERATORE"
|
||||
method: GET
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_OPERATORE
|
||||
type: query
|
||||
- name: exportGroup
|
||||
value: PROPOSTA_CCT_OPERATORE
|
||||
type: query
|
||||
- name: request_id
|
||||
value: "7792"
|
||||
type: path
|
||||
- name: view_name
|
||||
value: _DEFAULT
|
||||
type: path
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/json;charset=UTF-8
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
- name: transfer-encoding
|
||||
value: chunked
|
||||
- name: vary
|
||||
value: Accept-Encoding
|
||||
- name: content-encoding
|
||||
value: gzip
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.0.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "25b4ed59-0a3d-43d3-8f7e-e26ba6b81a94",
|
||||
"version": "3.9.2.17",
|
||||
"exportTags": [
|
||||
{
|
||||
"name": "contratto.titolo",
|
||||
"value": "Qualifica di software esistente per l’applicazione in \nsistemi critici in conformità ai principali standard di functional safety e cybersecurity"
|
||||
},
|
||||
{
|
||||
"name": "contratto.contraenti",
|
||||
"value": "BUGSENG S.R.L., CF/PIVA: 02592690347, Sede: Via Marco dell’Arpa, 8/B 43121 PARMA (PR) ITALIA"
|
||||
},
|
||||
{
|
||||
"name": "responsabileScientifico.struttura",
|
||||
"value": "Dipartimento di Scienze Matematiche, Fisiche e Informatiche"
|
||||
},
|
||||
{
|
||||
"name": "contratto.altriPartecipanti",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"name": "contratto.struttura",
|
||||
"value": "Dipartimento di Scienze Matematiche, Fisiche e Informatiche"
|
||||
},
|
||||
{
|
||||
"name": "contratto.altriResponsabiliScientifici",
|
||||
"value": "Prof. ARCERI Vincenzo, CF: RCRVCN92S06D284C, Qualifica: Ricercatore, Struttura di afferenza: Dipartimento di Scienze Matematiche, Fisiche e Informatiche, Data di inizio: 20/12/2024, Data di fine: -"
|
||||
},
|
||||
{
|
||||
"name": "responsabileScientifico.nome",
|
||||
"value": "Vincenzo"
|
||||
},
|
||||
{
|
||||
"name": "contratto.IdContratto",
|
||||
"value": "ARCE_V_24_CRCT_RA_01"
|
||||
},
|
||||
{
|
||||
"name": "responsabileScientifico.titoloAccademico",
|
||||
"value": "Prof."
|
||||
},
|
||||
{
|
||||
"name": "responsabileScientifico.qualifica",
|
||||
"value": "Ricercatore"
|
||||
},
|
||||
{
|
||||
"name": "contratto.tipologia",
|
||||
"value": "Contratti di ricerca conto terzi - ricerca applicata"
|
||||
},
|
||||
{
|
||||
"name": "responsabileScientifico.codiceFiscale",
|
||||
"value": "RCRVCN92S06D284C"
|
||||
},
|
||||
{
|
||||
"name": "responsabileScientifico.cognome",
|
||||
"value": "ARCERI"
|
||||
},
|
||||
{
|
||||
"name": "contratto.corrispettivo",
|
||||
"value": "42000"
|
||||
},
|
||||
{
|
||||
"name": "contratto.durataInMesi",
|
||||
"value": "12"
|
||||
}
|
||||
],
|
||||
"requestSize": 15
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,177 @@
|
||||
info:
|
||||
name: Get Request Identifier
|
||||
type: http
|
||||
seq: 3
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{elixFormsApiUrl_Default}}/request/get-id?qrCode=123456"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
description: lo username con cui si è effettuato il login
|
||||
disabled: true
|
||||
- name: qrCode
|
||||
value: "123456"
|
||||
type: query
|
||||
body:
|
||||
type: form-urlencoded
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: after-response
|
||||
code: "function findBinaryColumns(obj) {\r
|
||||
|
||||
\ let binaryColumns = [];\r
|
||||
|
||||
\r
|
||||
|
||||
\ if (Array.isArray(obj)) {\r
|
||||
|
||||
\ obj.forEach(item => {\r
|
||||
|
||||
\ binaryColumns = binaryColumns.concat(findBinaryColumns(item));\r
|
||||
|
||||
\ });\r
|
||||
|
||||
\ } else if (typeof obj === \"object\" && obj !== null) {\r
|
||||
|
||||
\ Object.keys(obj).forEach(key => {\r
|
||||
|
||||
\ if (key === \"columns\" && Array.isArray(obj[key])) {\r
|
||||
|
||||
\ obj[key].forEach(column => {\r
|
||||
|
||||
\ if (column.columnType === \"BINARY\") {\r
|
||||
|
||||
\ binaryColumns.push(column);\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ });\r
|
||||
|
||||
\ } else {\r
|
||||
|
||||
\ binaryColumns = binaryColumns.concat(findBinaryColumns(obj[key]));\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ });\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\r
|
||||
|
||||
\ return binaryColumns;\r
|
||||
|
||||
}\r
|
||||
|
||||
\r
|
||||
|
||||
// Carica il file JSON (sostituisci con il tuo oggetto JSON)\r
|
||||
|
||||
const jsonData = res.getBody();\r
|
||||
|
||||
\r
|
||||
|
||||
// Esegui la ricerca\r
|
||||
|
||||
const binaryColumns = findBinaryColumns(jsonData);\r
|
||||
|
||||
\r
|
||||
|
||||
// Stampa i risultati solo se ne abbiamo trovati (bisogna abilitare la visualizzazione dei Warning nella console Postman)\r
|
||||
|
||||
if (binaryColumns.length > 0) {\r
|
||||
|
||||
\ console.warn(\"Allegati trovati:\", binaryColumns);\r
|
||||
|
||||
}"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Get Request Identifier - Invalid QRCode
|
||||
request:
|
||||
url: "{{elixFormsApiUrl_Default}}/request/get-id?username={{elixFormsApiUsername}}&qrCode=123456"
|
||||
method: GET
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
description: lo username con cui si è effettuato il login
|
||||
- name: qrCode
|
||||
value: "123456"
|
||||
type: query
|
||||
body:
|
||||
type: form-urlencoded
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/it.elixforms.api.v1.2+json;charset=UTF-8
|
||||
- name: content-length
|
||||
value: "441"
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
body:
|
||||
type: text
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "WARNING",
|
||||
"description": "Il qrCode fornito non è valido",
|
||||
"complete": true,
|
||||
"globalStatus": "WARNING",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "WARNING",
|
||||
"description": "Il qrCode fornito non è valido",
|
||||
"detailStatus": "WARNING"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "52de6c90-8b75-4cab-ba37-4d81c567cb86",
|
||||
"version": "3.9.2.17",
|
||||
"size": 0
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,201 @@
|
||||
info:
|
||||
name: Get Request by QRCode
|
||||
type: http
|
||||
seq: 4
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{elixFormsApiUrl_Default}}/request/qrcode/:qrcode/get"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
description: lo username con cui si è effettuato il login
|
||||
disabled: true
|
||||
- name: recordOrder
|
||||
value: NONE
|
||||
type: query
|
||||
description: NONE (default), NEWEST_FIRST, NEWEST_LAST (case sensitive)
|
||||
disabled: true
|
||||
- name: qrcode
|
||||
value: "123456"
|
||||
type: path
|
||||
body:
|
||||
type: form-urlencoded
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: after-response
|
||||
code: "function findBinaryColumns(obj) {\r
|
||||
|
||||
\ let binaryColumns = [];\r
|
||||
|
||||
\r
|
||||
|
||||
\ if (Array.isArray(obj)) {\r
|
||||
|
||||
\ obj.forEach(item => {\r
|
||||
|
||||
\ binaryColumns = binaryColumns.concat(findBinaryColumns(item));\r
|
||||
|
||||
\ });\r
|
||||
|
||||
\ } else if (typeof obj === \"object\" && obj !== null) {\r
|
||||
|
||||
\ Object.keys(obj).forEach(key => {\r
|
||||
|
||||
\ if (key === \"columns\" && Array.isArray(obj[key])) {\r
|
||||
|
||||
\ obj[key].forEach(column => {\r
|
||||
|
||||
\ if (column.columnType === \"BINARY\") {\r
|
||||
|
||||
\ binaryColumns.push(column);\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ });\r
|
||||
|
||||
\ } else {\r
|
||||
|
||||
\ binaryColumns = binaryColumns.concat(findBinaryColumns(obj[key]));\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ });\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\r
|
||||
|
||||
\ return binaryColumns;\r
|
||||
|
||||
}\r
|
||||
|
||||
\r
|
||||
|
||||
// Carica il file JSON (sostituisci con il tuo oggetto JSON)\r
|
||||
|
||||
const jsonData = res.getBody();\r
|
||||
|
||||
\r
|
||||
|
||||
// Esegui la ricerca\r
|
||||
|
||||
const binaryColumns = findBinaryColumns(jsonData);\r
|
||||
|
||||
\r
|
||||
|
||||
// Stampa i risultati solo se ne abbiamo trovati (bisogna abilitare la visualizzazione dei Warning nella console Postman)\r
|
||||
|
||||
if (binaryColumns.length > 0) {\r
|
||||
|
||||
\ console.warn(\"Allegati trovati:\", binaryColumns);\r
|
||||
|
||||
}"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Get Request by QRCode - Invalid QRCode
|
||||
request:
|
||||
url: "{{elixFormsApiUrl_Default}}/request/qrcode/:qrcode/get?username={{elixFormsApiUsername}}"
|
||||
method: GET
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
description: lo username con cui si è effettuato il login
|
||||
- name: recordOrder
|
||||
value: NONE
|
||||
type: query
|
||||
description: NONE (default), NEWEST_FIRST, NEWEST_LAST (case sensitive)
|
||||
disabled: true
|
||||
- name: qrcode
|
||||
value: "123456"
|
||||
type: path
|
||||
body:
|
||||
type: form-urlencoded
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/it.elixforms.api.v1.2+json;charset=UTF-8
|
||||
- name: content-length
|
||||
value: "646"
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
body:
|
||||
type: text
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "WARNING",
|
||||
"description": "Il qrCode fornito non è valido",
|
||||
"complete": true,
|
||||
"globalStatus": "WARNING",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "WARNING",
|
||||
"description": "Il qrCode fornito non è valido",
|
||||
"detailStatus": "WARNING"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "WARNING",
|
||||
"description": "Il qrCode fornito non è valido",
|
||||
"detailStatus": "WARNING"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "08384545-6d05-46a6-857c-9747bcbcc3e2",
|
||||
"version": "3.9.2.17",
|
||||
"requestSize": 0
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,890 @@
|
||||
info:
|
||||
name: Get Request
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{elixFormsApiUrl_Default}}/request/:request_id/get"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
description: lo username con cui si è effettuato il login
|
||||
disabled: true
|
||||
- name: recordOrder
|
||||
value: NONE
|
||||
type: query
|
||||
description: case sensitive
|
||||
disabled: true
|
||||
- name: request_id
|
||||
value: "21334"
|
||||
type: path
|
||||
body:
|
||||
type: form-urlencoded
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: after-response
|
||||
code: "function findBinaryColumns(obj) {\r
|
||||
|
||||
\ let binaryColumns = [];\r
|
||||
|
||||
\r
|
||||
|
||||
\ if (Array.isArray(obj)) {\r
|
||||
|
||||
\ obj.forEach(item => {\r
|
||||
|
||||
\ binaryColumns = binaryColumns.concat(findBinaryColumns(item));\r
|
||||
|
||||
\ });\r
|
||||
|
||||
\ } else if (typeof obj === \"object\" && obj !== null) {\r
|
||||
|
||||
\ Object.keys(obj).forEach(key => {\r
|
||||
|
||||
\ if (key === \"columns\" && Array.isArray(obj[key])) {\r
|
||||
|
||||
\ obj[key].forEach(column => {\r
|
||||
|
||||
\ if (column.columnType === \"BINARY\") {\r
|
||||
|
||||
\ binaryColumns.push(column);\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ });\r
|
||||
|
||||
\ } else {\r
|
||||
|
||||
\ binaryColumns = binaryColumns.concat(findBinaryColumns(obj[key]));\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\ });\r
|
||||
|
||||
\ }\r
|
||||
|
||||
\r
|
||||
|
||||
\ return binaryColumns;\r
|
||||
|
||||
}\r
|
||||
|
||||
\r
|
||||
|
||||
// Carica il file JSON (sostituisci con il tuo oggetto JSON)\r
|
||||
|
||||
const jsonData = res.getBody();\r
|
||||
|
||||
\r
|
||||
|
||||
// Esegui la ricerca\r
|
||||
|
||||
const binaryColumns = findBinaryColumns(jsonData);\r
|
||||
|
||||
\r
|
||||
|
||||
// Stampa i risultati solo se ne abbiamo trovati (bisogna abilitare la visualizzazione dei Warning nella console Postman)\r
|
||||
|
||||
if (binaryColumns.length > 0) {\r
|
||||
|
||||
\ console.warn(\"Allegati trovati:\", binaryColumns);\r
|
||||
|
||||
}"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Get Request - Success
|
||||
request:
|
||||
url: "{{elixFormsApiUrl_Default}}/request/:request_id/get?username={{elixFormsApiUsername}}"
|
||||
method: GET
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
description: lo username con cui si è effettuato il login
|
||||
- name: recordOrder
|
||||
value: NONE
|
||||
type: query
|
||||
description: case sensitive
|
||||
disabled: true
|
||||
- name: request_id
|
||||
value: "7007"
|
||||
type: path
|
||||
body:
|
||||
type: form-urlencoded
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/it.elixforms.api.v1.2+json;charset=UTF-8
|
||||
- name: transfer-encoding
|
||||
value: chunked
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
body:
|
||||
type: text
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "1d889f27-cf95-487b-9523-84033df41391",
|
||||
"version": "3.9.2.17",
|
||||
"request": {
|
||||
"idRequest": 7007,
|
||||
"moduleCategoryTag": "ASI-RIC, CONTO_TERZI",
|
||||
"moduleTag": "PROPOSTA_CCT_DOCENTE",
|
||||
"moduleUrl": "https://unipr.elixforms.it/rwe2/forms/recap.jsp?IUQOID=7007&RWE2_TAB_REL=14900&IURTLGY=schemadata&ELANG=it&IATL=it",
|
||||
"requestTitle": "RWE2 - Request",
|
||||
"attributes": [
|
||||
{
|
||||
"columnKey": "COL0008",
|
||||
"columnTitle": "Created",
|
||||
"columnValue": "true"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0009",
|
||||
"columnTitle": "Created date",
|
||||
"columnValue": "16-04-2025 15:39"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0010",
|
||||
"columnTitle": "Confirmed",
|
||||
"columnValue": "true"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0011",
|
||||
"columnTitle": "Confirmed date",
|
||||
"columnValue": "16-04-2025 15:41"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0012",
|
||||
"columnTitle": "Complete",
|
||||
"columnValue": "true"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0013",
|
||||
"columnTitle": "Complete date",
|
||||
"columnValue": "16-04-2025 15:41"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0035",
|
||||
"columnTitle": "Complete (first time)",
|
||||
"columnValue": "true"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0036",
|
||||
"columnTitle": "Complete date (first time)",
|
||||
"columnValue": "16-04-2025 15:41"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0037",
|
||||
"columnTitle": "Evasa",
|
||||
"columnValue": "true"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0038",
|
||||
"columnTitle": "Data di evasione",
|
||||
"columnValue": "16-04-2025 16:10"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0039",
|
||||
"columnTitle": "Archiviata",
|
||||
"columnValue": ""
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0040",
|
||||
"columnTitle": "Data di archiviazione",
|
||||
"columnValue": ""
|
||||
}
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"conditionalForm": false,
|
||||
"moduleTabGenId": 14906,
|
||||
"multipleForms": false,
|
||||
"stepHeader": "Richiedente",
|
||||
"schemas": [
|
||||
{
|
||||
"recordSize": 1,
|
||||
"schemaId": 327,
|
||||
"tag": "",
|
||||
"title": "PROPOSTA_CCT_DOCENTE_Richiedente",
|
||||
"records": [
|
||||
{
|
||||
"columnSize": 4,
|
||||
"recordId": 23629,
|
||||
"recordNum": 1,
|
||||
"sections": [
|
||||
{
|
||||
"sectionKey": "SEC_0001",
|
||||
"sectionTitle": "Richiedente",
|
||||
"columns": [
|
||||
{
|
||||
"columnKey": "COL0003",
|
||||
"columnName": "COL0003",
|
||||
"columnTitle": "Cognome",
|
||||
"columnType": "STRING",
|
||||
"columnValue": ""
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0004",
|
||||
"columnName": "COL0004",
|
||||
"columnTitle": "Nome",
|
||||
"columnType": "STRING",
|
||||
"columnValue": ""
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0001",
|
||||
"columnName": "COL0001",
|
||||
"columnTitle": "Codice Fiscale",
|
||||
"columnType": "STRING",
|
||||
"columnValue": "MMMPPL74T17E463A"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0005",
|
||||
"columnName": "COL0005",
|
||||
"columnTitle": "Email",
|
||||
"columnType": "STRING",
|
||||
"columnValue": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"conditionalForm": false,
|
||||
"moduleTabGenId": 18917,
|
||||
"multipleForms": false,
|
||||
"stepHeader": "Dati generali e Costi",
|
||||
"schemas": [
|
||||
{
|
||||
"recordSize": 1,
|
||||
"schemaId": 326,
|
||||
"tag": "",
|
||||
"title": "PROPOSTA_CCT_DOCENTE_Dati_generali",
|
||||
"records": [
|
||||
{
|
||||
"columnSize": 20,
|
||||
"recordId": 23630,
|
||||
"recordNum": 1,
|
||||
"sections": [
|
||||
{
|
||||
"sectionKey": "SEC_0001",
|
||||
"sectionTitle": "Dati del contratto",
|
||||
"columns": [
|
||||
{
|
||||
"exportTag": {
|
||||
"exportGroup": "API;PROPOSTA_CCT_DOCENTE_GROUP",
|
||||
"exportTag": "contratto.Titolo"
|
||||
},
|
||||
"columnKey": "COL0005",
|
||||
"columnName": "COL0005",
|
||||
"columnTitle": "Titolo",
|
||||
"columnType": "TEXTAREA",
|
||||
"columnValue": "Titolo"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0006",
|
||||
"columnName": "COL0006",
|
||||
"columnTitle": "Struttura principale",
|
||||
"columnType": "STRING",
|
||||
"columnValue": "U.O. Sistemi Applicativi"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0007",
|
||||
"columnName": "COL0007",
|
||||
"columnTitle": "Codice struttura",
|
||||
"columnType": "STRING",
|
||||
"columnValue": ""
|
||||
},
|
||||
{
|
||||
"exportTag": {
|
||||
"exportGroup": "API;PROPOSTA_CCT_DOCENTE_GROUP",
|
||||
"exportTag": "contratto.durataInMesi"
|
||||
},
|
||||
"columnKey": "COL0008",
|
||||
"columnName": "COL0008",
|
||||
"columnTitle": "Durata (mesi)",
|
||||
"columnType": "STRING",
|
||||
"columnValue": "17"
|
||||
},
|
||||
{
|
||||
"exportTag": {
|
||||
"exportGroup": "API;PROPOSTA_CCT_DOCENTE_GROUP",
|
||||
"exportTag": "contratto.corrispettivo"
|
||||
},
|
||||
"columnKey": "COL0009",
|
||||
"columnName": "COL0009",
|
||||
"columnTitle": "Corrispettivo / contributo € (IVA esclusa)",
|
||||
"columnType": "STRING",
|
||||
"columnValue": "12500"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"sectionKey": "SEC_0002",
|
||||
"sectionTitle": "Responsabile Scientifico proponente",
|
||||
"columns": [
|
||||
{
|
||||
"columnKey": "COL0012",
|
||||
"columnName": "COL0012",
|
||||
"columnTitle": "Nome",
|
||||
"columnType": "STRING",
|
||||
"columnValue": "Pier Paolo"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0013",
|
||||
"columnName": "COL0013",
|
||||
"columnTitle": "Cognome",
|
||||
"columnType": "STRING",
|
||||
"columnValue": "MAMMI"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0038",
|
||||
"columnName": "COL0038",
|
||||
"columnTitle": "Email",
|
||||
"columnType": "STRING",
|
||||
"columnValue": "pierpaolo.mammi@unipr.it"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0014",
|
||||
"columnName": "COL0014",
|
||||
"columnTitle": "Codice fiscale",
|
||||
"columnType": "STRING",
|
||||
"columnValue": "MMMPPL74T17E463A"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0015",
|
||||
"columnName": "COL0015",
|
||||
"columnTitle": "Struttura",
|
||||
"columnType": "STRING",
|
||||
"columnValue": "U.O. Sistemi Applicativi"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0016",
|
||||
"columnName": "COL0016",
|
||||
"columnTitle": "Codice struttura",
|
||||
"columnType": "STRING",
|
||||
"columnValue": "106143"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0046",
|
||||
"columnName": "COL0046",
|
||||
"columnTitle": "Titolo accademico (nascosto)",
|
||||
"columnType": "STRING",
|
||||
"columnValue": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"sectionKey": "SEC_0008",
|
||||
"sectionTitle": "Costi",
|
||||
"columns": [
|
||||
{
|
||||
"columnKey": "COL0053",
|
||||
"columnName": "COL0053",
|
||||
"columnTitle": "Dettaglio dei costi",
|
||||
"columnType": "TEXTAREA",
|
||||
"columnValue": "dettaglio"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"sectionKey": "SEC_0009",
|
||||
"sectionTitle": "Altro",
|
||||
"columns": [
|
||||
{
|
||||
"columnKey": "COL0054",
|
||||
"columnName": "COL0054",
|
||||
"columnTitle": "Note aggiuntive",
|
||||
"columnType": "TEXTAREA",
|
||||
"columnValue": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"sectionKey": "SEC_0006",
|
||||
"sectionTitle": "",
|
||||
"columns": [
|
||||
{
|
||||
"columnKey": "COL0020",
|
||||
"columnName": "COL0020",
|
||||
"columnTitle": "UUID",
|
||||
"columnType": "STRING",
|
||||
"columnValue": "e116f677-a115-45eb-b51b-66f8dd754b6b"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0002",
|
||||
"columnName": "COL0002",
|
||||
"columnTitle": "JSON",
|
||||
"columnType": "TEXTAREA",
|
||||
"columnValue": "{"value":{"code":"OK","description":"","complete":true,"globalStatus":"OK","serviceInformationList":{"serviceInformation":[{"ITSystemName":"EF-PROXY","complete":true,"serviceVersion":"1.0.0","statusDetailList":{"statusDetail":[{"code":"OK","detailStatus":"OK"}]}}]},"uuid":"e116f677-a115-45eb-b51b-66f8dd754b6b","version":"3.0.0","json":{"idAb":"269139","matricola":"050713","nome":"Pier Paolo","cognome":"MAMMI","dataFineRapporto":null,"dataInizioRapporto":"2025-01-20","codice_attivita":"0001","descrizione_attivita":"In servizio","emailAteneo":"pierpaolo.mammi@unipr.it","cellulare_servizio":null,"ruolo":"ND","profilo":"SETTORE_10","inquadramento":"FU0","genere":"M","cod_fis":"MMMPPL74T17E463A","codice_struttura":"106143","nome_struttura":"U.O. Sistemi Applicativi","codice_struttura_padre":"106139","nome_struttura_padre":"Area - Sistemi Informativi","telefono":"0521 904145","comitato":null,"codiceSsd":"000000000000","area_disciplinare":"00","nome_sup_diretto":"Simona","cognome_sup_diretto":"BERTE'","cf_sup_diretto":"BRTSMN69B65G337A","mail_sup_diretto":"simona.berte@unipr.it","matricola_sup_diretto":"005603","nome_sup_apicale":"Candeloro","cognome_sup_apicale":"BELLANTONI","matricola_sup_apicale":"028973","cf_sup_apicale":"BLLCDL60C28H224V","mail_sup_apicale":"candeloro.bellantoni@unipr.it","pt_tipo":null,"pt_ds_tipo":null,"perc_pt":"100","descrizione_ruolo":null,"descrizione_profilo":"Settore tecnico - informatico","descrizione_inquadramento":"Area dei Funzionari","id_fascicolo_titulus":"5404836"}}}"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0021",
|
||||
"columnName": "COL0021",
|
||||
"columnTitle": "Messaggio",
|
||||
"columnType": "STRING",
|
||||
"columnValue": ""
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0022",
|
||||
"columnName": "COL0022",
|
||||
"columnTitle": "Errore",
|
||||
"columnType": "STRING",
|
||||
"columnValue": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"sectionKey": "SEC_0007",
|
||||
"sectionTitle": "Valori calcolati (nascosti)",
|
||||
"columns": [
|
||||
{
|
||||
"columnKey": "COL0052",
|
||||
"columnName": "COL0052",
|
||||
"columnTitle": "Docente",
|
||||
"columnType": "STRING",
|
||||
"columnValue": "MAMMI Pier Paolo"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0055",
|
||||
"columnName": "COL0055",
|
||||
"columnTitle": "Corrispettivo formattato",
|
||||
"columnType": "STRING",
|
||||
"columnValue": "12.500,00"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"conditionalForm": false,
|
||||
"moduleTabGenId": 22115,
|
||||
"multipleForms": false,
|
||||
"stepHeader": "Contraenti e Partecipanti",
|
||||
"schemas": [
|
||||
{
|
||||
"recordSize": 1,
|
||||
"schemaId": 374,
|
||||
"tag": "",
|
||||
"title": "PROPOSTA_CCT_DOCENTE_Contraenti_Partecipanti",
|
||||
"records": [
|
||||
{
|
||||
"columnSize": 2,
|
||||
"recordId": 23634,
|
||||
"recordNum": 1,
|
||||
"sections": [
|
||||
{
|
||||
"sectionKey": "SEC_0001",
|
||||
"sectionTitle": "Contraenti",
|
||||
"columns": [
|
||||
{
|
||||
"columnKey": "COL0001",
|
||||
"columnName": "COL0001",
|
||||
"columnTitle": "Elenco dei contraenti",
|
||||
"columnType": "TEXTAREA",
|
||||
"columnValue": "Contraenti"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"sectionKey": "SEC_0002",
|
||||
"sectionTitle": "Partecipanti",
|
||||
"columns": [
|
||||
{
|
||||
"columnKey": "COL0002",
|
||||
"columnName": "COL0002",
|
||||
"columnTitle": "Elenco dei partecipanti",
|
||||
"columnType": "TEXTAREA",
|
||||
"columnValue": "Partecipanti"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"conditionalForm": false,
|
||||
"moduleTabGenId": 14904,
|
||||
"multipleForms": false,
|
||||
"stepHeader": "Dichiarazioni",
|
||||
"schemas": [
|
||||
{
|
||||
"recordSize": 1,
|
||||
"schemaId": 325,
|
||||
"tag": "",
|
||||
"title": "PROPOSTA_CCT_DOCENTE_Dichiarazioni",
|
||||
"records": [
|
||||
{
|
||||
"columnSize": 15,
|
||||
"recordId": 23635,
|
||||
"recordNum": 1,
|
||||
"sections": [
|
||||
{
|
||||
"sectionKey": "SEC_0001",
|
||||
"sectionTitle": "Dichiarazioni",
|
||||
"columns": [
|
||||
{
|
||||
"columnKey": "COL0001",
|
||||
"columnName": "COL0001",
|
||||
"columnTitle": "La/Il Prof.ssa/Prof./Dott.ssa/Dott. DICHIARA",
|
||||
"columnType": "CHECKBOX",
|
||||
"columnValueList": {
|
||||
"columnValue": [
|
||||
{
|
||||
"1": "di conoscere il testo dell'Accordo e gli adempimenti a proprio carico previsti nello stesso;"
|
||||
}
|
||||
]
|
||||
},
|
||||
"columnValue": null
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0002",
|
||||
"columnName": "COL0002",
|
||||
"columnTitle": "",
|
||||
"columnType": "CHECKBOX",
|
||||
"columnValueList": {
|
||||
"columnValue": [
|
||||
{
|
||||
"2": "di accettare e impegnarsi a rispettare gli obblighi di segretezza e confidenzialità, la disciplina dei \"Risultati\" e/o della \"Proprietà Intellettuale\" e delle \"Pubblicazioni\", nonché tutti i termini e condizioni previsti nell'Accordo;"
|
||||
}
|
||||
]
|
||||
},
|
||||
"columnValue": null
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0003",
|
||||
"columnName": "COL0003",
|
||||
"columnTitle": "",
|
||||
"columnType": "CHECKBOX",
|
||||
"columnValueList": {
|
||||
"columnValue": [
|
||||
{
|
||||
"3": "che le attività di cui all'Accordo non determinano alcuna violazione degli obblighi in materia di proprietà intellettuale già assunti dall'Università nei confronti di altri contraenti con i quali l'Ateneo ha sottoscritto specifici contratti/convenzioni nell'ambito dei quali il dichiarante è stato/a individuato/a come \"responsabile scientifico\";"
|
||||
}
|
||||
]
|
||||
},
|
||||
"columnValue": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"sectionKey": "SEC_0005",
|
||||
"sectionTitle": "Attività oggetto dell'accordo",
|
||||
"columns": [
|
||||
{
|
||||
"columnKey": "COL0018",
|
||||
"columnName": "COL0018",
|
||||
"columnTitle": "",
|
||||
"columnType": "CHECKBOX",
|
||||
"columnValueList": {
|
||||
"columnValue": [
|
||||
{
|
||||
"12": "che l'attività oggetto dell'accordo consiste nell'esecuzione di contratti di ricerca e/o la fornitura di servizi svolti nell'interesse di terzi;"
|
||||
}
|
||||
]
|
||||
},
|
||||
"columnValue": null
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0019",
|
||||
"columnName": "COL0019",
|
||||
"columnTitle": "",
|
||||
"columnType": "CHECKBOX",
|
||||
"columnValue": null
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0020",
|
||||
"columnName": "COL0020",
|
||||
"columnTitle": "",
|
||||
"columnType": "CHECKBOX",
|
||||
"columnValueList": {
|
||||
"columnValue": [
|
||||
{
|
||||
"14": "che l'attività oggetto dell'accordo consiste in attività di formazione svolta nell'interesse di terzi;"
|
||||
}
|
||||
]
|
||||
},
|
||||
"columnValue": null
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0021",
|
||||
"columnName": "COL0021",
|
||||
"columnTitle": "",
|
||||
"columnType": "CHECKBOX",
|
||||
"columnValue": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"sectionKey": "SEC_0006",
|
||||
"sectionTitle": "Utilizzo proprietà intellettuali",
|
||||
"columns": [
|
||||
{
|
||||
"columnKey": "COL0005",
|
||||
"columnName": "COL0005",
|
||||
"columnTitle": "",
|
||||
"columnType": "RADIO",
|
||||
"columnValueList": {
|
||||
"columnValue": [
|
||||
{
|
||||
"9": "che nello svolgimento delle attività dell'Accordo VERRÀ impiegata proprietà intellettuale titolata (domanda di brevetto/brevetto avente ad oggetto invenzioni, modelli di utilità, marchi registrati, software, opere dell'ingegno) di cui l'Università è proprietaria/titolare e/o comproprietaria/contitolare secondo la normativa vigente, avente tipologia indicata nel seguito:"
|
||||
}
|
||||
]
|
||||
},
|
||||
"columnValue": "che nello svolgimento delle attività dell'Accordo VERRÀ impiegata proprietà intellettuale titolata (domanda di brevetto/brevetto avente ad oggetto invenzioni, modelli di utilità, marchi registrati, software, opere dell'ingegno) di cui l'Università è proprietaria/titolare e/o comproprietaria/contitolare secondo la normativa vigente, avente tipologia indicata nel seguito:"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0006",
|
||||
"columnName": "COL0006",
|
||||
"columnTitle": "",
|
||||
"columnType": "TEXTAREA",
|
||||
"columnValue": "sdasdasd"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"sectionKey": "SEC_0007",
|
||||
"sectionTitle": "Presenza conflitto d'interessi",
|
||||
"columns": [
|
||||
{
|
||||
"columnKey": "COL0007",
|
||||
"columnName": "COL0007",
|
||||
"columnTitle": "",
|
||||
"columnType": "RADIO",
|
||||
"columnValueList": {
|
||||
"columnValue": [
|
||||
{
|
||||
"11": "di TROVARSI in situazioni e/o in condizioni di conflitto di interessi, anche potenziale, con riferimento all'Accordo di cui alla presente proposta secondo quanto previsto dalle disposizioni di cui alla normativa in materia inerente status giuridico, nonché dalle disposizioni contenute nel Codice di comportamento dell'Università degli Studi di Parma, avente motivazione indicata nel seguito:"
|
||||
}
|
||||
]
|
||||
},
|
||||
"columnValue": "di TROVARSI in situazioni e/o in condizioni di conflitto di interessi, anche potenziale, con riferimento all'Accordo di cui alla presente proposta secondo quanto previsto dalle disposizioni di cui alla normativa in materia inerente status giuridico, nonché dalle disposizioni contenute nel Codice di comportamento dell'Università degli Studi di Parma, avente motivazione indicata nel seguito:"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0008",
|
||||
"columnName": "COL0008",
|
||||
"columnTitle": "",
|
||||
"columnType": "TEXTAREA",
|
||||
"columnValue": "swerr523w4r5dfsdf"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"sectionKey": "SEC_0003",
|
||||
"sectionTitle": "",
|
||||
"columns": [
|
||||
{
|
||||
"columnKey": "COL0012",
|
||||
"columnName": "COL0012",
|
||||
"columnTitle": "Luogo",
|
||||
"columnType": "STRING",
|
||||
"columnValue": "Parma"
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0013",
|
||||
"columnName": "COL0013",
|
||||
"columnTitle": "Data",
|
||||
"columnType": "STRING",
|
||||
"columnValue": "16-04-2025"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"sectionKey": "SEC_0002",
|
||||
"sectionTitle": "Valori calcolati (nascosti)",
|
||||
"columns": [
|
||||
{
|
||||
"columnKey": "COL0010",
|
||||
"columnName": "COL0010",
|
||||
"columnTitle": "Valore utilizzo brevetti",
|
||||
"columnType": "STRING",
|
||||
"columnValue": ""
|
||||
},
|
||||
{
|
||||
"columnKey": "COL0011",
|
||||
"columnName": "COL0011",
|
||||
"columnTitle": "Valore conflitto interessi",
|
||||
"columnType": "STRING",
|
||||
"columnValue": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"conditionalForm": false,
|
||||
"moduleTabGenId": 18920,
|
||||
"multipleForms": true,
|
||||
"stepHeader": "Allegati",
|
||||
"schemas": []
|
||||
},
|
||||
{
|
||||
"conditionalForm": false,
|
||||
"moduleTabGenId": 0,
|
||||
"multipleForms": false,
|
||||
"stepHeader": "Riepilogo",
|
||||
"schemas": []
|
||||
},
|
||||
{
|
||||
"conditionalForm": false,
|
||||
"moduleTabGenId": 0,
|
||||
"multipleForms": false,
|
||||
"stepHeader": "Convalida",
|
||||
"schemas": []
|
||||
},
|
||||
{
|
||||
"conditionalForm": false,
|
||||
"moduleTabGenId": 0,
|
||||
"multipleForms": false,
|
||||
"stepHeader": "Inoltro",
|
||||
"schemas": []
|
||||
}
|
||||
],
|
||||
"exported_schemas": []
|
||||
},
|
||||
"requestSize": 1
|
||||
}
|
||||
}
|
||||
- name: Get Request - Not Found
|
||||
request:
|
||||
url: "{{elixFormsApiUrl_Default}}/request/:request_id/get?username={{elixFormsApiUsername}}"
|
||||
method: GET
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
description: lo username con cui si è effettuato il login
|
||||
- name: request_id
|
||||
value: "12"
|
||||
type: path
|
||||
body:
|
||||
type: form-urlencoded
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/it.elixforms.api.v1.2+json;charset=UTF-8
|
||||
- name: content-length
|
||||
value: "456"
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
body:
|
||||
type: text
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "WARNING",
|
||||
"description": "Nessuna pratica trovata per l'id 12",
|
||||
"complete": true,
|
||||
"globalStatus": "WARNING",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "WARNING",
|
||||
"description": "Nessuna pratica trovata per l'id 12",
|
||||
"detailStatus": "WARNING"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "05aea0b0-921c-4304-ab9c-7254ebb6cded",
|
||||
"version": "3.9.2.17",
|
||||
"requestSize": 0
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: Request details
|
||||
type: folder
|
||||
seq: 5
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
@@ -0,0 +1,157 @@
|
||||
info:
|
||||
name: Lookup By Period
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{elixFormsApiUrl_Default}}/request/lookup/by-period?dateFrom=2025-11-21&dateTo=2025-11-21&requestStatus=PROCESSED&moduleTag=GESTIONE_SITI_WEB_NUOVO_SITO"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: X-API-Username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
disabled: true
|
||||
- name: dateFrom
|
||||
value: 2025-11-21
|
||||
type: query
|
||||
- name: dateTo
|
||||
value: 2025-11-21
|
||||
type: query
|
||||
- name: requestStatus
|
||||
value: PROCESSED
|
||||
type: query
|
||||
- name: moduleTag
|
||||
value: GESTIONE_SITI_WEB_NUOVO_SITO
|
||||
type: query
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_DOCENTE
|
||||
type: query
|
||||
disabled: true
|
||||
- name: swfOptionKey
|
||||
value: "1"
|
||||
type: query
|
||||
disabled: true
|
||||
- name: swfOptionMode
|
||||
value: IN
|
||||
type: query
|
||||
disabled: true
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
disabled: true
|
||||
- name: requestStatus
|
||||
value: IN_PROGRESS
|
||||
description: |-
|
||||
Valori possibili:
|
||||
- IN_PROGRESS
|
||||
- SUBMITTED
|
||||
- PROCESSED
|
||||
|
||||
possibile selezionare valori multipli
|
||||
disabled: true
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_OPERATORE
|
||||
disabled: true
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_DOCENTE
|
||||
description: |-
|
||||
Per restringere il risultato alle sole richieste del/i modulo/i aventi tag specificato
|
||||
|
||||
Possibile selezionare valori multipli
|
||||
disabled: true
|
||||
- name: swfOptionKey
|
||||
value: "1"
|
||||
disabled: true
|
||||
- name: swfOptionMode
|
||||
value: IN
|
||||
description: |
|
||||
può avere valore "IN" o "NOT IN". Se utilizzato "IN" vengono restituite tutte le request che hanno gli "swfOptionKey"
|
||||
dichiarati. Se utilizzato "NOT IN" vengono restituite tutte le request che non hanno gli "swfOptionKey" dichiarati. Se non dichiarato di default
|
||||
viene utilizzato "IN"
|
||||
disabled: true
|
||||
- name: dateFrom
|
||||
value: 2025-01-01
|
||||
disabled: true
|
||||
- name: dateTo
|
||||
value: 2025-05-31
|
||||
disabled: true
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Lookup By Status - Bad Request
|
||||
request:
|
||||
url: "{{elixFormsApiUrl_Default}}/request/lookup/by-period"
|
||||
method: GET
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: requestStatus
|
||||
value: IN_PROGRESS
|
||||
description: |-
|
||||
Valori possibili:
|
||||
- IN_PROGRESS
|
||||
- SUBMITTED
|
||||
- PROCESSED
|
||||
|
||||
possibile selezionare valori multipli
|
||||
disabled: true
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_OPERATORE
|
||||
disabled: true
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_DOCENTE
|
||||
description: |-
|
||||
Per restringere il risultato alle sole richieste del/i modulo/i aventi tag specificato
|
||||
|
||||
Possibile selezionare valori multipli
|
||||
- name: swfOptionKey
|
||||
value: "1"
|
||||
disabled: true
|
||||
- name: swfOptionMode
|
||||
value: IN
|
||||
description: |
|
||||
può avere valore "IN" o "NOT IN". Se utilizzato "IN" vengono restituite tutte le request che hanno gli "swfOptionKey"
|
||||
dichiarati. Se utilizzato "NOT IN" vengono restituite tutte le request che non hanno gli "swfOptionKey" dichiarati. Se non dichiarato di default
|
||||
viene utilizzato "IN"
|
||||
disabled: true
|
||||
- name: dateFrom
|
||||
value: 2025-01-01
|
||||
- name: dateTo
|
||||
value: 2025-05-31
|
||||
response:
|
||||
statusText: "400"
|
||||
headers:
|
||||
- name: date
|
||||
value: Mon, 05 May 2025 09:34:11 GMT
|
||||
- name: content-length
|
||||
value: "0"
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
body:
|
||||
type: text
|
||||
data: ""
|
||||
@@ -0,0 +1,262 @@
|
||||
info:
|
||||
name: Lookup By Status
|
||||
type: http
|
||||
seq: 5
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{elixFormsApiUrl_Default}}/request/lookup/by-status?moduleTag=GESTIONE_SITI_WEB_NUOVO_SITO&requestStatus=PROCESSED"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
disabled: true
|
||||
- name: requestStatus
|
||||
value: SUBMITTED
|
||||
type: query
|
||||
description: |-
|
||||
Valori possibili:
|
||||
- IN_PROGRESS
|
||||
- SUBMITTED
|
||||
- PROCESSED
|
||||
possibile selezionare valori multipli
|
||||
disabled: true
|
||||
- name: requestStatus
|
||||
value: IN_PROGRESS
|
||||
type: query
|
||||
disabled: true
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_OPERATORE
|
||||
type: query
|
||||
description: Possibile specificare valori multipli
|
||||
disabled: true
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_DOCENTE
|
||||
type: query
|
||||
disabled: true
|
||||
- name: swfOptionKey
|
||||
value: "1"
|
||||
type: query
|
||||
disabled: true
|
||||
- name: swfOptionMode
|
||||
value: IN
|
||||
type: query
|
||||
disabled: true
|
||||
- name: moduleTag
|
||||
value: GESTIONE_SITI_WEB_NUOVO_SITO
|
||||
type: query
|
||||
- name: requestStatus
|
||||
value: PROCESSED
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Lookup By Status (w SWF) - Success
|
||||
request:
|
||||
url: "{{elixFormsApiUrl_Default}}/request/lookup/by-status"
|
||||
method: POST
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: requestStatus
|
||||
value: PROCESSED
|
||||
description: |-
|
||||
Valori possibili:
|
||||
- IN_PROGRESS
|
||||
- SUBMITTED
|
||||
- PROCESSED
|
||||
|
||||
possibile selezionare valori multipli
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_OPERATORE
|
||||
disabled: true
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_DOCENTE
|
||||
description: |-
|
||||
Per restringere il risultato alle sole richieste del/i modulo/i aventi tag specificato
|
||||
|
||||
Possibile selezionare valori multipli
|
||||
- name: swfOptionKey
|
||||
value: "1"
|
||||
- name: swfOptionMode
|
||||
value: IN
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/it.elixforms.api.v1+json;charset=UTF-8
|
||||
- name: content-length
|
||||
value: "787"
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
body:
|
||||
type: text
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "88b0ea46-f1c2-4ed3-a5f2-1a43c6e1fd58",
|
||||
"version": "3.10.0.23",
|
||||
"requests": [
|
||||
{
|
||||
"moduleTag": "PROPOSTA_CCT_DOCENTE",
|
||||
"requestId": 10699,
|
||||
"step": "Inoltrata, senza stato di workflow semplice disponibile per il modulo"
|
||||
},
|
||||
{
|
||||
"moduleTag": "PROPOSTA_CCT_DOCENTE",
|
||||
"requestId": 10728,
|
||||
"step": "Inoltrata, senza stato di workflow semplice disponibile per il modulo"
|
||||
},
|
||||
{
|
||||
"moduleTag": "PROPOSTA_CCT_DOCENTE",
|
||||
"requestId": 10868,
|
||||
"step": "Inoltrata, senza stato di workflow semplice disponibile per il modulo"
|
||||
}
|
||||
],
|
||||
"requestsSize": 3
|
||||
}
|
||||
}
|
||||
- name: Lookup By Status - Error
|
||||
request:
|
||||
url: "{{elixFormsApiUrl_Default}}/request/lookup/by-status"
|
||||
method: POST
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: requestStatus
|
||||
value: IN_PROGRESS
|
||||
description: |-
|
||||
Valori possibili:
|
||||
- IN_PROGRESS
|
||||
- SUBMITTED
|
||||
- PROCESSED
|
||||
|
||||
possibile selezionare valori multipli
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_OPERATORE
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_DOCENTE
|
||||
description: |-
|
||||
Per restringere il risultato alle sole richieste del/i modulo/i aventi tag specificato
|
||||
|
||||
Possibile selezionare valori multipli
|
||||
disabled: true
|
||||
- name: swfOptionKey
|
||||
value: "1"
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/it.elixforms.api.v1+json;charset=UTF-8
|
||||
- name: content-length
|
||||
value: "925"
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
body:
|
||||
type: text
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "ERROR",
|
||||
"description": "Il modulo identificato dal tag \"PROPOSTA_CCT_OPERATORE\" NON contiene un workflow semplice (la scheda modulo 10 contiene un valore nullo o 0 nella colonna S_10_COL0051), ma è stato richiesto di filtrare i risultati per il valore INOLTRATA (uno stato di workflow semplice)",
|
||||
"complete": true,
|
||||
"globalStatus": "ERROR",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "ERROR",
|
||||
"description": "Il modulo identificato dal tag \"PROPOSTA_CCT_OPERATORE\" NON contiene un workflow semplice (la scheda modulo 10 contiene un valore nullo o 0 nella colonna S_10_COL0051), ma è stato richiesto di filtrare i risultati per il valore INOLTRATA (uno stato di workflow semplice)",
|
||||
"detailStatus": "ERROR"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "ed18681c-a40e-458e-8f70-0b982a19ab0b",
|
||||
"version": "3.9.2.17",
|
||||
"requestsSize": 0
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,522 @@
|
||||
info:
|
||||
name: Lookup By User and Period
|
||||
type: http
|
||||
seq: 3
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{elixFormsApiUrl_Default}}/request/lookup/by-user-and-period?requestUser=MMMPPL74T17E463A&requestStatus=SUBMITTED&dateFrom=2024-01-01&dateTo=2025-11-14"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
disabled: true
|
||||
- name: requestUser
|
||||
value: MMMPPL74T17E463A
|
||||
type: query
|
||||
description: '"Codice utente" lato backoffice'
|
||||
- name: requestStatus
|
||||
value: SUBMITTED
|
||||
type: query
|
||||
- name: requestStatus
|
||||
value: IN_PROGRESS
|
||||
type: query
|
||||
disabled: true
|
||||
- name: dateFrom
|
||||
value: 2024-01-01
|
||||
type: query
|
||||
- name: dateTo
|
||||
value: 2025-11-14
|
||||
type: query
|
||||
- name: moduleTag
|
||||
value: RIPARTIZIONE_CCT_DSAN
|
||||
type: query
|
||||
disabled: true
|
||||
- name: swfOptionKey
|
||||
value: "2"
|
||||
type: query
|
||||
disabled: true
|
||||
- name: swfOptionMode
|
||||
value: IN
|
||||
type: query
|
||||
disabled: true
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Success
|
||||
request:
|
||||
url: "{{elixFormsApiUrl_Default}}/request/lookup/by-user-and-period?username={{elixFormsApiUsername}}&requestUser=MMMPPL74T17E463A&dateFrom=2024-01-01&dateTo=2025-11-14"
|
||||
method: GET
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
- name: requestUser
|
||||
value: MMMPPL74T17E463A
|
||||
type: query
|
||||
description: '"Codice utente" lato backoffice'
|
||||
- name: requestStatus
|
||||
value: SUBMITTED
|
||||
type: query
|
||||
disabled: true
|
||||
- name: requestStatus
|
||||
value: IN_PROGRESS
|
||||
type: query
|
||||
disabled: true
|
||||
- name: dateFrom
|
||||
value: 2024-01-01
|
||||
type: query
|
||||
- name: dateTo
|
||||
value: 2025-11-14
|
||||
type: query
|
||||
- name: moduleTag
|
||||
value: RIPARTIZIONE_CCT_DSAN
|
||||
type: query
|
||||
disabled: true
|
||||
- name: swfOptionKey
|
||||
value: "2"
|
||||
type: query
|
||||
disabled: true
|
||||
- name: swfOptionMode
|
||||
value: IN
|
||||
type: query
|
||||
disabled: true
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: Date
|
||||
value: Fri, 14 Nov 2025 13:42:50 GMT
|
||||
- name: Server
|
||||
value: "Payara Server 6.2025.1 #badassfish"
|
||||
- name: Content-Security-Policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'; img-src 'self' blob: data: https:;"
|
||||
- name: Content-Security-Policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: Cache-Control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: Pragma
|
||||
value: no-cache
|
||||
- name: X-Content-Security-Policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: X-Content-Type-Options
|
||||
value: nosniff
|
||||
- name: Content-Type
|
||||
value: application/it.elixforms.api.v1.2+json;charset=UTF-8
|
||||
- name: Content-Length
|
||||
value: "859"
|
||||
- name: X-Frame-Options
|
||||
value: SAMEORIGIN
|
||||
- name: strict-transport-security
|
||||
value: max-age=31536000; includeSubDomains
|
||||
- name: X-XSS-Protection
|
||||
value: "1"
|
||||
- name: Referrer-Policy
|
||||
value: unsafe-url
|
||||
- name: Keep-Alive
|
||||
value: timeout=10, max=500
|
||||
- name: Connection
|
||||
value: Keep-Alive
|
||||
body:
|
||||
type: text
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "e80c8187-5c85-49de-8b9f-a3db079fc254",
|
||||
"version": "3.11.1.29",
|
||||
"requests": [
|
||||
{
|
||||
"creationTime": "2025-11-03T14:49:00+01:00[GMT+01:00]",
|
||||
"hiddenToUser": false,
|
||||
"moduleCategoryTag": "AREA RICERCA E VALORIZZAZIONE - CONTRATTI E CONVENZIONI",
|
||||
"moduleTag": "RIPARTIZIONE_CCT_DSAN",
|
||||
"moduleTitle": "Ripartizione Utili / Compensi - DSAN",
|
||||
"moduleUrl": "https://procedure.unipr.it/rwe2/forms/recap.jsp?IUQOID=16266&RWE2_TAB_REL=68046&ELANG=it&IATL=it",
|
||||
"requestId": 16266,
|
||||
"requestStatus": "SUBMITTED",
|
||||
"submissionTime": "2025-11-03T14:58:00+01:00[GMT+01:00]",
|
||||
"swfOptionKey": 0
|
||||
}
|
||||
],
|
||||
"requestsSize": 1
|
||||
}
|
||||
}
|
||||
- name: Success con modulo SWF
|
||||
request:
|
||||
url: "{{elixFormsApiUrl_Default}}/request/lookup/by-user-and-period?username={{elixFormsApiUsername}}&requestUser=BGLWND89A49A662F&dateFrom=2024-01-01&dateTo=2025-11-14&moduleTag=PROPOSTA_CCT_DOCENTE&swfOptionKey=2&swfOptionMode=IN"
|
||||
method: GET
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
- name: requestUser
|
||||
value: BGLWND89A49A662F
|
||||
type: query
|
||||
description: '"Codice utente" lato backoffice'
|
||||
- name: requestStatus
|
||||
value: SUBMITTED
|
||||
type: query
|
||||
disabled: true
|
||||
- name: requestStatus
|
||||
value: IN_PROGRESS
|
||||
type: query
|
||||
disabled: true
|
||||
- name: dateFrom
|
||||
value: 2024-01-01
|
||||
type: query
|
||||
- name: dateTo
|
||||
value: 2025-11-14
|
||||
type: query
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_DOCENTE
|
||||
type: query
|
||||
- name: swfOptionKey
|
||||
value: "2"
|
||||
type: query
|
||||
- name: swfOptionMode
|
||||
value: IN
|
||||
type: query
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: Date
|
||||
value: Fri, 14 Nov 2025 13:41:37 GMT
|
||||
- name: Server
|
||||
value: "Payara Server 6.2025.1 #badassfish"
|
||||
- name: Content-Security-Policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'; img-src 'self' blob: data: https:;"
|
||||
- name: Content-Security-Policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: Cache-Control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: Pragma
|
||||
value: no-cache
|
||||
- name: X-Content-Security-Policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: X-Content-Type-Options
|
||||
value: nosniff
|
||||
- name: Content-Type
|
||||
value: application/it.elixforms.api.v1.2+json;charset=UTF-8
|
||||
- name: Content-Length
|
||||
value: "1422"
|
||||
- name: X-Frame-Options
|
||||
value: SAMEORIGIN
|
||||
- name: strict-transport-security
|
||||
value: max-age=31536000; includeSubDomains
|
||||
- name: X-XSS-Protection
|
||||
value: "1"
|
||||
- name: Referrer-Policy
|
||||
value: unsafe-url
|
||||
- name: Keep-Alive
|
||||
value: timeout=10, max=500
|
||||
- name: Connection
|
||||
value: Keep-Alive
|
||||
body:
|
||||
type: text
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "a7e7429e-9a64-4084-8db6-6f849860bc0f",
|
||||
"version": "3.11.1.29",
|
||||
"requests": [
|
||||
{
|
||||
"creationTime": "2025-09-02T10:09:00+02:00[GMT+02:00]",
|
||||
"hiddenToUser": false,
|
||||
"moduleCategoryTag": "AREA RICERCA E VALORIZZAZIONE - CONTRATTI E CONVENZIONI",
|
||||
"moduleTag": "PROPOSTA_CCT_DOCENTE",
|
||||
"moduleTitle": "Proposta Contratto / Convenzione Conto Terzi (DOCENTE)",
|
||||
"moduleUrl": "https://procedure.unipr.it/rwe2/forms/recap.jsp?IUQOID=13011&RWE2_TAB_REL=14900&ELANG=it&IATL=it",
|
||||
"processedTime": "2025-09-04T16:07:00+02:00[GMT+02:00]",
|
||||
"requestId": 13011,
|
||||
"requestStatus": "PROCESSED",
|
||||
"submissionTime": "2025-09-02T10:22:00+02:00[GMT+02:00]",
|
||||
"swfOptionKey": 2
|
||||
},
|
||||
{
|
||||
"creationTime": "2025-07-17T13:37:00+02:00[GMT+02:00]",
|
||||
"hiddenToUser": false,
|
||||
"moduleCategoryTag": "AREA RICERCA E VALORIZZAZIONE - CONTRATTI E CONVENZIONI",
|
||||
"moduleTag": "PROPOSTA_CCT_DOCENTE",
|
||||
"moduleTitle": "Proposta Contratto / Convenzione Conto Terzi (DOCENTE)",
|
||||
"moduleUrl": "https://procedure.unipr.it/rwe2/forms/recap.jsp?IUQOID=11017&RWE2_TAB_REL=14900&ELANG=it&IATL=it",
|
||||
"requestId": 11017,
|
||||
"requestStatus": "SUBMITTED",
|
||||
"submissionTime": "2025-07-17T13:49:00+02:00[GMT+02:00]",
|
||||
"swfOptionKey": 2
|
||||
}
|
||||
],
|
||||
"requestsSize": 2
|
||||
}
|
||||
}
|
||||
- name: Nessun modulo trovato col tag
|
||||
request:
|
||||
url: "{{elixFormsApiUrl_Default}}/request/lookup/by-user-and-period?username={{elixFormsApiUsername}}&requestUser=MMMPPL74T17E463A&dateFrom=2024-01-01&dateTo=2025-11-14&moduleTag=RIPARTIZIONE_CCT_DSAN"
|
||||
method: GET
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
- name: requestUser
|
||||
value: MMMPPL74T17E463A
|
||||
type: query
|
||||
description: '"Codice utente" lato backoffice'
|
||||
- name: requestStatus
|
||||
value: SUBMITTED
|
||||
type: query
|
||||
disabled: true
|
||||
- name: requestStatus
|
||||
value: IN_PROGRESS
|
||||
type: query
|
||||
disabled: true
|
||||
- name: dateFrom
|
||||
value: 2024-01-01
|
||||
type: query
|
||||
- name: dateTo
|
||||
value: 2025-11-14
|
||||
type: query
|
||||
- name: moduleTag
|
||||
value: RIPARTIZIONE_CCT_DSAN
|
||||
type: query
|
||||
- name: swfOptionKey
|
||||
value: "2"
|
||||
type: query
|
||||
disabled: true
|
||||
- name: swfOptionMode
|
||||
value: IN
|
||||
type: query
|
||||
disabled: true
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: Date
|
||||
value: Fri, 14 Nov 2025 13:42:32 GMT
|
||||
- name: Server
|
||||
value: "Payara Server 6.2025.1 #badassfish"
|
||||
- name: Content-Security-Policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'; img-src 'self' blob: data: https:;"
|
||||
- name: Content-Security-Policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: Cache-Control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: Pragma
|
||||
value: no-cache
|
||||
- name: X-Content-Security-Policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: X-Content-Type-Options
|
||||
value: nosniff
|
||||
- name: Content-Type
|
||||
value: application/it.elixforms.api.v1.2+json;charset=UTF-8
|
||||
- name: Content-Length
|
||||
value: "542"
|
||||
- name: X-Frame-Options
|
||||
value: SAMEORIGIN
|
||||
- name: strict-transport-security
|
||||
value: max-age=31536000; includeSubDomains
|
||||
- name: X-XSS-Protection
|
||||
value: "1"
|
||||
- name: Referrer-Policy
|
||||
value: unsafe-url
|
||||
- name: Keep-Alive
|
||||
value: timeout=10, max=500
|
||||
- name: Connection
|
||||
value: Keep-Alive
|
||||
body:
|
||||
type: text
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "ERROR",
|
||||
"description": "ElixFormsException: Nessun modulo trovato per il/i tag/s \"RIPARTIZIONE_CCT_SAN\"",
|
||||
"complete": true,
|
||||
"globalStatus": "ERROR",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "ERROR",
|
||||
"description": "ElixFormsException: Nessun modulo trovato per il/i tag/s \"RIPARTIZIONE_CCT_SAN\"",
|
||||
"detailStatus": "ERROR"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "69c0e091-0f33-45a9-a788-ebd5e8d3f42d",
|
||||
"version": "3.11.1.29",
|
||||
"requestsSize": 0
|
||||
}
|
||||
}
|
||||
- name: Nessuno schema SWF associato al modulo
|
||||
request:
|
||||
url: "{{elixFormsApiUrl_Default}}/request/lookup/by-user-and-period?username={{elixFormsApiUsername}}&requestUser=MMMPPL74T17E463A&dateFrom=2024-01-01&dateTo=2025-11-14&moduleTag=PROPOSTA_CCT_OPERATORE&swfOptionKey=1&swfOptionMode=IN"
|
||||
method: GET
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
- name: requestUser
|
||||
value: MMMPPL74T17E463A
|
||||
type: query
|
||||
description: '"Codice utente" lato backoffice'
|
||||
- name: requestStatus
|
||||
value: SUBMITTED
|
||||
type: query
|
||||
disabled: true
|
||||
- name: requestStatus
|
||||
value: IN_PROGRESS
|
||||
type: query
|
||||
disabled: true
|
||||
- name: dateFrom
|
||||
value: 2024-01-01
|
||||
type: query
|
||||
- name: dateTo
|
||||
value: 2025-11-14
|
||||
type: query
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_OPERATORE
|
||||
type: query
|
||||
- name: swfOptionKey
|
||||
value: "1"
|
||||
type: query
|
||||
- name: swfOptionMode
|
||||
value: IN
|
||||
type: query
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: Date
|
||||
value: Fri, 14 Nov 2025 13:39:27 GMT
|
||||
- name: Server
|
||||
value: "Payara Server 6.2025.1 #badassfish"
|
||||
- name: Content-Security-Policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'; img-src 'self' blob: data: https:;"
|
||||
- name: Content-Security-Policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: Cache-Control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: Pragma
|
||||
value: no-cache
|
||||
- name: X-Content-Security-Policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: X-Content-Type-Options
|
||||
value: nosniff
|
||||
- name: Content-Type
|
||||
value: application/it.elixforms.api.v1.2+json;charset=UTF-8
|
||||
- name: Content-Length
|
||||
value: "566"
|
||||
- name: X-Frame-Options
|
||||
value: SAMEORIGIN
|
||||
- name: strict-transport-security
|
||||
value: max-age=31536000; includeSubDomains
|
||||
- name: X-XSS-Protection
|
||||
value: "1"
|
||||
- name: Referrer-Policy
|
||||
value: unsafe-url
|
||||
- name: Keep-Alive
|
||||
value: timeout=10, max=496
|
||||
- name: Connection
|
||||
value: Keep-Alive
|
||||
body:
|
||||
type: text
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "ERROR",
|
||||
"description": "ElixFormsException: Nessuno schema SWF associato al modulo con tag \"PROPOSTA_CCT_OPERATORE\"",
|
||||
"complete": true,
|
||||
"globalStatus": "ERROR",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "ERROR",
|
||||
"description": "ElixFormsException: Nessuno schema SWF associato al modulo con tag \"PROPOSTA_CCT_OPERATORE\"",
|
||||
"detailStatus": "ERROR"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "5a25b369-28d7-4523-987e-e92956544a87",
|
||||
"version": "3.11.1.29",
|
||||
"requestsSize": 0
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,521 @@
|
||||
info:
|
||||
name: Lookup By User
|
||||
type: http
|
||||
seq: 4
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{elixFormsApiUrl_Default}}/request/lookup/by-user?requestUser=MMMPPL74T17E463A&requestStatus=IN_PROGRESS&moduleTag=RIPARTIZIONE_CCT_DSAN"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
disabled: true
|
||||
- name: requestUser
|
||||
value: MMMPPL74T17E463A
|
||||
type: query
|
||||
- name: requestStatus
|
||||
value: IN_PROGRESS
|
||||
type: query
|
||||
- name: moduleTag
|
||||
value: RIPARTIZIONE_CCT_DSAN
|
||||
type: query
|
||||
- name: swfOptionKey
|
||||
value: "1"
|
||||
type: query
|
||||
disabled: true
|
||||
- name: swfOptionMode
|
||||
value: IN
|
||||
type: query
|
||||
disabled: true
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_XYZ
|
||||
type: query
|
||||
disabled: true
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Success in progress
|
||||
request:
|
||||
url: "{{elixFormsApiUrl_Default}}/request/lookup/by-user?username={{elixFormsApiUsername}}&requestUser=MMMPPL74T17E463A&requestStatus=IN_PROGRESS&moduleTag=RIPARTIZIONE_CCT_DSAN"
|
||||
method: GET
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
- name: requestUser
|
||||
value: MMMPPL74T17E463A
|
||||
type: query
|
||||
- name: requestStatus
|
||||
value: IN_PROGRESS
|
||||
type: query
|
||||
- name: moduleTag
|
||||
value: RIPARTIZIONE_CCT_DSAN
|
||||
type: query
|
||||
- name: swfOptionKey
|
||||
value: "22"
|
||||
type: query
|
||||
disabled: true
|
||||
- name: swfOptionMode
|
||||
value: IN
|
||||
type: query
|
||||
disabled: true
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: Date
|
||||
value: Fri, 14 Nov 2025 14:04:02 GMT
|
||||
- name: Server
|
||||
value: "Payara Server 6.2025.1 #badassfish"
|
||||
- name: Content-Security-Policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'; img-src 'self' blob: data: https:;"
|
||||
- name: Content-Security-Policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: Cache-Control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: Pragma
|
||||
value: no-cache
|
||||
- name: X-Content-Security-Policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: X-Content-Type-Options
|
||||
value: nosniff
|
||||
- name: Content-Type
|
||||
value: application/it.elixforms.api.v1.2+json;charset=UTF-8
|
||||
- name: Content-Length
|
||||
value: "805"
|
||||
- name: X-Frame-Options
|
||||
value: SAMEORIGIN
|
||||
- name: strict-transport-security
|
||||
value: max-age=31536000; includeSubDomains
|
||||
- name: X-XSS-Protection
|
||||
value: "1"
|
||||
- name: Referrer-Policy
|
||||
value: unsafe-url
|
||||
- name: Keep-Alive
|
||||
value: timeout=10, max=500
|
||||
- name: Connection
|
||||
value: Keep-Alive
|
||||
body:
|
||||
type: text
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "eb0306c7-f12c-4295-873b-8de4c9acb847",
|
||||
"version": "3.11.1.29",
|
||||
"requests": [
|
||||
{
|
||||
"creationTime": "2025-11-05T13:33:00+01:00[GMT+01:00]",
|
||||
"hiddenToUser": false,
|
||||
"moduleCategoryTag": "AREA RICERCA E VALORIZZAZIONE - CONTRATTI E CONVENZIONI",
|
||||
"moduleTag": "RIPARTIZIONE_CCT_DSAN",
|
||||
"moduleTitle": "Ripartizione Utili / Compensi - DSAN",
|
||||
"moduleUrl": "https://procedure.unipr.it/rwe2/forms/recap.jsp?IUQOID=16898&RWE2_TAB_REL=68046&ELANG=it&IATL=it",
|
||||
"requestId": 16898,
|
||||
"requestStatus": "IN_PROGRESS",
|
||||
"swfOptionKey": 0
|
||||
}
|
||||
],
|
||||
"requestsSize": 1
|
||||
}
|
||||
}
|
||||
- name: Success with SWF
|
||||
request:
|
||||
url: "{{elixFormsApiUrl_Default}}/request/lookup/by-user?username={{elixFormsApiUsername}}&requestUser=BGLWND89A49A662F&requestStatus=SUBMITTED&swfOptionKey=1&swfOptionMode=IN&moduleTag=PROPOSTA_CCT_DOCENTE"
|
||||
method: GET
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
- name: requestUser
|
||||
value: BGLWND89A49A662F
|
||||
type: query
|
||||
- name: requestStatus
|
||||
value: SUBMITTED
|
||||
type: query
|
||||
- name: moduleTag
|
||||
value: RIPARTIZIONE_CCT_DSAN
|
||||
type: query
|
||||
disabled: true
|
||||
- name: swfOptionKey
|
||||
value: "1"
|
||||
type: query
|
||||
- name: swfOptionMode
|
||||
value: IN
|
||||
type: query
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_DOCENTE
|
||||
type: query
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: Date
|
||||
value: Fri, 14 Nov 2025 14:05:31 GMT
|
||||
- name: Server
|
||||
value: "Payara Server 6.2025.1 #badassfish"
|
||||
- name: Content-Security-Policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'; img-src 'self' blob: data: https:;"
|
||||
- name: Content-Security-Policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: Cache-Control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: Pragma
|
||||
value: no-cache
|
||||
- name: X-Content-Security-Policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: X-Content-Type-Options
|
||||
value: nosniff
|
||||
- name: Content-Type
|
||||
value: application/it.elixforms.api.v1.2+json;charset=UTF-8
|
||||
- name: Content-Length
|
||||
value: "3331"
|
||||
- name: X-Frame-Options
|
||||
value: SAMEORIGIN
|
||||
- name: strict-transport-security
|
||||
value: max-age=31536000; includeSubDomains
|
||||
- name: X-XSS-Protection
|
||||
value: "1"
|
||||
- name: Referrer-Policy
|
||||
value: unsafe-url
|
||||
- name: Keep-Alive
|
||||
value: timeout=10, max=500
|
||||
- name: Connection
|
||||
value: Keep-Alive
|
||||
body:
|
||||
type: text
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "4b719b63-5787-4f9d-b937-e40ced630cbd",
|
||||
"version": "3.11.1.29",
|
||||
"requests": [
|
||||
{
|
||||
"creationTime": "2025-10-30T13:45:00+01:00[GMT+01:00]",
|
||||
"hiddenToUser": false,
|
||||
"moduleCategoryTag": "AREA RICERCA E VALORIZZAZIONE - CONTRATTI E CONVENZIONI",
|
||||
"moduleTag": "PROPOSTA_CCT_DOCENTE",
|
||||
"moduleTitle": "Proposta Contratto / Convenzione Conto Terzi (DOCENTE)",
|
||||
"moduleUrl": "https://procedure.unipr.it/rwe2/forms/recap.jsp?IUQOID=16227&RWE2_TAB_REL=14900&ELANG=it&IATL=it",
|
||||
"requestId": 16227,
|
||||
"requestStatus": "SUBMITTED",
|
||||
"submissionTime": "2025-10-30T14:14:00+01:00[GMT+01:00]",
|
||||
"swfOptionKey": 1
|
||||
},
|
||||
{
|
||||
"creationTime": "2025-10-30T11:46:00+01:00[GMT+01:00]",
|
||||
"hiddenToUser": false,
|
||||
"moduleCategoryTag": "AREA RICERCA E VALORIZZAZIONE - CONTRATTI E CONVENZIONI",
|
||||
"moduleTag": "PROPOSTA_CCT_DOCENTE",
|
||||
"moduleTitle": "Proposta Contratto / Convenzione Conto Terzi (DOCENTE)",
|
||||
"moduleUrl": "https://procedure.unipr.it/rwe2/forms/recap.jsp?IUQOID=16220&RWE2_TAB_REL=14900&ELANG=it&IATL=it",
|
||||
"requestId": 16220,
|
||||
"requestStatus": "SUBMITTED",
|
||||
"submissionTime": "2025-10-30T11:56:00+01:00[GMT+01:00]",
|
||||
"swfOptionKey": 1
|
||||
},
|
||||
{
|
||||
"creationTime": "2025-10-28T08:52:00+01:00[GMT+01:00]",
|
||||
"hiddenToUser": false,
|
||||
"moduleCategoryTag": "AREA RICERCA E VALORIZZAZIONE - CONTRATTI E CONVENZIONI",
|
||||
"moduleTag": "PROPOSTA_CCT_DOCENTE",
|
||||
"moduleTitle": "Proposta Contratto / Convenzione Conto Terzi (DOCENTE)",
|
||||
"moduleUrl": "https://procedure.unipr.it/rwe2/forms/recap.jsp?IUQOID=16075&RWE2_TAB_REL=14900&ELANG=it&IATL=it",
|
||||
"requestId": 16075,
|
||||
"requestStatus": "SUBMITTED",
|
||||
"submissionTime": "2025-10-28T08:58:00+01:00[GMT+01:00]",
|
||||
"swfOptionKey": 1
|
||||
},
|
||||
{
|
||||
"creationTime": "2025-09-30T09:07:00+02:00[GMT+02:00]",
|
||||
"hiddenToUser": false,
|
||||
"moduleCategoryTag": "AREA RICERCA E VALORIZZAZIONE - CONTRATTI E CONVENZIONI",
|
||||
"moduleTag": "PROPOSTA_CCT_DOCENTE",
|
||||
"moduleTitle": "Proposta Contratto / Convenzione Conto Terzi (DOCENTE)",
|
||||
"moduleUrl": "https://procedure.unipr.it/rwe2/forms/recap.jsp?IUQOID=14720&RWE2_TAB_REL=14900&ELANG=it&IATL=it",
|
||||
"requestId": 14720,
|
||||
"requestStatus": "SUBMITTED",
|
||||
"submissionTime": "2025-09-30T09:13:00+02:00[GMT+02:00]",
|
||||
"swfOptionKey": 1
|
||||
},
|
||||
{
|
||||
"creationTime": "2025-07-21T09:44:00+02:00[GMT+02:00]",
|
||||
"hiddenToUser": false,
|
||||
"moduleCategoryTag": "AREA RICERCA E VALORIZZAZIONE - CONTRATTI E CONVENZIONI",
|
||||
"moduleTag": "PROPOSTA_CCT_DOCENTE",
|
||||
"moduleTitle": "Proposta Contratto / Convenzione Conto Terzi (DOCENTE)",
|
||||
"moduleUrl": "https://procedure.unipr.it/rwe2/forms/recap.jsp?IUQOID=11040&RWE2_TAB_REL=14900&ELANG=it&IATL=it",
|
||||
"requestId": 11040,
|
||||
"requestStatus": "SUBMITTED",
|
||||
"submissionTime": "2025-07-21T10:21:00+02:00[GMT+02:00]",
|
||||
"swfOptionKey": 1
|
||||
},
|
||||
{
|
||||
"creationTime": "2025-07-17T17:57:00+02:00[GMT+02:00]",
|
||||
"hiddenToUser": false,
|
||||
"moduleCategoryTag": "AREA RICERCA E VALORIZZAZIONE - CONTRATTI E CONVENZIONI",
|
||||
"moduleTag": "PROPOSTA_CCT_DOCENTE",
|
||||
"moduleTitle": "Proposta Contratto / Convenzione Conto Terzi (DOCENTE)",
|
||||
"moduleUrl": "https://procedure.unipr.it/rwe2/forms/recap.jsp?IUQOID=11024&RWE2_TAB_REL=14900&ELANG=it&IATL=it",
|
||||
"requestId": 11024,
|
||||
"requestStatus": "SUBMITTED",
|
||||
"submissionTime": "2025-07-17T18:05:00+02:00[GMT+02:00]",
|
||||
"swfOptionKey": 1
|
||||
}
|
||||
],
|
||||
"requestsSize": 6
|
||||
}
|
||||
}
|
||||
- name: Nessuno schema SWF associato al modulo
|
||||
request:
|
||||
url: "{{elixFormsApiUrl_Default}}/request/lookup/by-user?username={{elixFormsApiUsername}}&requestUser=MMMPPL74T17E463A&requestStatus=SUBMITTED&swfOptionKey=1&swfOptionMode=IN&moduleTag=PROPOSTA_CCT_OPERATORE"
|
||||
method: GET
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
- name: requestUser
|
||||
value: MMMPPL74T17E463A
|
||||
type: query
|
||||
- name: requestStatus
|
||||
value: SUBMITTED
|
||||
type: query
|
||||
- name: moduleTag
|
||||
value: RIPARTIZIONE_CCT_DSAN
|
||||
type: query
|
||||
disabled: true
|
||||
- name: swfOptionKey
|
||||
value: "1"
|
||||
type: query
|
||||
- name: swfOptionMode
|
||||
value: IN
|
||||
type: query
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_OPERATORE
|
||||
type: query
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: Date
|
||||
value: Fri, 14 Nov 2025 14:06:03 GMT
|
||||
- name: Server
|
||||
value: "Payara Server 6.2025.1 #badassfish"
|
||||
- name: Content-Security-Policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'; img-src 'self' blob: data: https:;"
|
||||
- name: Content-Security-Policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: Cache-Control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: Pragma
|
||||
value: no-cache
|
||||
- name: X-Content-Security-Policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: X-Content-Type-Options
|
||||
value: nosniff
|
||||
- name: Content-Type
|
||||
value: application/it.elixforms.api.v1.2+json;charset=UTF-8
|
||||
- name: Content-Length
|
||||
value: "566"
|
||||
- name: X-Frame-Options
|
||||
value: SAMEORIGIN
|
||||
- name: strict-transport-security
|
||||
value: max-age=31536000; includeSubDomains
|
||||
- name: X-XSS-Protection
|
||||
value: "1"
|
||||
- name: Referrer-Policy
|
||||
value: unsafe-url
|
||||
- name: Keep-Alive
|
||||
value: timeout=10, max=500
|
||||
- name: Connection
|
||||
value: Keep-Alive
|
||||
body:
|
||||
type: text
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "ERROR",
|
||||
"description": "ElixFormsException: Nessuno schema SWF associato al modulo con tag \"PROPOSTA_CCT_OPERATORE\"",
|
||||
"complete": true,
|
||||
"globalStatus": "ERROR",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "ERROR",
|
||||
"description": "ElixFormsException: Nessuno schema SWF associato al modulo con tag \"PROPOSTA_CCT_OPERATORE\"",
|
||||
"detailStatus": "ERROR"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "c7c6216f-39e9-478f-b008-bfab6608d2fb",
|
||||
"version": "3.11.1.29",
|
||||
"requestsSize": 0
|
||||
}
|
||||
}
|
||||
- name: Nessun modulo trovato per il tag
|
||||
request:
|
||||
url: "{{elixFormsApiUrl_Default}}/request/lookup/by-user?username={{elixFormsApiUsername}}&requestUser=MMMPPL74T17E463A&requestStatus=SUBMITTED&swfOptionKey=1&swfOptionMode=IN&moduleTag=PROPOSTA_CCT_XYZ"
|
||||
method: GET
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
- name: requestUser
|
||||
value: MMMPPL74T17E463A
|
||||
type: query
|
||||
- name: requestStatus
|
||||
value: SUBMITTED
|
||||
type: query
|
||||
- name: moduleTag
|
||||
value: RIPARTIZIONE_CCT_DSAN
|
||||
type: query
|
||||
disabled: true
|
||||
- name: swfOptionKey
|
||||
value: "1"
|
||||
type: query
|
||||
- name: swfOptionMode
|
||||
value: IN
|
||||
type: query
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_XYZ
|
||||
type: query
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: Date
|
||||
value: Fri, 14 Nov 2025 14:06:22 GMT
|
||||
- name: Server
|
||||
value: "Payara Server 6.2025.1 #badassfish"
|
||||
- name: Content-Security-Policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'; img-src 'self' blob: data: https:;"
|
||||
- name: Content-Security-Policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: Cache-Control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: Pragma
|
||||
value: no-cache
|
||||
- name: X-Content-Security-Policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: X-Content-Type-Options
|
||||
value: nosniff
|
||||
- name: Content-Type
|
||||
value: application/it.elixforms.api.v1.2+json;charset=UTF-8
|
||||
- name: Content-Length
|
||||
value: "534"
|
||||
- name: X-Frame-Options
|
||||
value: SAMEORIGIN
|
||||
- name: strict-transport-security
|
||||
value: max-age=31536000; includeSubDomains
|
||||
- name: X-XSS-Protection
|
||||
value: "1"
|
||||
- name: Referrer-Policy
|
||||
value: unsafe-url
|
||||
- name: Keep-Alive
|
||||
value: timeout=10, max=500
|
||||
- name: Connection
|
||||
value: Keep-Alive
|
||||
body:
|
||||
type: text
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "ERROR",
|
||||
"description": "ElixFormsException: Nessun modulo trovato per il/i tag/s \"PROPOSTA_CCT_XYZ\"",
|
||||
"complete": true,
|
||||
"globalStatus": "ERROR",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "ERROR",
|
||||
"description": "ElixFormsException: Nessun modulo trovato per il/i tag/s \"PROPOSTA_CCT_XYZ\"",
|
||||
"detailStatus": "ERROR"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "55072dec-b1df-4b05-9cc5-77c087c78d7a",
|
||||
"version": "3.11.1.29",
|
||||
"requestsSize": 0
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,135 @@
|
||||
info:
|
||||
name: Lookup By Status (OLD)
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/request/lookup/by-status/v1"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_DOCENTE
|
||||
description: per restringere il risultato alle sole richieste del/i modulo/i aventi tag specificato
|
||||
- name: step
|
||||
value: INOLTRATA
|
||||
description: |-
|
||||
possibili valori:
|
||||
- INOLTRATA (default);: restituisce l'elenco degli [id_request] di tutte le istanze inoltrate ma non evase
|
||||
- INOLTRATA_SWF_NONE: restituisce l'elenco degli [id_request] di tutte le istanze che inoltrate che non hanno uno stato di workflow semplice
|
||||
- PRONTE_DA_ELABORARE: restituisce l'elenco degli [id_request] di tutte le istanze che hanno uno stato di workflow semplice mappato
|
||||
- EVASA: restituisce l'elenco degli [id_request] di tutte le istanze evase
|
||||
|
||||
E' possibile combinare due valori separati da virgola. Ad esempio INOLTRATA_SWF_NONE,EVASA restituisce l'elenco degli [id_request] di tutte le domande inoltrate e senza stato di workflow semplice e di tutte le domande evase.
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Lookup By Status - Success
|
||||
request:
|
||||
url: "{{elixFormsApiUrl}}/request/lookup/by-status/v1"
|
||||
method: POST
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_DOCENTE
|
||||
description: per restringere il risultato alle sole richieste del/i modulo/i aventi tag specificato
|
||||
- name: step
|
||||
value: INOLTRATA_SWF_NONE
|
||||
description: |-
|
||||
possibili valori:
|
||||
- INOLTRATA (default);: restituisce l'elenco degli [id_request] di tutte le istanze inoltrate ma non evase
|
||||
- INOLTRATA_SWF_NONE: restituisce l'elenco degli [id_request] di tutte le istanze che inoltrate che non hanno uno stato di workflow semplice
|
||||
- PRONTE_DA_ELABORARE: restituisce l'elenco degli [id_request] di tutte le istanze che hanno uno stato di workflow semplice mappato
|
||||
- EVASA: restituisce l'elenco degli [id_request] di tutte le istanze evase
|
||||
|
||||
E' possibile combinare due valori separati da virgola. Ad esempio INOLTRATA_SWF_NONE,EVASA restituisce l'elenco degli [id_request] di tutte le domande inoltrate e senza stato di workflow semplice e di tutte le domande evase.
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/json;charset=UTF-8
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
- name: transfer-encoding
|
||||
value: chunked
|
||||
- name: vary
|
||||
value: Accept-Encoding
|
||||
- name: content-encoding
|
||||
value: gzip
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.0.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "e68c420a-9732-43b4-95b0-b12cda24c956",
|
||||
"version": "3.7.0.6",
|
||||
"requests": [
|
||||
{
|
||||
"moduleTag": "PROPOSTA_CCT_DOCENTE",
|
||||
"requestId": 5102,
|
||||
"step": "Inoltrata, senza considerare stato di workflow semplice"
|
||||
},
|
||||
{
|
||||
"moduleTag": "PROPOSTA_CCT_DOCENTE",
|
||||
"requestId": 5514,
|
||||
"step": "Inoltrata, senza considerare stato di workflow semplice"
|
||||
}
|
||||
],
|
||||
"requestsSize": 2
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,272 @@
|
||||
info:
|
||||
name: Lookup By Status
|
||||
type: http
|
||||
seq: 4
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl_Default}}/request/lookup/by-status?username={{elixFormsApiUsername}}&requestStatus=SUBMITTED&moduleTag=PROPOSTA_CCT_OPERATORE"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: Accept
|
||||
value: application/json
|
||||
disabled: true
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
- name: requestStatus
|
||||
value: SUBMITTED
|
||||
type: query
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_OPERATORE
|
||||
type: query
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_DOCENTE
|
||||
type: query
|
||||
disabled: true
|
||||
- name: swfOptionKey
|
||||
value: "1"
|
||||
type: query
|
||||
disabled: true
|
||||
- name: swfOptionMode
|
||||
value: IN
|
||||
type: query
|
||||
disabled: true
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: requestStatus
|
||||
value: SUBMITTED
|
||||
description: |-
|
||||
Valori possibili:
|
||||
- IN_PROGRESS
|
||||
- SUBMITTED
|
||||
- PROCESSED
|
||||
|
||||
possibile selezionare valori multipli
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_OPERATORE
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_DOCENTE
|
||||
description: |-
|
||||
Per restringere il risultato alle sole richieste del/i modulo/i aventi tag specificato
|
||||
|
||||
Possibile selezionare valori multipli
|
||||
disabled: true
|
||||
- name: swfOptionKey
|
||||
value: "1"
|
||||
disabled: true
|
||||
- name: swfOptionMode
|
||||
value: IN
|
||||
disabled: true
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Lookup By Status (w SWF) - Success
|
||||
request:
|
||||
url: "{{elixFormsApiUrl_Default}}/request/lookup/by-status"
|
||||
method: POST
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: requestStatus
|
||||
value: PROCESSED
|
||||
description: |-
|
||||
Valori possibili:
|
||||
- IN_PROGRESS
|
||||
- SUBMITTED
|
||||
- PROCESSED
|
||||
|
||||
possibile selezionare valori multipli
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_OPERATORE
|
||||
disabled: true
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_DOCENTE
|
||||
description: |-
|
||||
Per restringere il risultato alle sole richieste del/i modulo/i aventi tag specificato
|
||||
|
||||
Possibile selezionare valori multipli
|
||||
- name: swfOptionKey
|
||||
value: "1"
|
||||
- name: swfOptionMode
|
||||
value: IN
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/it.elixforms.api.v1+json;charset=UTF-8
|
||||
- name: content-length
|
||||
value: "787"
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
body:
|
||||
type: text
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "OK",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "88b0ea46-f1c2-4ed3-a5f2-1a43c6e1fd58",
|
||||
"version": "3.10.0.23",
|
||||
"requests": [
|
||||
{
|
||||
"moduleTag": "PROPOSTA_CCT_DOCENTE",
|
||||
"requestId": 10699,
|
||||
"step": "Inoltrata, senza stato di workflow semplice disponibile per il modulo"
|
||||
},
|
||||
{
|
||||
"moduleTag": "PROPOSTA_CCT_DOCENTE",
|
||||
"requestId": 10728,
|
||||
"step": "Inoltrata, senza stato di workflow semplice disponibile per il modulo"
|
||||
},
|
||||
{
|
||||
"moduleTag": "PROPOSTA_CCT_DOCENTE",
|
||||
"requestId": 10868,
|
||||
"step": "Inoltrata, senza stato di workflow semplice disponibile per il modulo"
|
||||
}
|
||||
],
|
||||
"requestsSize": 3
|
||||
}
|
||||
}
|
||||
- name: Lookup By Status - Error
|
||||
request:
|
||||
url: "{{elixFormsApiUrl_Default}}/request/lookup/by-status"
|
||||
method: POST
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: requestStatus
|
||||
value: IN_PROGRESS
|
||||
description: |-
|
||||
Valori possibili:
|
||||
- IN_PROGRESS
|
||||
- SUBMITTED
|
||||
- PROCESSED
|
||||
|
||||
possibile selezionare valori multipli
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_OPERATORE
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_DOCENTE
|
||||
description: |-
|
||||
Per restringere il risultato alle sole richieste del/i modulo/i aventi tag specificato
|
||||
|
||||
Possibile selezionare valori multipli
|
||||
disabled: true
|
||||
- name: swfOptionKey
|
||||
value: "1"
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/it.elixforms.api.v1+json;charset=UTF-8
|
||||
- name: content-length
|
||||
value: "925"
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
body:
|
||||
type: text
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "ERROR",
|
||||
"description": "Il modulo identificato dal tag \"PROPOSTA_CCT_OPERATORE\" NON contiene un workflow semplice (la scheda modulo 10 contiene un valore nullo o 0 nella colonna S_10_COL0051), ma è stato richiesto di filtrare i risultati per il valore INOLTRATA (uno stato di workflow semplice)",
|
||||
"complete": true,
|
||||
"globalStatus": "ERROR",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "ERROR",
|
||||
"description": "Il modulo identificato dal tag \"PROPOSTA_CCT_OPERATORE\" NON contiene un workflow semplice (la scheda modulo 10 contiene un valore nullo o 0 nella colonna S_10_COL0051), ma è stato richiesto di filtrare i risultati per il valore INOLTRATA (uno stato di workflow semplice)",
|
||||
"detailStatus": "ERROR"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "ed18681c-a40e-458e-8f70-0b982a19ab0b",
|
||||
"version": "3.9.2.17",
|
||||
"requestsSize": 0
|
||||
}
|
||||
}
|
||||
+105
@@ -0,0 +1,105 @@
|
||||
info:
|
||||
name: Lookup By User and Period (OLD)
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{elixFormsApiUrl}}/request/lookup/by-user-and-period/v1"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: requestUser
|
||||
value: "29"
|
||||
- name: requestStatus
|
||||
value: IN_PROGRESS
|
||||
description: "possibili valori: IN_PROGRESS, SUBMITTED, PROCESSED"
|
||||
- name: requestStatus
|
||||
value: SUBMITTED
|
||||
disabled: true
|
||||
- name: dateFrom
|
||||
value: 2025-01-01
|
||||
- name: dateTo
|
||||
value: 2025-04-30
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_DOCENTE
|
||||
description: per restringere il risultato alle sole richieste del/i modulo/i aventi tag specificato
|
||||
- name: moduleTag
|
||||
value: tag_2
|
||||
disabled: true
|
||||
- name: swfOptionKey
|
||||
value: ""
|
||||
description: per restringere il risultato alle sole richieste aventi lo/gli stato/i del Simple Workflow (SWF) impostato all'indice corrispondente ad uno dei possibili valori del dominio definito dall'utente
|
||||
disabled: true
|
||||
- name: swfOptionKey
|
||||
value: "22"
|
||||
disabled: true
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Lookup By User and Period - Bad Request
|
||||
request:
|
||||
url: "{{elixFormsApiUrl}}/request/lookup/by-user-and-period/v1"
|
||||
method: GET
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: requestUser
|
||||
value: XYZ
|
||||
disabled: true
|
||||
- name: requestStatus
|
||||
value: IN_PROGRESS
|
||||
description: "possibili valori: IN_PROGRESS, SUBMITTED, PROCESSED"
|
||||
disabled: true
|
||||
- name: requestStatus
|
||||
value: SUBMITTED
|
||||
disabled: true
|
||||
- name: moduleTag
|
||||
value: PTA10
|
||||
description: per restringere il risultato alle sole richieste del/i modulo/i aventi tag specificato
|
||||
disabled: true
|
||||
- name: moduleTag
|
||||
value: tag_2
|
||||
disabled: true
|
||||
- name: swfOptionKey
|
||||
value: ""
|
||||
description: per restringere il risultato alle sole richieste aventi lo/gli stato/i del Simple Workflow (SWF) impostato all'indice corrispondente ad uno dei possibili valori del dominio definito dall'utente
|
||||
disabled: true
|
||||
- name: swfOptionKey
|
||||
value: "22"
|
||||
disabled: true
|
||||
response:
|
||||
statusText: "400"
|
||||
headers:
|
||||
- name: date
|
||||
value: Fri, 28 Mar 2025 14:47:51 GMT
|
||||
- name: content-length
|
||||
value: "0"
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
body:
|
||||
type: text
|
||||
data: ""
|
||||
+106
@@ -0,0 +1,106 @@
|
||||
info:
|
||||
name: Lookup By User only (?) (OLD)
|
||||
type: http
|
||||
seq: 3
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{elixFormsApiUrl}}/request/lookup/by-user/v1"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
disabled: true
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: requestUser
|
||||
value: "29"
|
||||
- name: requestStatus
|
||||
value: IN_PROGRESS
|
||||
description: "possibili valori: IN_PROGRESS, SUBMITTED, PROCESSED"
|
||||
- name: requestStatus
|
||||
value: SUBMITTED
|
||||
disabled: true
|
||||
- name: moduleTag
|
||||
value: PROPOSTA_CCT_DOCENTE
|
||||
description: per restringere il risultato alle sole richieste del/i modulo/i aventi tag specificato
|
||||
- name: moduleTag
|
||||
value: tag_2
|
||||
disabled: true
|
||||
- name: swfOptionKey
|
||||
value: ""
|
||||
description: per restringere il risultato alle sole richieste aventi lo/gli stato/i del Simple Workflow (SWF) impostato all'indice corrispondente ad uno dei possibili valori del dominio definito dall'utente
|
||||
disabled: true
|
||||
- name: swfOptionKey
|
||||
value: "22"
|
||||
disabled: true
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Lookup By User only (?) - Bad Request
|
||||
request:
|
||||
url: "{{elixFormsApiUrl}}/request/lookup/by-user-and-period/v1"
|
||||
method: GET
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: requestUser
|
||||
value: XYZ
|
||||
disabled: true
|
||||
- name: requestStatus
|
||||
value: IN_PROGRESS
|
||||
description: "possibili valori: IN_PROGRESS, SUBMITTED, PROCESSED"
|
||||
disabled: true
|
||||
- name: requestStatus
|
||||
value: SUBMITTED
|
||||
disabled: true
|
||||
- name: moduleTag
|
||||
value: PTA10
|
||||
description: per restringere il risultato alle sole richieste del/i modulo/i aventi tag specificato
|
||||
disabled: true
|
||||
- name: moduleTag
|
||||
value: tag_2
|
||||
disabled: true
|
||||
- name: swfOptionKey
|
||||
value: ""
|
||||
description: per restringere il risultato alle sole richieste aventi lo/gli stato/i del Simple Workflow (SWF) impostato all'indice corrispondente ad uno dei possibili valori del dominio definito dall'utente
|
||||
disabled: true
|
||||
- name: swfOptionKey
|
||||
value: "22"
|
||||
disabled: true
|
||||
response:
|
||||
statusText: "400"
|
||||
headers:
|
||||
- name: date
|
||||
value: Fri, 28 Mar 2025 14:47:51 GMT
|
||||
- name: content-length
|
||||
value: "0"
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
body:
|
||||
type: text
|
||||
data: ""
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: Obsolete
|
||||
type: folder
|
||||
seq: 1
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: Requests lookup
|
||||
type: folder
|
||||
seq: 4
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
@@ -0,0 +1,45 @@
|
||||
info:
|
||||
name: "Set Request Status: Incomplete"
|
||||
type: http
|
||||
seq: 11
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/request/:request_id/set-status/v1"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
params:
|
||||
- name: request_id
|
||||
value: "6085"
|
||||
type: path
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: requestStatus
|
||||
value: ""
|
||||
description: "nuovo stato della request, possibili valori: SUBMITTED, PROCESSED"
|
||||
disabled: true
|
||||
- name: swfOptionKey
|
||||
value: ""
|
||||
description: |-
|
||||
indice del valore associato al SWF che si desidera impostare
|
||||
|
||||
più chiaramente, si suppone che il modulo associato alla richiesta abbia un SWF impostato, cioè avente degli stati personalizzati, e che esista un campo SELECT contenente tali stati: il valore indicato da questo parametro è l'indice (base 1) del nuovo stato personalizzato che si vuole impostare
|
||||
disabled: true
|
||||
- name: properties
|
||||
value: '[{"key":"COL0004","value":"cambio stato manuale"},{"key":"COL0002","value":"31-03-2025"}]'
|
||||
description: |-
|
||||
mappa chiave,valore/i aggiuntivo/i in formato json (url-encoding richiesto in UTF-8)
|
||||
|
||||
il formato è del tipo: `[{"key":"COL0004","value":"cambio stato manuale"},{"key":"COL0002","value":"31-03-2025"}]`
|
||||
disabled: true
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,115 @@
|
||||
info:
|
||||
name: Get User Info
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{elixFormsApiUrl_Default}}/request/:request_id/user-info/get"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
description: username
|
||||
disabled: true
|
||||
- name: request_id
|
||||
value: "16288"
|
||||
type: path
|
||||
description: id dell'istanza eF
|
||||
body:
|
||||
type: form-urlencoded
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Get User Info - Success
|
||||
request:
|
||||
url: "{{elixFormsApiUrl_Default}}/request/:request_id/user-info/get?username={{elixFormsApiUsername}}"
|
||||
method: GET
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
description: username
|
||||
- name: request_id
|
||||
value: "7007"
|
||||
type: path
|
||||
description: id dell'istanza eF
|
||||
body:
|
||||
type: form-urlencoded
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/it.elixforms.api.v1.2+json;charset=UTF-8
|
||||
- name: content-length
|
||||
value: "536"
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
body:
|
||||
type: text
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "Platform user found",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "Platform user found",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "c7692632-fbab-4fb6-8889-c6b20f0dd95a",
|
||||
"version": "3.9.2.17",
|
||||
"matchingEntitiesSize": 1,
|
||||
"platofrmUser": {
|
||||
"id": 29,
|
||||
"cognome": "MAMMI",
|
||||
"email": "pierpaolo.mammi@unipr.it",
|
||||
"nome": "Pier Paolo",
|
||||
"uid": "MMMPPL74T17E463A"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: User info
|
||||
type: folder
|
||||
seq: 6
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
@@ -0,0 +1,49 @@
|
||||
info:
|
||||
name: Creazione JWT
|
||||
type: http
|
||||
seq: 3
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/authentication/jwt"
|
||||
headers:
|
||||
- name: Content-Type
|
||||
value: application/json
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"iss\": \"servizio-cittadino-attivo\",\r
|
||||
|
||||
\ \"sub\": \"mariorossi\",\r
|
||||
|
||||
\ \"info\": {\r
|
||||
|
||||
\ \"https://www.elixforms.it/name\": \"Mario\",\r
|
||||
|
||||
\ \"https://www.elixforms.it/surname\": \"Rossi\",\r
|
||||
|
||||
\ \"https://www.elixforms.it/email\": \"mario.rossi@example.org\",\r
|
||||
|
||||
\ \"https://www.elixforms.it/fiscal_code\": \"XXX\",\r
|
||||
|
||||
\ \"https://www.elixforms.it/login_date\": \"2023-08-09T11:31:30Z[UTC]\",\r
|
||||
|
||||
\ \"https://www.elixforms.it/login_receipt\": \"SPIDlogin 0101001029\"\r
|
||||
|
||||
\ }\r
|
||||
|
||||
}"
|
||||
auth:
|
||||
type: apikey
|
||||
key: x-api-key
|
||||
value: "{{elixFormsApiAuthToken}}"
|
||||
placement: header
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,22 @@
|
||||
info:
|
||||
name: SSO Receipt Insert
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl_Default}}/authentication/sso/receipts"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
auth:
|
||||
type: apikey
|
||||
key: x-api-key
|
||||
value: "{{elixFormsApiAuthToken}}"
|
||||
placement: header
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,26 @@
|
||||
info:
|
||||
name: SSO Receipt by User
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{elixFormsApiUrl_Default}}/authentication/sso/receipts/users/:codice_fiscale"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
params:
|
||||
- name: codice_fiscale
|
||||
value: MMMPPL74T17E463A
|
||||
type: path
|
||||
auth:
|
||||
type: apikey
|
||||
key: x-api-key
|
||||
value: "{{elixFormsApiAuthToken}}"
|
||||
placement: header
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: _Untested
|
||||
type: folder
|
||||
seq: 1
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
@@ -0,0 +1,18 @@
|
||||
function visualize(res) {
|
||||
var response = res.getBody();
|
||||
var decodedDocument = "";
|
||||
if (!response.value.processedDocument || response.value.code === "ERROR") {
|
||||
decodedDocument = "ERRORE EFTL!\n";
|
||||
decodedDocument += response.value.description.split("\n").slice(0, 3).join("\n");
|
||||
}
|
||||
else {
|
||||
decodedDocument = atob(response.value.processedDocument);
|
||||
}
|
||||
response.decodedDocument = decodedDocument;
|
||||
|
||||
console.log(response.decodedDocument);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
visualize
|
||||
};
|
||||
@@ -0,0 +1,409 @@
|
||||
opencollection: 1.0.0
|
||||
|
||||
info:
|
||||
name: elixForms API v2
|
||||
config:
|
||||
proxy:
|
||||
inherit: true
|
||||
config:
|
||||
protocol: http
|
||||
hostname: ""
|
||||
port: ""
|
||||
auth:
|
||||
username: ""
|
||||
password: ""
|
||||
bypassProxy: ""
|
||||
|
||||
request:
|
||||
auth:
|
||||
type: bearer
|
||||
token: "{{elixFormsApiAuthToken}}"
|
||||
variables:
|
||||
- name: elixFormsApiAuthToken
|
||||
value: ""
|
||||
- name: elixRequestCloningDate
|
||||
value: ""
|
||||
- name: elixFormalCommunicationDate
|
||||
value: ""
|
||||
- name: elixSetAcquiredAppointmentDate
|
||||
value: ""
|
||||
- name: elixBase64EftlDocument
|
||||
value: ""
|
||||
scripts:
|
||||
- type: after-response
|
||||
code: |-
|
||||
// This is Postman visualizer stuff
|
||||
/*
|
||||
// GO TO THE END OF THE TEST SCRIPT.
|
||||
var template = String.raw`
|
||||
<style>
|
||||
.fill,
|
||||
body,
|
||||
html {
|
||||
height: 100%
|
||||
}
|
||||
|
||||
#json_vl,
|
||||
.td_head,
|
||||
.td_row_even,
|
||||
.td_row_odd {
|
||||
font-size: small
|
||||
}
|
||||
|
||||
#json_pnl,
|
||||
#xxa,
|
||||
.navbar-header,
|
||||
.navbar-nav,
|
||||
.navbar-nav>li,
|
||||
.td_head {
|
||||
float: left
|
||||
}
|
||||
|
||||
.fill {
|
||||
min-height: 100%
|
||||
}
|
||||
|
||||
#json_vl {
|
||||
font-family: 'FiraCode Nerd Font Mono', 'Cascadia Code', 'Fira Code', Consolas, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace
|
||||
}
|
||||
|
||||
#widget {
|
||||
width: 100%
|
||||
}
|
||||
|
||||
.top_size {
|
||||
height: 51px
|
||||
}
|
||||
|
||||
#all_panels {
|
||||
height: 100%;
|
||||
min-height: 100%
|
||||
}
|
||||
|
||||
#aboutLnk {
|
||||
position: fixed;
|
||||
right: 10px;
|
||||
top: 15px
|
||||
}
|
||||
|
||||
#inner_text {
|
||||
display: block;
|
||||
position: absolute;
|
||||
height: auto;
|
||||
bottom: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin-top: 51px;
|
||||
margin-bottom: 0
|
||||
}
|
||||
|
||||
#json_pnl {
|
||||
background-color: #ccc;
|
||||
width: 33.3%
|
||||
}
|
||||
|
||||
#xxa {
|
||||
background-color: #E8E8E8;
|
||||
width: 66.7%
|
||||
}
|
||||
|
||||
#table_pnl,
|
||||
#tree_pnl {
|
||||
background-color: #E8E8E8;
|
||||
float: left;
|
||||
width: 50%
|
||||
}
|
||||
|
||||
#sharethis {
|
||||
position: fixed;
|
||||
right: 80px;
|
||||
top: 10px
|
||||
}
|
||||
|
||||
#inner_tbl {
|
||||
padding-left: 2px
|
||||
}
|
||||
|
||||
.td_row_even {
|
||||
padding: 2px;
|
||||
background-color: #F6F4F0
|
||||
}
|
||||
|
||||
.td_row_odd {
|
||||
padding: 2px;
|
||||
background-color: #FFF
|
||||
}
|
||||
|
||||
.td_head {
|
||||
padding: 2px;
|
||||
font-weight: 700
|
||||
}
|
||||
|
||||
input,
|
||||
p,
|
||||
select,
|
||||
td,
|
||||
textarea,
|
||||
th {
|
||||
font-size: 1em
|
||||
}
|
||||
|
||||
table,
|
||||
td,
|
||||
th {
|
||||
border: 1px solid gray
|
||||
}
|
||||
|
||||
textarea {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 4px;
|
||||
border: 1px solid #333;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden
|
||||
}
|
||||
|
||||
*,
|
||||
html {
|
||||
font-family: 'FiraCode Nerd Font Mono', 'Cascadia Code', 'Fira Code', Consolas, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace
|
||||
// Verdana, Arial, Helvetica, sans-serif
|
||||
}
|
||||
|
||||
form,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
li,
|
||||
p,
|
||||
ul {
|
||||
margin: 0;
|
||||
padding: 0
|
||||
}
|
||||
|
||||
img {
|
||||
border: none
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0 0 1em
|
||||
}
|
||||
|
||||
table {
|
||||
font-size: 100%;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
ol.tree {
|
||||
padding: 0 0 0 30px;
|
||||
width: 300px
|
||||
}
|
||||
|
||||
li {
|
||||
position: relative;
|
||||
margin-left: -15px;
|
||||
list-style: none
|
||||
}
|
||||
|
||||
li.file {
|
||||
margin-left: -1px !important
|
||||
}
|
||||
|
||||
li.file a {
|
||||
background: url(leaf.png)0 5px no-repeat;
|
||||
color: #000;
|
||||
padding-left: 12px;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
font-size: small
|
||||
}
|
||||
|
||||
li.file a[href$='.css'],
|
||||
li.file a[href$='.js'],
|
||||
li.file a[href*='.pdf'],
|
||||
li.file a[href*='.html'] {
|
||||
background: url(http://www.thecssninja.com/demo/css_tree/document.png)no-repeat
|
||||
}
|
||||
|
||||
li input {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
margin-left: 0;
|
||||
opacity: 0;
|
||||
z-index: 2;
|
||||
cursor: pointer;
|
||||
height: 1em;
|
||||
width: 1em;
|
||||
top: 0
|
||||
}
|
||||
|
||||
li input+ol {
|
||||
background: url(http://www.thecssninja.com/demo/css_tree/toggle-small-expand.png)40px -3px no-repeat;
|
||||
margin: -20px 0 0 -44px;
|
||||
height: 1em;
|
||||
padding: 1.563em 0 0 80px
|
||||
}
|
||||
|
||||
li label.lbl_array,
|
||||
li label.lbl_obj {
|
||||
display: block;
|
||||
padding-left: 33px;
|
||||
margin-bottom: 2px
|
||||
}
|
||||
|
||||
li input+ol>li {
|
||||
display: none;
|
||||
margin-left: -14px !important;
|
||||
padding-left: 1px
|
||||
}
|
||||
|
||||
li label.lbl_obj {
|
||||
background: url(folder.png)15px 1px no-repeat;
|
||||
cursor: pointer
|
||||
}
|
||||
|
||||
li label.lbl_array {
|
||||
background: url(array.png)15px 1px no-repeat;
|
||||
cursor: pointer
|
||||
}
|
||||
|
||||
li input:checked+ol {
|
||||
background: url(http://www.thecssninja.com/demo/css_tree/toggle-small.png)40px -3px no-repeat;
|
||||
margin: -20px 0 0 -44px;
|
||||
padding: 1.563em 0 0 80px;
|
||||
height: auto
|
||||
}
|
||||
|
||||
li input:checked+ol>li {
|
||||
display: block;
|
||||
margin: 0 0 .125em
|
||||
}
|
||||
|
||||
li input:checked+ol>li:last-child {
|
||||
margin: 0 0 .063em
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 970px;
|
||||
max-width: none !important
|
||||
}
|
||||
|
||||
.col-xs-4 {
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
background-color: #eee;
|
||||
background-color: rgba(86, 61, 124, .15);
|
||||
border: 1px solid #ddd;
|
||||
border: 1px solid rgba(86, 61, 124, .2)
|
||||
}
|
||||
|
||||
</style>
|
||||
<div id="html">
|
||||
<input type="text" id="json">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
||||
<!--<script src="json2table.js"></script>-->
|
||||
<script>
|
||||
$(function() {
|
||||
// pm.getData((err, data) => {
|
||||
$("#json").val(JSON.stringify(data.json));
|
||||
json2table("#html");
|
||||
});
|
||||
});
|
||||
|
||||
function call(a) {
|
||||
$("#json").val(JSON.stringify(a, void 0, 2));
|
||||
json2table()
|
||||
}
|
||||
|
||||
function json2table(selector) {
|
||||
$(selector).html(buildTable(getJsonVar()));
|
||||
}
|
||||
|
||||
function getJsonVar() {
|
||||
try {
|
||||
var a = $.parseJSON($("#json").val());
|
||||
$("#json").val(JSON.stringify(a, void 0, 2));
|
||||
return a
|
||||
} catch (e) {
|
||||
//return $("#error_msg").text(e.message), $("#errorModal").modal("show"), {}
|
||||
alert(e);
|
||||
}
|
||||
}
|
||||
|
||||
function buildTable(a) {
|
||||
var e = document.createElement("table"),
|
||||
d, b;
|
||||
if (isArray(a)) return buildArray(a);
|
||||
for (var c in a) "object" != typeof a[c] || isArray(a[c]) ? "object" == typeof a[c] && isArray(a[c]) ? (d = e.insertRow(-1), b = d.insertCell(-1), b.colSpan = 2, b.innerHTML = '<div class="td_head">' + encodeText(c) + '</div><table style="width:100%">' + $(buildArray(a[c]), !1).html() + "</table>") : (d = e.insertRow(-1), b = d.insertCell(-1), b.innerHTML = "<div class='td_head'>" + encodeText(c) + "</div>", d = d.insertCell(-1), d.innerHTML = "<div class='td_row_even'>" +
|
||||
encodeText(a[c]) + "</div>") : (d = e.insertRow(-1), b = d.insertCell(-1), b.colSpan = 2, b.innerHTML = '<div class="td_head">' + encodeText(c) + '</div><table style="width:100%">' + $(buildTable(a[c]), !1).html() + "</table>");
|
||||
return e
|
||||
}
|
||||
|
||||
function buildArray(a) {
|
||||
var e = document.createElement("table"),
|
||||
d, b, c = !1,
|
||||
p = !1,
|
||||
m = {},
|
||||
h = -1,
|
||||
n = 0,
|
||||
l;
|
||||
l = "";
|
||||
if (0 == a.length) return "<div></div>";
|
||||
d = e.insertRow(-1);
|
||||
for (var f = 0; f < a.length; f++)
|
||||
if ("object" != typeof a[f] || isArray(a[f])) "object" == typeof a[f] && isArray(a[f]) ? (b = d.insertCell(h), b.colSpan = 2, b.innerHTML = '<div class="td_head"></div><table style="width:100%">' + $(buildArray(a[f]), !1).html() + "</table>", c = !0) : p || (h += 1, p = !0, b = d.insertCell(h), m.empty = h, b.innerHTML = "<div class='td_head'> </div>");
|
||||
else
|
||||
for (var k in a[f]) l =
|
||||
"-" + k, l in m || (c = !0, h += 1, b = d.insertCell(h), m[l] = h, b.innerHTML = "<div class='td_head'>" + encodeText(k) + "</div>");
|
||||
c || e.deleteRow(0);
|
||||
n = h + 1;
|
||||
for (f = 0; f < a.length; f++)
|
||||
if (d = e.insertRow(-1), td_class = isEven(f) ? "td_row_even" : "td_row_odd", "object" != typeof a[f] || isArray(a[f]))
|
||||
if ("object" == typeof a[f] && isArray(a[f]))
|
||||
for (h = m.empty, c = 0; c < n; c++) b = d.insertCell(c), b.className = td_class, l = c == h ? '<table style="width:100%">' + $(buildArray(a[f]), !1).html() + "</table>" : " ", b.innerHTML = "<div class='" + td_class + "'>" + encodeText(l) +
|
||||
"</div>";
|
||||
else
|
||||
for (h = m.empty, c = 0; c < n; c++) b = d.insertCell(c), l = c == h ? a[f] : " ", b.className = td_class, b.innerHTML = "<div class='" + td_class + "'>" + encodeText(l) + "</div>";
|
||||
else {
|
||||
for (c = 0; c < n; c++) b = d.insertCell(c), b.className = td_class, b.innerHTML = "<div class='" + td_class + "'> </div>";
|
||||
for (k in a[f]) c = a[f], l = "-" + k, h = m[l], b = d.cells[h], b.className = td_class, "object" != typeof c[k] || isArray(c[k]) ? "object" == typeof c[k] && isArray(c[k]) ? b.innerHTML = '<table style="width:100%">' + $(buildArray(c[k]), !1).html() + "</table>" : b.innerHTML =
|
||||
"<div class='" + td_class + "'>" + encodeText(c[k]) + "</div>" : b.innerHTML = '<table style="width:100%">' + $(buildTable(c[k]), !1).html() + "</table>"
|
||||
}
|
||||
return e
|
||||
}
|
||||
|
||||
function encodeText(a) {
|
||||
return $("<div />").text(a).html()
|
||||
}
|
||||
|
||||
function isArray(a) {
|
||||
return "[object Array]" === Object.prototype.toString.call(a)
|
||||
}
|
||||
|
||||
function isEven(a) {
|
||||
return 0 == a % 2
|
||||
}
|
||||
</script>`;
|
||||
|
||||
|
||||
// In case you only want a specific property, change it here.
|
||||
//
|
||||
// // Default: You can set the entire JSON response using pm.response.json()
|
||||
let tableProps = {
|
||||
json: res.getBody()
|
||||
};
|
||||
|
||||
// pm.visualizer.set(template, tableProps);
|
||||
*/
|
||||
bundled: false
|
||||
extensions:
|
||||
ignore:
|
||||
- node_modules
|
||||
- .git
|
||||
Reference in New Issue
Block a user