Get a score config
curl --request GET \
--url https://api.example.com/api/public/score-configs/{configId}import requests
url = "https://api.example.com/api/public/score-configs/{configId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/public/score-configs/{configId}', 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://api.example.com/api/public/score-configs/{configId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.example.com/api/public/score-configs/{configId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/public/score-configs/{configId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/public/score-configs/{configId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"createdAt": {},
"updatedAt": {},
"projectId": "<string>",
"dataType": "<string>",
"isArchived": true,
"minValue": 123,
"maxValue": 123,
"categories": [
{
"value": 123,
"label": "<string>"
}
],
"description": "<string>"
}ScoreConfig
Get a score config
Endpoint toGet a score config on toolzz analytics
GET
/
api
/
public
/
score-configs
/
{configId}
Get a score config
curl --request GET \
--url https://api.example.com/api/public/score-configs/{configId}import requests
url = "https://api.example.com/api/public/score-configs/{configId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/public/score-configs/{configId}', 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://api.example.com/api/public/score-configs/{configId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.example.com/api/public/score-configs/{configId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/public/score-configs/{configId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/public/score-configs/{configId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"createdAt": {},
"updatedAt": {},
"projectId": "<string>",
"dataType": "<string>",
"isArchived": true,
"minValue": 123,
"maxValue": 123,
"categories": [
{
"value": 123,
"label": "<string>"
}
],
"description": "<string>"
}Response Description
Below you will see the description of the Get a score config responsestring
required
Unique identifier of the item.
string
required
Name of the item.
date-time
required
Timestamp indicating when the item was created.
date-time
required
Timestamp indicating when the item was last updated.
string
required
Identifier of the associated project.
string
required
Type of data (e.g., NUMERIC, BOOLEAN, CATEGORICAL).
boolean
required
Indicates whether the item is archived.
integer
required
Minimum value for the data.
integer
required
Maximum value for the data.
array
required
string
required
Description of the item.
Code Response
Exemples of Response CodeRequest Successful Response
Request Failure

