143 lines
5.2 KiB
YAML
143 lines
5.2 KiB
YAML
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
|