info:
  name: Lookup By User
  type: http
  seq: 4

http:
  method: GET
  url: "{{elixFormsApiUrl_Default}}/request/lookup/by-user?requestUser=MMMPPL74T17E463A&requestStatus=PROCESSED&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: PROCESSED
      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
  forwardAuthorizationHeader: true

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
              }
          }
