Create a field link
curl --request POST \
--url https://{subdomain}.logicgate.com/api/v1/internal/form/fieldLinks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"numberOfColumns": 123,
"readOnly": true,
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"color": "<string>",
"icon": "<string>",
"guidance": "<string>",
"priority": 123,
"colspan": 123,
"collapsed": true,
"conditionsEnabled": true,
"conditionsUseAndOperator": true,
"step": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"xpos": 123,
"ypos": 123,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"sla": {
"enabled": true,
"duration": 123
},
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"contains": "<unknown>",
"origin": true,
"chain": true
},
"stepId": "<string>",
"parentId": "<string>",
"required": true,
"enabled": true,
"displayGuidance": true,
"onReadOnlySubsection": true,
"column": 123,
"field": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"labels": [
"<string>"
],
"label": "<string>",
"tooltip": "<string>",
"helpText": "<string>",
"enabledForRecordAccess": true,
"currentValues": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true
}
],
"defaultValues": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true
}
],
"operators": [],
"convertibleTo": [
"<string>"
],
"copyRecordAccessField": true,
"currencyForNumberDisplayingFields": "<unknown>",
"valueType": "<string>",
"global": true,
"requiresUniqueValue": true,
"parameterizedCurrentValues": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true
}
],
"analysisOutputField": true,
"discrete": true,
"currentValuesFromOtherField": "<unknown>",
"formatForNumberDisplayingFields": "<unknown>",
"crossWorkflowCalculation": true,
"validTypeForCalculationInput": true
},
"fieldId": "<string>"
}
'import requests
url = "https://{subdomain}.logicgate.com/api/v1/internal/form/fieldLinks"
payload = {
"numberOfColumns": 123,
"readOnly": True,
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"color": "<string>",
"icon": "<string>",
"guidance": "<string>",
"priority": 123,
"colspan": 123,
"collapsed": True,
"conditionsEnabled": True,
"conditionsUseAndOperator": True,
"step": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"xpos": 123,
"ypos": 123,
"commentsEnabled": True,
"documentsEnabled": True,
"externalUserMfaRequired": True,
"uxriEnabled": True,
"autofillEnabled": True,
"sla": {
"enabled": True,
"duration": 123
},
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": True,
"contains": "<unknown>",
"origin": True,
"chain": True
},
"stepId": "<string>",
"parentId": "<string>",
"required": True,
"enabled": True,
"displayGuidance": True,
"onReadOnlySubsection": True,
"column": 123,
"field": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"labels": ["<string>"],
"label": "<string>",
"tooltip": "<string>",
"helpText": "<string>",
"enabledForRecordAccess": True,
"currentValues": [
{
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": True,
"archived": True,
"priority": 123,
"userGroup": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True
}
],
"defaultValues": [
{
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": True,
"archived": True,
"priority": 123,
"userGroup": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True
}
],
"operators": [],
"convertibleTo": ["<string>"],
"copyRecordAccessField": True,
"currencyForNumberDisplayingFields": "<unknown>",
"valueType": "<string>",
"global": True,
"requiresUniqueValue": True,
"parameterizedCurrentValues": [
{
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": True,
"archived": True,
"priority": 123,
"userGroup": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True
}
],
"analysisOutputField": True,
"discrete": True,
"currentValuesFromOtherField": "<unknown>",
"formatForNumberDisplayingFields": "<unknown>",
"crossWorkflowCalculation": True,
"validTypeForCalculationInput": True
},
"fieldId": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
numberOfColumns: 123,
readOnly: true,
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
name: '<string>',
color: '<string>',
icon: '<string>',
guidance: '<string>',
priority: 123,
colspan: 123,
collapsed: true,
conditionsEnabled: true,
conditionsUseAndOperator: true,
step: {
name: '<string>',
description: '<string>',
priority: 123,
xpos: 123,
ypos: 123,
commentsEnabled: true,
documentsEnabled: true,
externalUserMfaRequired: true,
uxriEnabled: true,
autofillEnabled: true,
sla: {enabled: true, duration: 123},
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
end: true,
contains: '<unknown>',
origin: true,
chain: true
},
stepId: '<string>',
parentId: '<string>',
required: true,
enabled: true,
displayGuidance: true,
onReadOnlySubsection: true,
column: 123,
field: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
name: '<string>',
labels: ['<string>'],
label: '<string>',
tooltip: '<string>',
helpText: '<string>',
enabledForRecordAccess: true,
currentValues: [
{
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
valueType: '<string>',
discriminator: '<string>',
textValue: '<string>',
numericValue: 123,
isDefault: true,
archived: true,
priority: 123,
userGroup: '<string>',
fieldId: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true
}
],
defaultValues: [
{
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
valueType: '<string>',
discriminator: '<string>',
textValue: '<string>',
numericValue: 123,
isDefault: true,
archived: true,
priority: 123,
userGroup: '<string>',
fieldId: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true
}
],
operators: [],
convertibleTo: ['<string>'],
copyRecordAccessField: true,
currencyForNumberDisplayingFields: '<unknown>',
valueType: '<string>',
global: true,
requiresUniqueValue: true,
parameterizedCurrentValues: [
{
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
valueType: '<string>',
discriminator: '<string>',
textValue: '<string>',
numericValue: 123,
isDefault: true,
archived: true,
priority: 123,
userGroup: '<string>',
fieldId: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true
}
],
analysisOutputField: true,
discrete: true,
currentValuesFromOtherField: '<unknown>',
formatForNumberDisplayingFields: '<unknown>',
crossWorkflowCalculation: true,
validTypeForCalculationInput: true
},
fieldId: '<string>'
})
};
fetch('https://{subdomain}.logicgate.com/api/v1/internal/form/fieldLinks', 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/fieldLinks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'numberOfColumns' => 123,
'readOnly' => true,
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'name' => '<string>',
'color' => '<string>',
'icon' => '<string>',
'guidance' => '<string>',
'priority' => 123,
'colspan' => 123,
'collapsed' => true,
'conditionsEnabled' => true,
'conditionsUseAndOperator' => true,
'step' => [
'name' => '<string>',
'description' => '<string>',
'priority' => 123,
'xpos' => 123,
'ypos' => 123,
'commentsEnabled' => true,
'documentsEnabled' => true,
'externalUserMfaRequired' => true,
'uxriEnabled' => true,
'autofillEnabled' => true,
'sla' => [
'enabled' => true,
'duration' => 123
],
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'end' => true,
'contains' => '<unknown>',
'origin' => true,
'chain' => true
],
'stepId' => '<string>',
'parentId' => '<string>',
'required' => true,
'enabled' => true,
'displayGuidance' => true,
'onReadOnlySubsection' => true,
'column' => 123,
'field' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'name' => '<string>',
'labels' => [
'<string>'
],
'label' => '<string>',
'tooltip' => '<string>',
'helpText' => '<string>',
'enabledForRecordAccess' => true,
'currentValues' => [
[
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'valueType' => '<string>',
'discriminator' => '<string>',
'textValue' => '<string>',
'numericValue' => 123,
'isDefault' => true,
'archived' => true,
'priority' => 123,
'userGroup' => '<string>',
'fieldId' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true
]
],
'defaultValues' => [
[
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'valueType' => '<string>',
'discriminator' => '<string>',
'textValue' => '<string>',
'numericValue' => 123,
'isDefault' => true,
'archived' => true,
'priority' => 123,
'userGroup' => '<string>',
'fieldId' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true
]
],
'operators' => [
],
'convertibleTo' => [
'<string>'
],
'copyRecordAccessField' => true,
'currencyForNumberDisplayingFields' => '<unknown>',
'valueType' => '<string>',
'global' => true,
'requiresUniqueValue' => true,
'parameterizedCurrentValues' => [
[
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'valueType' => '<string>',
'discriminator' => '<string>',
'textValue' => '<string>',
'numericValue' => 123,
'isDefault' => true,
'archived' => true,
'priority' => 123,
'userGroup' => '<string>',
'fieldId' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true
]
],
'analysisOutputField' => true,
'discrete' => true,
'currentValuesFromOtherField' => '<unknown>',
'formatForNumberDisplayingFields' => '<unknown>',
'crossWorkflowCalculation' => true,
'validTypeForCalculationInput' => true
],
'fieldId' => '<string>'
]),
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/fieldLinks"
payload := strings.NewReader("{\n \"numberOfColumns\": 123,\n \"readOnly\": true,\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\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 \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"stepId\": \"<string>\",\n \"parentId\": \"<string>\",\n \"required\": true,\n \"enabled\": true,\n \"displayGuidance\": true,\n \"onReadOnlySubsection\": true,\n \"column\": 123,\n \"field\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"labels\": [\n \"<string>\"\n ],\n \"label\": \"<string>\",\n \"tooltip\": \"<string>\",\n \"helpText\": \"<string>\",\n \"enabledForRecordAccess\": true,\n \"currentValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"defaultValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"operators\": [],\n \"convertibleTo\": [\n \"<string>\"\n ],\n \"copyRecordAccessField\": true,\n \"currencyForNumberDisplayingFields\": \"<unknown>\",\n \"valueType\": \"<string>\",\n \"global\": true,\n \"requiresUniqueValue\": true,\n \"parameterizedCurrentValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"analysisOutputField\": true,\n \"discrete\": true,\n \"currentValuesFromOtherField\": \"<unknown>\",\n \"formatForNumberDisplayingFields\": \"<unknown>\",\n \"crossWorkflowCalculation\": true,\n \"validTypeForCalculationInput\": true\n },\n \"fieldId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", 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.post("https://{subdomain}.logicgate.com/api/v1/internal/form/fieldLinks")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"numberOfColumns\": 123,\n \"readOnly\": true,\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\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 \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"stepId\": \"<string>\",\n \"parentId\": \"<string>\",\n \"required\": true,\n \"enabled\": true,\n \"displayGuidance\": true,\n \"onReadOnlySubsection\": true,\n \"column\": 123,\n \"field\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"labels\": [\n \"<string>\"\n ],\n \"label\": \"<string>\",\n \"tooltip\": \"<string>\",\n \"helpText\": \"<string>\",\n \"enabledForRecordAccess\": true,\n \"currentValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"defaultValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"operators\": [],\n \"convertibleTo\": [\n \"<string>\"\n ],\n \"copyRecordAccessField\": true,\n \"currencyForNumberDisplayingFields\": \"<unknown>\",\n \"valueType\": \"<string>\",\n \"global\": true,\n \"requiresUniqueValue\": true,\n \"parameterizedCurrentValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"analysisOutputField\": true,\n \"discrete\": true,\n \"currentValuesFromOtherField\": \"<unknown>\",\n \"formatForNumberDisplayingFields\": \"<unknown>\",\n \"crossWorkflowCalculation\": true,\n \"validTypeForCalculationInput\": true\n },\n \"fieldId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.logicgate.com/api/v1/internal/form/fieldLinks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"numberOfColumns\": 123,\n \"readOnly\": true,\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\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 \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"stepId\": \"<string>\",\n \"parentId\": \"<string>\",\n \"required\": true,\n \"enabled\": true,\n \"displayGuidance\": true,\n \"onReadOnlySubsection\": true,\n \"column\": 123,\n \"field\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"labels\": [\n \"<string>\"\n ],\n \"label\": \"<string>\",\n \"tooltip\": \"<string>\",\n \"helpText\": \"<string>\",\n \"enabledForRecordAccess\": true,\n \"currentValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"defaultValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"operators\": [],\n \"convertibleTo\": [\n \"<string>\"\n ],\n \"copyRecordAccessField\": true,\n \"currencyForNumberDisplayingFields\": \"<unknown>\",\n \"valueType\": \"<string>\",\n \"global\": true,\n \"requiresUniqueValue\": true,\n \"parameterizedCurrentValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"analysisOutputField\": true,\n \"discrete\": true,\n \"currentValuesFromOtherField\": \"<unknown>\",\n \"formatForNumberDisplayingFields\": \"<unknown>\",\n \"crossWorkflowCalculation\": true,\n \"validTypeForCalculationInput\": true\n },\n \"fieldId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"numberOfColumns": 123,
"readOnly": true,
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"color": "<string>",
"icon": "<string>",
"guidance": "<string>",
"priority": 123,
"colspan": 123,
"collapsed": true,
"defaultState": "HIDDEN",
"conditionsEnabled": true,
"conditionsUseAndOperator": true,
"step": {
"stepType": "ORIGIN",
"name": "<string>",
"description": "<string>",
"priority": 123,
"userGroupOperationType": "FULL_ACCESS",
"xpos": 123,
"ypos": 123,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"sla": {
"enabled": true,
"duration": 123
},
"assignableUserType": "APP_AND_EXTERNAL_USERS",
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"origin": true,
"chain": true
},
"stepId": "<string>",
"parentId": "<string>",
"required": true,
"enabled": true,
"displayGuidance": true,
"onReadOnlySubsection": true,
"column": 123,
"labelDisplayType": "VALUE",
"field": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"fieldType": "TEXT",
"name": "<string>",
"labels": [
"<string>"
],
"label": "<string>",
"tooltip": "<string>",
"helpText": "<string>",
"format": "CURRENCY",
"currency": "EUR",
"enabledForRecordAccess": true,
"currentValues": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true
}
],
"defaultValues": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true
}
],
"analysisEstimate": "CONFIDENCE",
"analysisType": "CONTACT_FREQUENCY",
"operators": [
"EQUALS"
],
"convertibleTo": [
"<string>"
],
"copyRecordAccessField": true,
"valueType": "<string>",
"global": true,
"requiresUniqueValue": true,
"analysisOutputField": true,
"discrete": true,
"crossWorkflowCalculation": true,
"validTypeForCalculationInput": true
},
"fieldId": "<string>",
"sectionType": "CONTENT_SECTION"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"properties": {}
}Field link
Create a field link
Permissions: Build Access
Add a field to a section, optionally propagating the change to sibling steps. Returns the created field link.
POST
/
api
/
v1
/
internal
/
form
/
fieldLinks
Create a field link
curl --request POST \
--url https://{subdomain}.logicgate.com/api/v1/internal/form/fieldLinks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"numberOfColumns": 123,
"readOnly": true,
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"color": "<string>",
"icon": "<string>",
"guidance": "<string>",
"priority": 123,
"colspan": 123,
"collapsed": true,
"conditionsEnabled": true,
"conditionsUseAndOperator": true,
"step": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"xpos": 123,
"ypos": 123,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"sla": {
"enabled": true,
"duration": 123
},
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"contains": "<unknown>",
"origin": true,
"chain": true
},
"stepId": "<string>",
"parentId": "<string>",
"required": true,
"enabled": true,
"displayGuidance": true,
"onReadOnlySubsection": true,
"column": 123,
"field": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"labels": [
"<string>"
],
"label": "<string>",
"tooltip": "<string>",
"helpText": "<string>",
"enabledForRecordAccess": true,
"currentValues": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true
}
],
"defaultValues": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true
}
],
"operators": [],
"convertibleTo": [
"<string>"
],
"copyRecordAccessField": true,
"currencyForNumberDisplayingFields": "<unknown>",
"valueType": "<string>",
"global": true,
"requiresUniqueValue": true,
"parameterizedCurrentValues": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true
}
],
"analysisOutputField": true,
"discrete": true,
"currentValuesFromOtherField": "<unknown>",
"formatForNumberDisplayingFields": "<unknown>",
"crossWorkflowCalculation": true,
"validTypeForCalculationInput": true
},
"fieldId": "<string>"
}
'import requests
url = "https://{subdomain}.logicgate.com/api/v1/internal/form/fieldLinks"
payload = {
"numberOfColumns": 123,
"readOnly": True,
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"color": "<string>",
"icon": "<string>",
"guidance": "<string>",
"priority": 123,
"colspan": 123,
"collapsed": True,
"conditionsEnabled": True,
"conditionsUseAndOperator": True,
"step": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"xpos": 123,
"ypos": 123,
"commentsEnabled": True,
"documentsEnabled": True,
"externalUserMfaRequired": True,
"uxriEnabled": True,
"autofillEnabled": True,
"sla": {
"enabled": True,
"duration": 123
},
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": True,
"contains": "<unknown>",
"origin": True,
"chain": True
},
"stepId": "<string>",
"parentId": "<string>",
"required": True,
"enabled": True,
"displayGuidance": True,
"onReadOnlySubsection": True,
"column": 123,
"field": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"labels": ["<string>"],
"label": "<string>",
"tooltip": "<string>",
"helpText": "<string>",
"enabledForRecordAccess": True,
"currentValues": [
{
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": True,
"archived": True,
"priority": 123,
"userGroup": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True
}
],
"defaultValues": [
{
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": True,
"archived": True,
"priority": 123,
"userGroup": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True
}
],
"operators": [],
"convertibleTo": ["<string>"],
"copyRecordAccessField": True,
"currencyForNumberDisplayingFields": "<unknown>",
"valueType": "<string>",
"global": True,
"requiresUniqueValue": True,
"parameterizedCurrentValues": [
{
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": True,
"archived": True,
"priority": 123,
"userGroup": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True
}
],
"analysisOutputField": True,
"discrete": True,
"currentValuesFromOtherField": "<unknown>",
"formatForNumberDisplayingFields": "<unknown>",
"crossWorkflowCalculation": True,
"validTypeForCalculationInput": True
},
"fieldId": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
numberOfColumns: 123,
readOnly: true,
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
name: '<string>',
color: '<string>',
icon: '<string>',
guidance: '<string>',
priority: 123,
colspan: 123,
collapsed: true,
conditionsEnabled: true,
conditionsUseAndOperator: true,
step: {
name: '<string>',
description: '<string>',
priority: 123,
xpos: 123,
ypos: 123,
commentsEnabled: true,
documentsEnabled: true,
externalUserMfaRequired: true,
uxriEnabled: true,
autofillEnabled: true,
sla: {enabled: true, duration: 123},
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
end: true,
contains: '<unknown>',
origin: true,
chain: true
},
stepId: '<string>',
parentId: '<string>',
required: true,
enabled: true,
displayGuidance: true,
onReadOnlySubsection: true,
column: 123,
field: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
name: '<string>',
labels: ['<string>'],
label: '<string>',
tooltip: '<string>',
helpText: '<string>',
enabledForRecordAccess: true,
currentValues: [
{
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
valueType: '<string>',
discriminator: '<string>',
textValue: '<string>',
numericValue: 123,
isDefault: true,
archived: true,
priority: 123,
userGroup: '<string>',
fieldId: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true
}
],
defaultValues: [
{
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
valueType: '<string>',
discriminator: '<string>',
textValue: '<string>',
numericValue: 123,
isDefault: true,
archived: true,
priority: 123,
userGroup: '<string>',
fieldId: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true
}
],
operators: [],
convertibleTo: ['<string>'],
copyRecordAccessField: true,
currencyForNumberDisplayingFields: '<unknown>',
valueType: '<string>',
global: true,
requiresUniqueValue: true,
parameterizedCurrentValues: [
{
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
valueType: '<string>',
discriminator: '<string>',
textValue: '<string>',
numericValue: 123,
isDefault: true,
archived: true,
priority: 123,
userGroup: '<string>',
fieldId: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true
}
],
analysisOutputField: true,
discrete: true,
currentValuesFromOtherField: '<unknown>',
formatForNumberDisplayingFields: '<unknown>',
crossWorkflowCalculation: true,
validTypeForCalculationInput: true
},
fieldId: '<string>'
})
};
fetch('https://{subdomain}.logicgate.com/api/v1/internal/form/fieldLinks', 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/fieldLinks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'numberOfColumns' => 123,
'readOnly' => true,
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'name' => '<string>',
'color' => '<string>',
'icon' => '<string>',
'guidance' => '<string>',
'priority' => 123,
'colspan' => 123,
'collapsed' => true,
'conditionsEnabled' => true,
'conditionsUseAndOperator' => true,
'step' => [
'name' => '<string>',
'description' => '<string>',
'priority' => 123,
'xpos' => 123,
'ypos' => 123,
'commentsEnabled' => true,
'documentsEnabled' => true,
'externalUserMfaRequired' => true,
'uxriEnabled' => true,
'autofillEnabled' => true,
'sla' => [
'enabled' => true,
'duration' => 123
],
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'end' => true,
'contains' => '<unknown>',
'origin' => true,
'chain' => true
],
'stepId' => '<string>',
'parentId' => '<string>',
'required' => true,
'enabled' => true,
'displayGuidance' => true,
'onReadOnlySubsection' => true,
'column' => 123,
'field' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'name' => '<string>',
'labels' => [
'<string>'
],
'label' => '<string>',
'tooltip' => '<string>',
'helpText' => '<string>',
'enabledForRecordAccess' => true,
'currentValues' => [
[
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'valueType' => '<string>',
'discriminator' => '<string>',
'textValue' => '<string>',
'numericValue' => 123,
'isDefault' => true,
'archived' => true,
'priority' => 123,
'userGroup' => '<string>',
'fieldId' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true
]
],
'defaultValues' => [
[
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'valueType' => '<string>',
'discriminator' => '<string>',
'textValue' => '<string>',
'numericValue' => 123,
'isDefault' => true,
'archived' => true,
'priority' => 123,
'userGroup' => '<string>',
'fieldId' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true
]
],
'operators' => [
],
'convertibleTo' => [
'<string>'
],
'copyRecordAccessField' => true,
'currencyForNumberDisplayingFields' => '<unknown>',
'valueType' => '<string>',
'global' => true,
'requiresUniqueValue' => true,
'parameterizedCurrentValues' => [
[
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'valueType' => '<string>',
'discriminator' => '<string>',
'textValue' => '<string>',
'numericValue' => 123,
'isDefault' => true,
'archived' => true,
'priority' => 123,
'userGroup' => '<string>',
'fieldId' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true
]
],
'analysisOutputField' => true,
'discrete' => true,
'currentValuesFromOtherField' => '<unknown>',
'formatForNumberDisplayingFields' => '<unknown>',
'crossWorkflowCalculation' => true,
'validTypeForCalculationInput' => true
],
'fieldId' => '<string>'
]),
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/fieldLinks"
payload := strings.NewReader("{\n \"numberOfColumns\": 123,\n \"readOnly\": true,\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\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 \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"stepId\": \"<string>\",\n \"parentId\": \"<string>\",\n \"required\": true,\n \"enabled\": true,\n \"displayGuidance\": true,\n \"onReadOnlySubsection\": true,\n \"column\": 123,\n \"field\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"labels\": [\n \"<string>\"\n ],\n \"label\": \"<string>\",\n \"tooltip\": \"<string>\",\n \"helpText\": \"<string>\",\n \"enabledForRecordAccess\": true,\n \"currentValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"defaultValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"operators\": [],\n \"convertibleTo\": [\n \"<string>\"\n ],\n \"copyRecordAccessField\": true,\n \"currencyForNumberDisplayingFields\": \"<unknown>\",\n \"valueType\": \"<string>\",\n \"global\": true,\n \"requiresUniqueValue\": true,\n \"parameterizedCurrentValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"analysisOutputField\": true,\n \"discrete\": true,\n \"currentValuesFromOtherField\": \"<unknown>\",\n \"formatForNumberDisplayingFields\": \"<unknown>\",\n \"crossWorkflowCalculation\": true,\n \"validTypeForCalculationInput\": true\n },\n \"fieldId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", 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.post("https://{subdomain}.logicgate.com/api/v1/internal/form/fieldLinks")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"numberOfColumns\": 123,\n \"readOnly\": true,\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\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 \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"stepId\": \"<string>\",\n \"parentId\": \"<string>\",\n \"required\": true,\n \"enabled\": true,\n \"displayGuidance\": true,\n \"onReadOnlySubsection\": true,\n \"column\": 123,\n \"field\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"labels\": [\n \"<string>\"\n ],\n \"label\": \"<string>\",\n \"tooltip\": \"<string>\",\n \"helpText\": \"<string>\",\n \"enabledForRecordAccess\": true,\n \"currentValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"defaultValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"operators\": [],\n \"convertibleTo\": [\n \"<string>\"\n ],\n \"copyRecordAccessField\": true,\n \"currencyForNumberDisplayingFields\": \"<unknown>\",\n \"valueType\": \"<string>\",\n \"global\": true,\n \"requiresUniqueValue\": true,\n \"parameterizedCurrentValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"analysisOutputField\": true,\n \"discrete\": true,\n \"currentValuesFromOtherField\": \"<unknown>\",\n \"formatForNumberDisplayingFields\": \"<unknown>\",\n \"crossWorkflowCalculation\": true,\n \"validTypeForCalculationInput\": true\n },\n \"fieldId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.logicgate.com/api/v1/internal/form/fieldLinks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"numberOfColumns\": 123,\n \"readOnly\": true,\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\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 \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"stepId\": \"<string>\",\n \"parentId\": \"<string>\",\n \"required\": true,\n \"enabled\": true,\n \"displayGuidance\": true,\n \"onReadOnlySubsection\": true,\n \"column\": 123,\n \"field\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"labels\": [\n \"<string>\"\n ],\n \"label\": \"<string>\",\n \"tooltip\": \"<string>\",\n \"helpText\": \"<string>\",\n \"enabledForRecordAccess\": true,\n \"currentValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"defaultValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"operators\": [],\n \"convertibleTo\": [\n \"<string>\"\n ],\n \"copyRecordAccessField\": true,\n \"currencyForNumberDisplayingFields\": \"<unknown>\",\n \"valueType\": \"<string>\",\n \"global\": true,\n \"requiresUniqueValue\": true,\n \"parameterizedCurrentValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"analysisOutputField\": true,\n \"discrete\": true,\n \"currentValuesFromOtherField\": \"<unknown>\",\n \"formatForNumberDisplayingFields\": \"<unknown>\",\n \"crossWorkflowCalculation\": true,\n \"validTypeForCalculationInput\": true\n },\n \"fieldId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"numberOfColumns": 123,
"readOnly": true,
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"color": "<string>",
"icon": "<string>",
"guidance": "<string>",
"priority": 123,
"colspan": 123,
"collapsed": true,
"defaultState": "HIDDEN",
"conditionsEnabled": true,
"conditionsUseAndOperator": true,
"step": {
"stepType": "ORIGIN",
"name": "<string>",
"description": "<string>",
"priority": 123,
"userGroupOperationType": "FULL_ACCESS",
"xpos": 123,
"ypos": 123,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"sla": {
"enabled": true,
"duration": 123
},
"assignableUserType": "APP_AND_EXTERNAL_USERS",
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"origin": true,
"chain": true
},
"stepId": "<string>",
"parentId": "<string>",
"required": true,
"enabled": true,
"displayGuidance": true,
"onReadOnlySubsection": true,
"column": 123,
"labelDisplayType": "VALUE",
"field": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"fieldType": "TEXT",
"name": "<string>",
"labels": [
"<string>"
],
"label": "<string>",
"tooltip": "<string>",
"helpText": "<string>",
"format": "CURRENCY",
"currency": "EUR",
"enabledForRecordAccess": true,
"currentValues": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true
}
],
"defaultValues": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true
}
],
"analysisEstimate": "CONFIDENCE",
"analysisType": "CONTACT_FREQUENCY",
"operators": [
"EQUALS"
],
"convertibleTo": [
"<string>"
],
"copyRecordAccessField": true,
"valueType": "<string>",
"global": true,
"requiresUniqueValue": true,
"analysisOutputField": true,
"discrete": true,
"crossWorkflowCalculation": true,
"validTypeForCalculationInput": true
},
"fieldId": "<string>",
"sectionType": "CONTENT_SECTION"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"properties": {}
}Authorizations
ApiTokenbasic
Query Parameters
Body
application/json
- Option 1
- Option 2
The field link values to update.
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
The field link values to update.
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 
