126 lines
4.4 KiB
YAML
126 lines
4.4 KiB
YAML
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
|
|
forwardAuthorizationHeader: true
|
|
|
|
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
|
|
}
|
|
}
|