Retrieve the value options for a particular system field.
curl --request GET \
--url https://{subdomain}.logicgate.com/api/v1/currentValues/system-field/{systemField} \
--header 'Authorization: Bearer <token>'import requests
url = "https://{subdomain}.logicgate.com/api/v1/currentValues/system-field/{systemField}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{subdomain}.logicgate.com/api/v1/currentValues/system-field/{systemField}', 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/currentValues/system-field/{systemField}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{subdomain}.logicgate.com/api/v1/currentValues/system-field/{systemField}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{subdomain}.logicgate.com/api/v1/currentValues/system-field/{systemField}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.logicgate.com/api/v1/currentValues/system-field/{systemField}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"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
}
]Current value
Retrieve the value options for a particular system field
GET
/
api
/
v1
/
currentValues
/
system-field
/
{systemField}
Retrieve the value options for a particular system field.
curl --request GET \
--url https://{subdomain}.logicgate.com/api/v1/currentValues/system-field/{systemField} \
--header 'Authorization: Bearer <token>'import requests
url = "https://{subdomain}.logicgate.com/api/v1/currentValues/system-field/{systemField}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{subdomain}.logicgate.com/api/v1/currentValues/system-field/{systemField}', 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/currentValues/system-field/{systemField}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{subdomain}.logicgate.com/api/v1/currentValues/system-field/{systemField}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{subdomain}.logicgate.com/api/v1/currentValues/system-field/{systemField}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.logicgate.com/api/v1/currentValues/system-field/{systemField}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"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
}
]Authorizations
ApiTokenbasic
Path Parameters
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
200 - application/json
OK
- Option 1
- Option 2
Entity used to manage record's field data.

