Reorder sections
curl --request PATCH \
--url https://{subdomain}.logicgate.com/api/v1/internal/form/sections \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"numberOfColumns": 123,
"readOnly": true,
"id": "<string>",
"name": "<string>",
"color": "<string>",
"icon": "<string>",
"guidance": "<string>",
"priority": 123,
"colspan": 123,
"collapsed": true,
"conditionsEnabled": true,
"conditionsUseAndOperator": true
}
]
'import requests
url = "https://{subdomain}.logicgate.com/api/v1/internal/form/sections"
payload = [
{
"numberOfColumns": 123,
"readOnly": True,
"id": "<string>",
"name": "<string>",
"color": "<string>",
"icon": "<string>",
"guidance": "<string>",
"priority": 123,
"colspan": 123,
"collapsed": True,
"conditionsEnabled": True,
"conditionsUseAndOperator": True
}
]
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify([
{
numberOfColumns: 123,
readOnly: true,
id: '<string>',
name: '<string>',
color: '<string>',
icon: '<string>',
guidance: '<string>',
priority: 123,
colspan: 123,
collapsed: true,
conditionsEnabled: true,
conditionsUseAndOperator: true
}
])
};
fetch('https://{subdomain}.logicgate.com/api/v1/internal/form/sections', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{subdomain}.logicgate.com/api/v1/internal/form/sections",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
[
'numberOfColumns' => 123,
'readOnly' => true,
'id' => '<string>',
'name' => '<string>',
'color' => '<string>',
'icon' => '<string>',
'guidance' => '<string>',
'priority' => 123,
'colspan' => 123,
'collapsed' => true,
'conditionsEnabled' => true,
'conditionsUseAndOperator' => true
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{subdomain}.logicgate.com/api/v1/internal/form/sections"
payload := strings.NewReader("[\n {\n \"numberOfColumns\": 123,\n \"readOnly\": true,\n \"id\": \"<string>\",\n \"name\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"guidance\": \"<string>\",\n \"priority\": 123,\n \"colspan\": 123,\n \"collapsed\": true,\n \"conditionsEnabled\": true,\n \"conditionsUseAndOperator\": true\n }\n]")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://{subdomain}.logicgate.com/api/v1/internal/form/sections")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("[\n {\n \"numberOfColumns\": 123,\n \"readOnly\": true,\n \"id\": \"<string>\",\n \"name\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"guidance\": \"<string>\",\n \"priority\": 123,\n \"colspan\": 123,\n \"collapsed\": true,\n \"conditionsEnabled\": true,\n \"conditionsUseAndOperator\": true\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.logicgate.com/api/v1/internal/form/sections")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"numberOfColumns\": 123,\n \"readOnly\": true,\n \"id\": \"<string>\",\n \"name\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"guidance\": \"<string>\",\n \"priority\": 123,\n \"colspan\": 123,\n \"collapsed\": true,\n \"conditionsEnabled\": true,\n \"conditionsUseAndOperator\": true\n }\n]"
response = http.request(request)
puts response.read_body[
{
"numberOfColumns": 123,
"readOnly": true,
"id": "<string>",
"name": "<string>",
"color": "<string>",
"icon": "<string>",
"guidance": "<string>",
"priority": 123,
"colspan": 123,
"collapsed": true,
"defaultState": "HIDDEN",
"conditionsEnabled": true,
"conditionsUseAndOperator": true,
"sectionType": "CONTENT_SECTION"
}
]{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"properties": {}
}Section
Reorder sections
Permissions: Build Access to parent application
Update the arrangement priority and column placement of the supplied form sections.
PATCH
/
api
/
v1
/
internal
/
form
/
sections
Reorder sections
curl --request PATCH \
--url https://{subdomain}.logicgate.com/api/v1/internal/form/sections \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"numberOfColumns": 123,
"readOnly": true,
"id": "<string>",
"name": "<string>",
"color": "<string>",
"icon": "<string>",
"guidance": "<string>",
"priority": 123,
"colspan": 123,
"collapsed": true,
"conditionsEnabled": true,
"conditionsUseAndOperator": true
}
]
'import requests
url = "https://{subdomain}.logicgate.com/api/v1/internal/form/sections"
payload = [
{
"numberOfColumns": 123,
"readOnly": True,
"id": "<string>",
"name": "<string>",
"color": "<string>",
"icon": "<string>",
"guidance": "<string>",
"priority": 123,
"colspan": 123,
"collapsed": True,
"conditionsEnabled": True,
"conditionsUseAndOperator": True
}
]
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify([
{
numberOfColumns: 123,
readOnly: true,
id: '<string>',
name: '<string>',
color: '<string>',
icon: '<string>',
guidance: '<string>',
priority: 123,
colspan: 123,
collapsed: true,
conditionsEnabled: true,
conditionsUseAndOperator: true
}
])
};
fetch('https://{subdomain}.logicgate.com/api/v1/internal/form/sections', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{subdomain}.logicgate.com/api/v1/internal/form/sections",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
[
'numberOfColumns' => 123,
'readOnly' => true,
'id' => '<string>',
'name' => '<string>',
'color' => '<string>',
'icon' => '<string>',
'guidance' => '<string>',
'priority' => 123,
'colspan' => 123,
'collapsed' => true,
'conditionsEnabled' => true,
'conditionsUseAndOperator' => true
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{subdomain}.logicgate.com/api/v1/internal/form/sections"
payload := strings.NewReader("[\n {\n \"numberOfColumns\": 123,\n \"readOnly\": true,\n \"id\": \"<string>\",\n \"name\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"guidance\": \"<string>\",\n \"priority\": 123,\n \"colspan\": 123,\n \"collapsed\": true,\n \"conditionsEnabled\": true,\n \"conditionsUseAndOperator\": true\n }\n]")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://{subdomain}.logicgate.com/api/v1/internal/form/sections")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("[\n {\n \"numberOfColumns\": 123,\n \"readOnly\": true,\n \"id\": \"<string>\",\n \"name\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"guidance\": \"<string>\",\n \"priority\": 123,\n \"colspan\": 123,\n \"collapsed\": true,\n \"conditionsEnabled\": true,\n \"conditionsUseAndOperator\": true\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.logicgate.com/api/v1/internal/form/sections")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"numberOfColumns\": 123,\n \"readOnly\": true,\n \"id\": \"<string>\",\n \"name\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"guidance\": \"<string>\",\n \"priority\": 123,\n \"colspan\": 123,\n \"collapsed\": true,\n \"conditionsEnabled\": true,\n \"conditionsUseAndOperator\": true\n }\n]"
response = http.request(request)
puts response.read_body[
{
"numberOfColumns": 123,
"readOnly": true,
"id": "<string>",
"name": "<string>",
"color": "<string>",
"icon": "<string>",
"guidance": "<string>",
"priority": 123,
"colspan": 123,
"collapsed": true,
"defaultState": "HIDDEN",
"conditionsEnabled": true,
"conditionsUseAndOperator": true,
"sectionType": "CONTENT_SECTION"
}
]{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"properties": {}
}Authorizations
ApiTokenbasic
Body
application/json
- Option 1
- Option 2
- Option 3
Circular reference to FormSection_SectionSummary
Available options:
CONTENT_SECTION, DASHBOARD, DASHBOARD_SECTION, FIELD_LINK, FORM_SECTION, GRAPH_REPORT, HTML_SECTION, STEP_PAGE, SUB_SECTION, VISUAL_REPORT, WORKFLOW_LINK, JIRA_WORKFLOW_LINK, ANALYSIS_REPORT, EMBEDDED_REPORT, EVIDENCE_SECTION, DATA_WAREHOUSE_LINK, SCOPING_SECTION Response
OK
- Option 1
- Option 2
- Option 3
Circular reference to FormSection_SectionSummary
Available options:
CONTENT_SECTION, DASHBOARD, DASHBOARD_SECTION, FIELD_LINK, FORM_SECTION, GRAPH_REPORT, HTML_SECTION, STEP_PAGE, SUB_SECTION, VISUAL_REPORT, WORKFLOW_LINK, JIRA_WORKFLOW_LINK, ANALYSIS_REPORT, EMBEDDED_REPORT, EVIDENCE_SECTION, DATA_WAREHOUSE_LINK, SCOPING_SECTION 
