Update the fields on a table report.
curl --request PUT \
--url https://{subdomain}.logicgate.com/api/v1/internal/tableReports/{reportId}/fields \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"id": "<string>",
"header": "<string>",
"priority": 123,
"link": true,
"workflow": "<string>",
"field": "<string>",
"workflowMap": "<string>",
"workflowId": "<string>",
"toDelete": true,
"isPrimaryField": true,
"primaryField": true,
"headerOrFieldName": "<string>",
"sortProperty": "<string>",
"sortable": true,
"customField": true
}
]
'import requests
url = "https://{subdomain}.logicgate.com/api/v1/internal/tableReports/{reportId}/fields"
payload = [
{
"id": "<string>",
"header": "<string>",
"priority": 123,
"link": True,
"workflow": "<string>",
"field": "<string>",
"workflowMap": "<string>",
"workflowId": "<string>",
"toDelete": True,
"isPrimaryField": True,
"primaryField": True,
"headerOrFieldName": "<string>",
"sortProperty": "<string>",
"sortable": True,
"customField": True
}
]
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify([
{
id: '<string>',
header: '<string>',
priority: 123,
link: true,
workflow: '<string>',
field: '<string>',
workflowMap: '<string>',
workflowId: '<string>',
toDelete: true,
isPrimaryField: true,
primaryField: true,
headerOrFieldName: '<string>',
sortProperty: '<string>',
sortable: true,
customField: true
}
])
};
fetch('https://{subdomain}.logicgate.com/api/v1/internal/tableReports/{reportId}/fields', 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/tableReports/{reportId}/fields",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
[
'id' => '<string>',
'header' => '<string>',
'priority' => 123,
'link' => true,
'workflow' => '<string>',
'field' => '<string>',
'workflowMap' => '<string>',
'workflowId' => '<string>',
'toDelete' => true,
'isPrimaryField' => true,
'primaryField' => true,
'headerOrFieldName' => '<string>',
'sortProperty' => '<string>',
'sortable' => true,
'customField' => 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/tableReports/{reportId}/fields"
payload := strings.NewReader("[\n {\n \"id\": \"<string>\",\n \"header\": \"<string>\",\n \"priority\": 123,\n \"link\": true,\n \"workflow\": \"<string>\",\n \"field\": \"<string>\",\n \"workflowMap\": \"<string>\",\n \"workflowId\": \"<string>\",\n \"toDelete\": true,\n \"isPrimaryField\": true,\n \"primaryField\": true,\n \"headerOrFieldName\": \"<string>\",\n \"sortProperty\": \"<string>\",\n \"sortable\": true,\n \"customField\": true\n }\n]")
req, _ := http.NewRequest("PUT", 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.put("https://{subdomain}.logicgate.com/api/v1/internal/tableReports/{reportId}/fields")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("[\n {\n \"id\": \"<string>\",\n \"header\": \"<string>\",\n \"priority\": 123,\n \"link\": true,\n \"workflow\": \"<string>\",\n \"field\": \"<string>\",\n \"workflowMap\": \"<string>\",\n \"workflowId\": \"<string>\",\n \"toDelete\": true,\n \"isPrimaryField\": true,\n \"primaryField\": true,\n \"headerOrFieldName\": \"<string>\",\n \"sortProperty\": \"<string>\",\n \"sortable\": true,\n \"customField\": true\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.logicgate.com/api/v1/internal/tableReports/{reportId}/fields")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"id\": \"<string>\",\n \"header\": \"<string>\",\n \"priority\": 123,\n \"link\": true,\n \"workflow\": \"<string>\",\n \"field\": \"<string>\",\n \"workflowMap\": \"<string>\",\n \"workflowId\": \"<string>\",\n \"toDelete\": true,\n \"isPrimaryField\": true,\n \"primaryField\": true,\n \"headerOrFieldName\": \"<string>\",\n \"sortProperty\": \"<string>\",\n \"sortable\": true,\n \"customField\": true\n }\n]"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"header": "<string>",
"priority": 123,
"link": true,
"direction": "ASC",
"systemField": "NAME",
"labelDisplayType": "VALUE",
"workflow": "<string>",
"field": "<string>",
"workflowMap": "<string>",
"workflowId": "<string>",
"toDelete": true,
"isPrimaryField": true,
"primaryField": true,
"headerOrFieldName": "<string>",
"category": "ANALYSIS",
"sortProperty": "<string>",
"sortable": true,
"customField": true
}
]{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"properties": {}
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"properties": {}
}Table report
Update the fields on a table report
Replaces the layout fields for the given table report and returns the updated fields.
PUT
/
api
/
v1
/
internal
/
tableReports
/
{reportId}
/
fields
Update the fields on a table report.
curl --request PUT \
--url https://{subdomain}.logicgate.com/api/v1/internal/tableReports/{reportId}/fields \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"id": "<string>",
"header": "<string>",
"priority": 123,
"link": true,
"workflow": "<string>",
"field": "<string>",
"workflowMap": "<string>",
"workflowId": "<string>",
"toDelete": true,
"isPrimaryField": true,
"primaryField": true,
"headerOrFieldName": "<string>",
"sortProperty": "<string>",
"sortable": true,
"customField": true
}
]
'import requests
url = "https://{subdomain}.logicgate.com/api/v1/internal/tableReports/{reportId}/fields"
payload = [
{
"id": "<string>",
"header": "<string>",
"priority": 123,
"link": True,
"workflow": "<string>",
"field": "<string>",
"workflowMap": "<string>",
"workflowId": "<string>",
"toDelete": True,
"isPrimaryField": True,
"primaryField": True,
"headerOrFieldName": "<string>",
"sortProperty": "<string>",
"sortable": True,
"customField": True
}
]
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify([
{
id: '<string>',
header: '<string>',
priority: 123,
link: true,
workflow: '<string>',
field: '<string>',
workflowMap: '<string>',
workflowId: '<string>',
toDelete: true,
isPrimaryField: true,
primaryField: true,
headerOrFieldName: '<string>',
sortProperty: '<string>',
sortable: true,
customField: true
}
])
};
fetch('https://{subdomain}.logicgate.com/api/v1/internal/tableReports/{reportId}/fields', 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/tableReports/{reportId}/fields",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
[
'id' => '<string>',
'header' => '<string>',
'priority' => 123,
'link' => true,
'workflow' => '<string>',
'field' => '<string>',
'workflowMap' => '<string>',
'workflowId' => '<string>',
'toDelete' => true,
'isPrimaryField' => true,
'primaryField' => true,
'headerOrFieldName' => '<string>',
'sortProperty' => '<string>',
'sortable' => true,
'customField' => 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/tableReports/{reportId}/fields"
payload := strings.NewReader("[\n {\n \"id\": \"<string>\",\n \"header\": \"<string>\",\n \"priority\": 123,\n \"link\": true,\n \"workflow\": \"<string>\",\n \"field\": \"<string>\",\n \"workflowMap\": \"<string>\",\n \"workflowId\": \"<string>\",\n \"toDelete\": true,\n \"isPrimaryField\": true,\n \"primaryField\": true,\n \"headerOrFieldName\": \"<string>\",\n \"sortProperty\": \"<string>\",\n \"sortable\": true,\n \"customField\": true\n }\n]")
req, _ := http.NewRequest("PUT", 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.put("https://{subdomain}.logicgate.com/api/v1/internal/tableReports/{reportId}/fields")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("[\n {\n \"id\": \"<string>\",\n \"header\": \"<string>\",\n \"priority\": 123,\n \"link\": true,\n \"workflow\": \"<string>\",\n \"field\": \"<string>\",\n \"workflowMap\": \"<string>\",\n \"workflowId\": \"<string>\",\n \"toDelete\": true,\n \"isPrimaryField\": true,\n \"primaryField\": true,\n \"headerOrFieldName\": \"<string>\",\n \"sortProperty\": \"<string>\",\n \"sortable\": true,\n \"customField\": true\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.logicgate.com/api/v1/internal/tableReports/{reportId}/fields")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"id\": \"<string>\",\n \"header\": \"<string>\",\n \"priority\": 123,\n \"link\": true,\n \"workflow\": \"<string>\",\n \"field\": \"<string>\",\n \"workflowMap\": \"<string>\",\n \"workflowId\": \"<string>\",\n \"toDelete\": true,\n \"isPrimaryField\": true,\n \"primaryField\": true,\n \"headerOrFieldName\": \"<string>\",\n \"sortProperty\": \"<string>\",\n \"sortable\": true,\n \"customField\": true\n }\n]"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"header": "<string>",
"priority": 123,
"link": true,
"direction": "ASC",
"systemField": "NAME",
"labelDisplayType": "VALUE",
"workflow": "<string>",
"field": "<string>",
"workflowMap": "<string>",
"workflowId": "<string>",
"toDelete": true,
"isPrimaryField": true,
"primaryField": true,
"headerOrFieldName": "<string>",
"category": "ANALYSIS",
"sortProperty": "<string>",
"sortable": true,
"customField": true
}
]{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"properties": {}
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"properties": {}
}Authorizations
ApiTokenbasic
Body
application/json
Available options:
NAME, STATUS, CREATED, ENTERED_STEP_DATE, USER_DATE, EFFECTIVE_DUE_DATE, STEP_DUE_DATE, CURRENT_DATE, DUE_DATE, DAYS_UNTIL_DUE, SIMILARITY, RATIONALE, MATCH_CONFIDENCE, COMPLETED_DATE, LAST_COMPLETED_DATE, ID, SEQUENCE, ASSESSMENT_COUNT, USER_NAME, USER_ID, CREATOR_NAME, USER_GROUP, STEP_NAME, STEP_ID, ORIGIN_NAME, ORIGIN_ID, WORKFLOW_NAME, WORKFLOW_RECORD_PREFIX, WORKFLOW_ID, PRIMARY_FIELD, STATE Response
OK
Available options:
NAME, STATUS, CREATED, ENTERED_STEP_DATE, USER_DATE, EFFECTIVE_DUE_DATE, STEP_DUE_DATE, CURRENT_DATE, DUE_DATE, DAYS_UNTIL_DUE, SIMILARITY, RATIONALE, MATCH_CONFIDENCE, COMPLETED_DATE, LAST_COMPLETED_DATE, ID, SEQUENCE, ASSESSMENT_COUNT, USER_NAME, USER_ID, CREATOR_NAME, USER_GROUP, STEP_NAME, STEP_ID, ORIGIN_NAME, ORIGIN_ID, WORKFLOW_NAME, WORKFLOW_RECORD_PREFIX, WORKFLOW_ID, PRIMARY_FIELD, STATE 
