Update elixForms API requests documentation and values

Reviewed-on: #4
This commit was merged in pull request #4.
This commit is contained in:
pierpaolo.mammi committed 2026-09-08 12:34:23 +02:00
1 parent 88c2a9f66b
commit 97d512d314
2 files changed
+53 -19

No files matched your search

@@ -5,7 +5,7 @@ info:
http:
method: POST
url: "{{elixFormsApiUrl_Default}}/request/:request_id/swf/columns;{{elixRegisterResultColumns}}?username={{elixFormsApiUsername}}"
url: "{{elixFormsApiUrl_Default}}/request/:request_id/swf/{{columns}}?username={{elixFormsApiUsername}}"
headers:
- name: x-requested-with
value: XMLHttpRequest
@@ -14,12 +14,18 @@ http:
value: "{{elixFormsApiUsername}}"
type: query
- name: request_id
value: "6085"
value: "27310"
type: path
body:
type: form-urlencoded
auth: inherit
runtime:
variables:
- name: columns
value: ""
disabled: true
- name: columns
value: COL0001="1";COL0002={{$isoTimestamp}}
settings:
encodeUrl: true
timeout: 0
@@ -103,12 +109,13 @@ examples:
}
docs: |-
The elixRegisterResultColumns variable must be built like the following:
The columns 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
- variable must start with "columns;"
- add one "index=value" couple for every field in the SWF schema to be updated, where "index" is the name of the associated SWF schema field (e.g.: COL0003) and "value" is the string content to be used
- each couple must be separated by a semi-period (\`;\` character)
For example, suppose the request has a SWF schema with ID 356, containing:
For example, suppose the request has a SWF schema with ID 356 having:
- State = COL0001
- Date = COL0002
@@ -117,6 +124,8 @@ docs: |-
If you want to change the CURRENT state's date and message values, you will put into the variable the following value:
`columns;[{"key":"COL0002","value":"31-03-2025"},{"key":"COL0004","value":"this is the new message"}]`
`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?).
Keep in mind that Bruno automatically encodes the parameter, so you may use spaces and other symbols (maybe?).